Commit | Line | Data |
---|---|---|
7623d340 TC |
1 | Imager release history. Older releases can be found in Changes.old |
2 | ||
3dcf7595 TC |
3 | - NOTE: possibly backward incompatible |
4 | support reading from/writing to perl filehandes that aren't raw | |
5 | files. | |
6 | ||
7 | This allows Imager's I/O to honour handles with layers such as | |
8 | gzip, scalar file handles or tied file handles. | |
9 | ||
10 | This is backward in-compatible in that previous Imager would simply | |
11 | use fileno() to retrieve the fd for the file and call write(2) etc | |
12 | on it directly. | |
04d8c568 TC |
13 | https://rt.cpan.org/Ticket/Display.html?id=78843 |
14 | ||
15 | - moved most of README to lib/Imager/Install.pod which should make it | |
16 | more accessible to the "web" generation, also significantly updated | |
17 | and re-worked it. | |
3dcf7595 | 18 | |
26e8a226 TC |
19 | - the JPEG test code now reports the compile-time library version |
20 | ||
41125e7d TC |
21 | - avoid a possible compiler optimization issue on CentOS 5.9 i386 by |
22 | rearranging (and mildly optimizing) some code. | |
23 | ||
06115805 TC |
24 | Imager 0.94 - 15 Dec 2012 |
25 | ========================= | |
26 | ||
27 | Variations on some of these changes were included in development | |
28 | releases. | |
29 | ||
4be61824 TC |
30 | - improved thread safety |
31 | - the internal error stack and log file handle are now in a per-thread | |
32 | context object | |
33 | - JPEG now captures IPTC information in a thread-safe way | |
34 | - avoid globals where possible for warning capture in libtiff | |
244725cf TC |
35 | - use a mutex to avoid re-entering thread-unsafe giflib |
36 | - use a mutex to avoid re-entering thread-unsafe tifflib | |
37 | - use a mutex to avoid re-entering thread-unsafe T1Lib | |
38 | - use a library handle per thread for freetype 2. | |
0124c060 | 39 | - use an engine handle per thread for freetype 1.x. |
0eebfd59 TC |
40 | - originally these changes broke ABI compatibility, this has been |
41 | restored. | |
abffffed | 42 | |
6254ad14 TC |
43 | - clarify the return value of getpixel(); |
44 | https://rt.cpan.org/Ticket/Display.html?id=81198 | |
45 | ||
46 | - fixed a race condition in parallel testing for T1 | |
47 | ||
48 | - fixed a bug in handling yoff for untransformed image-based fills | |
49 | ||
50 | - documentation improvements for Imager::Fill | |
51 | ||
5e8f194e TC |
52 | - FT2: report the library version while testing. |
53 | ||
e9daa5af TC |
54 | Imager 0.93 - 15 Oct 2012 |
55 | =========== | |
56 | ||
57 | Bug fixes: | |
71fbe41a TC |
58 | |
59 | - previously a transparency enabled GIF write (the default) would | |
60 | always use a GIF89a header even if none of the images were | |
61 | transparent. | |
7a5f7bc6 | 62 | |
b2f967ef TC |
63 | - previously the probe step for freetype-config would fail on cygwin |
64 | ||
b2f967ef TC |
65 | - catch an invalid matrix parameter to convert() instead of crashing |
66 | https://rt.cpan.org/Ticket/Display.html?id=79922 | |
67 | ||
68 | - remove the 16-bit/sample limitation from the documentation for | |
69 | setsamples(), it hasn't applied for many releases. | |
70 | https://rt.cpan.org/Ticket/Display.html?id=79989 | |
71 | ||
9673d97e TC |
72 | - don't copy setsamples() data parameter, it may be a large scalar |
73 | https://rt.cpan.org/Ticket/Display.html?id=79990 | |
74 | ||
70b577d3 TC |
75 | - clean up .dSYM directories generated performing probes on OS X |
76 | Mountain Lion. | |
77 | ||
8c323994 TC |
78 | - pass the --verbose command-line option through to Imager::Probe in |
79 | sub-module's Makefile.PLs | |
80 | https://rt.cpan.org/Ticket/Display.html?id=75878 | |
81 | ||
e9daa5af TC |
82 | Enhancements: |
83 | ||
84 | - support for giflib 5.0. (5.0.1 and later) | |
85 | https://rt.cpan.org/Ticket/Display.html?id=79029 | |
86 | The giflib API Imager uses doesn't have a mechanism to set the | |
87 | header version in 5.0.0. | |
88 | ||
89 | - update the GIF library probe code to check for the new giflib 5.0.1 | |
90 | EGifSetGifVersion() function, and to check for the giflib 4.2.0 | |
91 | uninitialized gif89 bug. | |
92 | https://rt.cpan.org/Ticket/Display.html?id=79679 | |
93 | http://sourceforge.net/tracker/?func=detail&aid=3574283&group_id=102202&atid=631304 | |
94 | ||
95 | - avoid static variables when capturing IPTC data from JPEG files | |
96 | ||
97 | - match Imager::Font;:T1's error message translations to those from | |
98 | later versions of T1Lib. | |
99 | ||
100 | - for libtiff versions that support extended warning handlers (3.8.0 | |
101 | or later), use them to avoid some global variables. | |
102 | ||
103 | - note Image::ExifTool for better metadata support. | |
104 | https://rt.cpan.org/Ticket/Display.html?id=79251 | |
105 | ||
41c938ec TC |
106 | Imager 0.92 - 14 Aug 2012 |
107 | =========== | |
108 | ||
b1c75496 TC |
109 | - giflib 4.2 eliminates the GIF_LIB_VERSION macro, handle that |
110 | correctly for both probing and runtime. | |
111 | https://rt.cpan.org/Ticket/Display.html?id=77672 | |
112 | ||
dcc10c4e TC |
113 | - allow building JPEG/imexif.c on C89 compilers. |
114 | ||
272fcca5 TC |
115 | - allow building GIF/imgif.c on C89 compilers. |
116 | ||
ec8f0ee2 TC |
117 | Imager 0.91 - 4 Jun 2012 |
118 | =========== | |
119 | ||
ef84bb32 | 120 | Bug fixes: |
38742a13 | 121 | |
289d65f4 TC |
122 | - The size of rotated images is no longer rounded up so aggressively. |
123 | Added rounding to the linear interpolation done for rotate() and | |
124 | matrix_transform() for 1 and 3 channel 8-bit images. | |
125 | Adjusted the two tranlate matrices used to build the final rotation | |
126 | matrix to use the distance between the outlier pixels rather than | |
127 | the pixel dimensions (ie. dimension-1). | |
128 | With all of this the output of rotate(degrees => 270) on an 8-bit | |
129 | image exactly matches the output of rotate(right => 270). | |
130 | https://rt.cpan.org/Ticket/Display.html?id=77063 | |
131 | ||
ef84bb32 TC |
132 | Other changes: |
133 | ||
134 | - eliminate the old IIM_new(), IIM_DESTROY() names from Imager's | |
135 | internals, those names only matter for the XS interface. | |
136 | ||
137 | - improve error reporting when PERL_INITIALIZE_IMAGER_CALLBACKS finds | |
138 | the API level compiled into a loadable module such as | |
139 | Imager::File::GIF doesn't match that of Imager. Previously it | |
140 | could be difficult to determine exactly which module was failing to | |
141 | load. | |
142 | https://rt.cpan.org/Ticket/Display.html?id=77173 | |
143 | ||
144 | - added Imager->check_file_limits() as an interface to the | |
145 | i_int_check_image_file_limits() API. | |
146 | ||
147 | - Imager->set_file_limits(reset => 1) now resets the limits to the | |
148 | defaults rather than setting them all to unlimited. | |
149 | ||
150 | - wrote a brief security note as Imager::Security | |
151 | https://rt.cpan.org/Ticket/Display.html?id=68910 | |
152 | ||
6f31dd14 | 153 | Imager 0.90 - 30 Apr 2012 |
7c4464f5 TC |
154 | =========== |
155 | ||
156 | Bug fixes: | |
157 | ||
158 | - Imager::Test::is_imaged() attempted to process an "epsilon" | |
159 | parameter but the prototype didn't allow for the extra parameter. | |
160 | Corrected the prototype. | |
161 | ||
29b38678 TC |
162 | - when downconverting samples (eg. from floating point to 8 bit) |
163 | Imager now rounds the sample value rather than attempting to | |
164 | allocate input values over output values equally. The old | |
165 | behaviour had the probably surprising effect of converting a | |
166 | floating point 2.1/255.0 into an 8-bit 3 rather than the expected | |
167 | 2. | |
168 | This may result in slightly different 8 or 16-bit output images. | |
169 | ||
e2a86bac TC |
170 | - BI_BITFIELD BMP images were handled incorrectly, both in |
171 | incorrectly calculating the space required for the masks and in | |
172 | processing the image data itself. | |
173 | https://rt.cpan.org/Ticket/Display.html?id=76736 | |
174 | ||
175 | - some odd width BMP BI_RLE4 images use run lengths that run one off | |
176 | the edge of the image. Imager now allows this, discarding the | |
177 | extra column. | |
178 | ||
179 | - odd length RLE4 runs in BMP images were decoded incorrectly. | |
180 | ||
82eb0687 TC |
181 | - pkg-config could sometimes return a library that was in a directory |
182 | EU::MM / $Config{libpth} doesn't know about, but the compiler did. | |
183 | If no -L is included in the pkg-config library information check if | |
184 | EU::MM can find the library, and if not, search our configured | |
185 | directories and insert that into the library flags. | |
186 | https://rt.cpan.org/Ticket/Display.html?id=75869 | |
187 | ||
de50f459 TC |
188 | - Imager::Probe can now probe for libraries with dependent libraries, |
189 | common for static linking, eg. libpng requires libz. | |
190 | https://rt.cpan.org/Ticket/Display.html?id=74043 | |
191 | ||
192 | - libpng 1.5 specific probes were looking for libpng 1.4 filenames. | |
193 | ||
194 | - added alternative probe configurations that try to link libz, to | |
195 | handle a statically linked libpng. | |
196 | https://rt.cpan.org/Ticket/Display.html?id=74043 | |
197 | ||
198 | - if a probe includes testcode, Imager::Probe now checks that code as | |
199 | part of the process of checking each configuration rather than as a | |
200 | post test of the found configuration. This allows alternate | |
201 | configurations to be checked if a matching but non-working | |
202 | configuration is found. | |
203 | https://rt.cpan.org/Ticket/Display.html?id=74043 | |
204 | ||
9d5ff8a6 TC |
205 | Other changes: |
206 | ||
207 | - when reading or writing images via callbacks, the default callbacks | |
208 | now push an error message indicating that a required callback was | |
209 | called but not supplied. | |
210 | https://rt.cpan.org/Ticket/Display.html?id=76782 | |
211 | ||
212 | - clarify which callbacks are required for reading and writing TIFF | |
213 | images. | |
214 | ||
215 | - improve logging for creation of callback I/O layers. | |
216 | ||
de50f459 TC |
217 | - a little more documentation for Imager::Probe. |
218 | ||
594f5933 TC |
219 | - the i_get_file_background() and i_get_file_backgroundf() APIs now |
220 | return int to indicate whether the i_background tag was found. | |
221 | ||
1b46057d TC |
222 | - PNG rework |
223 | - improve error reporting | |
224 | - add png_interlace, png_bits tags | |
225 | - read paletted images as paletted images, including transparency | |
226 | - read 1 bit greyscale images as a type suitable for other file | |
227 | handlers to write as bilevel | |
228 | - read 16 bit/sample PNG as 16-bit/sample Imager images | |
229 | - write "bilevel" paletted images as 1 bit grayscale images | |
230 | - write paletted images as paletted images | |
231 | - write 16-bit (or higher)/sample images as 16-bit/sample PNG | |
232 | images | |
233 | - improved metadata support | |
234 | https://rt.cpan.org/Ticket/Display.html?id=29268 | |
235 | ||
2c1ffb77 TC |
236 | Imager 0.89 - 18 Mar 2012 |
237 | =========== | |
238 | ||
239 | Bug fixes: | |
240 | ||
93eab01e TC |
241 | - getpixel(..., type => "float") and the API i_gpixf() have been |
242 | broken on paletted images since they were implemented. | |
243 | https://rt.cpan.org/Ticket/Display.html?id=75258 | |
244 | ||
2c1ffb77 TC |
245 | Other changes: |
246 | ||
61be9694 TC |
247 | - links in the METHOD INDEX now point at the method documentation |
248 | rather than the heading you can find them under. | |
249 | https://rt.cpan.org/Ticket/Display.html?id=71495 | |
250 | ||
a5919365 TC |
251 | - Imager (and the bundled dynamic modules) no longer fallback to |
252 | using DynaLoader if loading via XSLoader fails. | |
253 | For the bundled modules this could hide useful error messages. | |
254 | https://rt.cpan.org/Ticket/Display.html?id=75560 | |
255 | ||
335078fc TC |
256 | - IM_DEBUG_MALLOC mymalloc() no longer sn?printfs() a string to a |
257 | buffer in the array of allocations, but just stores the filename | |
258 | pointer and line number. | |
259 | https://rt.cpan.org/Ticket/Display.html?id=70388 | |
260 | ||
3f53dd75 TC |
261 | Imager 0.88 - 22 Feb 2012 |
262 | =========== | |
263 | ||
43bef43b TC |
264 | - describe how to build libgif etc on OS X in such a way as to be |
265 | compatible with a fat binary perl (such as the system perl), in | |
266 | README. | |
267 | https://rt.cpan.org/Ticket/Display.html?id=73371 | |
268 | ||
69675eef TC |
269 | - update the change notes for 0.77_01 to indicate that libungif |
270 | support was removed. | |
271 | ||
d4056453 TC |
272 | - add some other imaging modules to SEE ALSO |
273 | https://rt.cpan.org/Ticket/Display.html?id=73906 | |
274 | ||
3b7f10da TC |
275 | - note that the generator of the apparently non-DFSG-free postscript |
276 | in MMOne.pfb is a Debian package. | |
277 | ||
02323e69 TC |
278 | - setsamples() is now a true complement to getsamples() - it can |
279 | write 8-bit or floating point samples from a scalar or array | |
280 | reference. This adds i_psamp() and i_psampf() to the C level API. | |
281 | ||
282 | - the XS interfaces to i_gsamp(), i_gsampf() and i_gsamp_bits() have | |
283 | changed to make better use of the typemap, but these aren't part of | |
284 | the perl level API anyway. There were no changes to the C level | |
285 | interfaces to these functions. | |
286 | ||
2a27eeff TC |
287 | - getpixel() and setpixel() now accept a mix of scalar and array |
288 | references for the x and y parameters, and unequal array lengths is | |
289 | no longer an error. | |
290 | https://rt.cpan.org/Ticket/Display.html?id=73697 | |
291 | ||
ef74691a TC |
292 | Bug fixes: |
293 | ||
294 | - correctly calculate the size of a rotated image | |
295 | https://rt.cpan.org/Ticket/Display.html?id=69261 | |
296 | ||
297 | - fix incorrect rounding of color values for matrix_transform() and | |
298 | rotate(). | |
299 | https://rt.cpan.org/Ticket/Display.html?id=69261 | |
300 | ||
5091168a TC |
301 | - Win32 text output is now done in normal combine mode, the alpha |
302 | component of the color is now significant. | |
303 | https://rt.cpan.org/Ticket/Display.html?id=70014 | |
304 | ||
fa0b1452 TC |
305 | - remove long unused gif case from read() |
306 | https://rt.cpan.org/Ticket/Display.html?id=69244 (partial) | |
307 | ||
7640e3bb TC |
308 | - the getsamples() target parameter was being treated as a hashref |
309 | when it's meant to be an array reference. | |
310 | https://rt.cpan.org/Ticket/Display.html?id=74882 | |
311 | ||
2a27eeff TC |
312 | - getpixel() and setpixel() now returns an empty list when invalid |
313 | parameters are supplied. | |
314 | Invalid values for type now result in an error for getpixel(). | |
315 | https://rt.cpan.org/Ticket/Display.html?id=73697 | |
316 | ||
fcc81fa4 | 317 | Imager 0.87 - 03 Jan 2012 |
f0f6c630 TC |
318 | =========== |
319 | ||
c18dd26e TC |
320 | - document the return value of the filter() method. |
321 | https://rt.cpan.org/Ticket/Display.html?id=72369 | |
322 | ||
48095bd4 TC |
323 | - document i_gsamp_bits() and i_psamp_bits(). |
324 | https://rt.cpan.org/Ticket/Display.html?id=68815 | |
325 | ||
f5b90025 TC |
326 | - properly increment the Imager::Matrix2d $VERSION. |
327 | ||
35f2f9fb TC |
328 | - actually include the Imager::Test tests in the dist |
329 | ||
2fe1e4bc TC |
330 | - correctly read and write 256x256 pixel ICO files |
331 | https://rt.cpan.org/Ticket/Display.html?id=69599 | |
332 | ||
4f21e06e TC |
333 | - make the error message from read() or read_multi() when they can't |
334 | identify the file type match reality. | |
335 | https://rt.cpan.org/Ticket/Display.html?id=72475 | |
336 | ||
337 | - read() now uses $FORMATGUESS if it can't determine the file type | |
338 | based on the file header, to match read_multi(). | |
339 | ||
340 | - re-work and add tests for def_guess_type(). def_guess_type() no | |
341 | longer returns any random file extension as the file type. | |
342 | ||
5e9a7fbd TC |
343 | - add gray4, gray16 and gray as presets for make_colors. |
344 | https://rt.cpan.org/Ticket/Display.html?id=67911 | |
345 | ||
346 | - add make_palette() method that produces a palette from one or more | |
347 | images. | |
348 | ||
32d74dbe TC |
349 | - fix the Imager dependency for the separately distributed font |
350 | drivers. | |
351 | https://rt.cpan.org/Ticket/Display.html?id=72643 | |
352 | ||
a044f2c6 TC |
353 | - fix i_render_color() to properly draw in "normal" mode - ie. when |
354 | writing to a 1 or 3 channel image the second or fourth channel of | |
355 | the source color was being ignored, it is now significant. | |
356 | https://rt.cpan.org/Ticket/Display.html?id=71564 | |
357 | ||
4b2e59d3 TC |
358 | Imager 0.86 - 31 Oct 2011 |
359 | =========== | |
360 | ||
b8b889ba TC |
361 | - improve error reporting for W32 tests |
362 | ||
6f7a49a2 TC |
363 | Imager 0.85_02 - 24 Oct 2011 |
364 | ============== | |
a10ce62e TC |
365 | |
366 | Bug fixes: | |
367 | ||
368 | - eliminate unused i_gif_opts type (clean-up) | |
369 | https://rt.cpan.org/Ticket/Display.html?id=69245 | |
370 | ||
98e1552d TC |
371 | - fix combine=0 fill color anti-aliasing on the double/sample path |
372 | https://rt.cpan.org/Ticket/Display.html?id=71309 | |
373 | ||
374 | - make default text color non-transparent | |
375 | https://rt.cpan.org/Ticket/Display.html?id=71469 | |
376 | ||
372ba12c TC |
377 | - apply the last of the Debian unforwarded spelling fixes |
378 | https://rt.cpan.org/Ticket/Display.html?id=70656 | |
379 | ||
b7506a07 TC |
380 | - the log() method used its message parameter as a C level format |
381 | string. | |
382 | https://rt.cpan.org/Ticket/Display.html?id=71653 | |
383 | ||
cb4d223c TC |
384 | - provide our own STRLEN typemap entry for older perls. |
385 | https://rt.cpan.org/Ticket/Display.html?id=71641 | |
386 | ||
f35d1231 TC |
387 | - add extra ppport.h configuration to support older perls. |
388 | ||
954ac5d1 TC |
389 | - depend on Scalar::Util, since we use it and older perls don't have |
390 | it. | |
391 | ||
5efba0c6 TC |
392 | - add overloaded eq to Imager::Matrix2d, since older perls don't seem |
393 | to synthesize it from overloaded "". | |
394 | ||
73e3ff55 TC |
395 | - use T1_StrError() for error messages on modern libt1 |
396 | https://rt.cpan.org/Ticket/Display.html?id=69879 | |
397 | ||
398 | - actually load the font rather than just adding it to the catalog on | |
399 | creation. | |
400 | ||
401 | - Imager::Font->new now produces better error messages for the T1 | |
402 | engine. | |
403 | ||
6e938c74 TC |
404 | - the font has_chars() method now returns perl's true and false |
405 | values in list context rather than integers, which should be more | |
406 | efficient. | |
407 | https://rt.cpan.org/Ticket/Display.html?id=69158 | |
408 | ||
b934971a TC |
409 | - the btm data structure used by the flood_fill code is now |
410 | initialized more efficiently. | |
411 | https://rt.cpan.org/Ticket/Display.html?id=68994 | |
412 | ||
872def8b TC |
413 | - updated the Thanks list in README |
414 | https://rt.cpan.org/Ticket/Display.html?id=71607 | |
415 | ||
1e0418f1 TC |
416 | - check there's at least one coefficient for the convolution filter |
417 | https://rt.cpan.org/Ticket/Display.html?id=68993 | |
418 | ||
81409c5e TC |
419 | - make the APIRef synopsis ordering consistent, older versions of |
420 | perl could order it differently. | |
421 | https://rt.cpan.org/Ticket/Display.html?id=71675 | |
422 | ||
336ce474 TC |
423 | - we rely on Config.pm's d_vsnprintf as to whether we use |
424 | vsnprintf/snprintf, which is defined in the Win32 Config.pm even | |
425 | though it only has _ prefixed versions of these. Define our own | |
426 | prefixed names on Win32. | |
427 | https://rt.cpan.org/Ticket/Display.html?id=71642 | |
428 | ||
ae394c13 TC |
429 | - fix library detection with MSVC |
430 | ||
84e2cc94 TC |
431 | - search a few more library directories, so EU::MM doesn't discard |
432 | them. Hopefully fixes: | |
433 | https://rt.cpan.org/Ticket/Display.html?id=71643 | |
434 | ||
31be6e9a | 435 | Imager 0.85_01 - 10 Oct 2011 |
6d5c85a2 | 436 | ============== |
a7e32beb TC |
437 | |
438 | - add simple tests for the Imager::Test test_image generators | |
439 | ||
6d5c85a2 TC |
440 | - io_glue I/O buffering re-work: |
441 | ||
442 | - reorganize io_glue to do it's own buffering by default | |
443 | ||
444 | - the unbuffered functions are available as i_io_raw_read() (or | |
445 | raw_read() from perl) etc but are not recommended for typical | |
446 | use. | |
447 | ||
448 | - use the new i_io_peekn() when checking for file magic to avoid | |
449 | seek, allowing Imager to detect the file type and read the file | |
450 | from an unseekable stream (for formats that don't use random | |
451 | access) | |
452 | ||
453 | - added several new I/O layer API functions. | |
454 | ||
455 | - fix the TGA performance problem, most noticably on Win32 | |
456 | https://rt.cpan.org/Ticket/Display.html?id=70037 | |
457 | ||
458 | - TIFF now uses wrapper functions of the correct types to avoid casts | |
459 | https://rt.cpan.org/Ticket/Display.html?id=69912 | |
460 | ||
461 | - the callback IO object did its own buffering, controlled by the | |
462 | maxbuffer parameter supplied to the read() and write() methods. | |
463 | This buffering has been removed, to avoid redundancy with the | |
464 | common io_glue buffering. This also avoids a bug in that code | |
465 | which could rarely pass a zero length to the read callback and | |
466 | then panic about the result. | |
467 | ||
468 | - the callback IO object now tests the result of calling the close | |
469 | callback, which should return true for success. | |
470 | ||
471 | - the PNM reader did its own buffering. This buffering has been | |
472 | removed to avoid redundancy with the common io_glue buffering. | |
473 | ||
474 | - previously the read handlers for fd and callback I/O layers would | |
475 | call the underlying interface (POSIX read or your supplied callback) | |
476 | until it filled the buffer. It now only makes one call. | |
477 | ||
478 | - added public constructors for I/O layer objects (see Imager::IO) | |
479 | ||
480 | - all core file handlers now use the i_io_foo() wrappers to gain | |
481 | access to buffered I/O rather than calling the I/O layer | |
482 | callbacks directly. | |
483 | ||
484 | - all core file handlers now check for error on close. | |
485 | ||
486 | - Backward compatibility: if you hava custom file handlers, you can | |
487 | use i_io_write() etc since they're available as macros in older | |
488 | versions of Imager. | |
489 | ||
490 | - eliminate the final remnants of io_glue_commit_types(). | |
491 | ||
492 | - bump IMAGER_API_VERSION, since the above may break assumptions. | |
493 | ||
494 | - removed the long unused i_gen_reader() and i_gen_writer() utility | |
495 | functions. | |
496 | ||
0c647c9a | 497 | Imager 0.85 - 29 Aug 2011 |
6ad7e4bc TC |
498 | =========== |
499 | ||
0c647c9a TC |
500 | The main changes in the release versus 0.84 are: |
501 | ||
502 | - on 64-bit systems, 64-bit types are consistently used for image | |
503 | dimensions and co-ordinated, and for memory block sizes. | |
504 | ||
505 | - handle IFD loops in TIFF files correctly. Previously this would | |
506 | lead to an infinite loop. | |
507 | ||
6ad7e4bc TC |
508 | Bug fixes: |
509 | ||
510 | - fix the link in the getheight() entry in the method index | |
511 | ||
7ef6338c TC |
512 | Imager 0.84_02 - 22 Aug 2011 |
513 | ============== | |
514 | ||
515 | Development release, this will become 0.85 if CPAN testers is | |
516 | favourable. | |
6b7197d0 TC |
517 | |
518 | Bug fixes: | |
519 | ||
520 | - the image file limits set by set_file_limits() weren't being | |
521 | checked when reading TIFF files. | |
522 | https://rt.cpan.org/Ticket/Display.html?id=69915 | |
523 | ||
5970bd39 TC |
524 | - Provide more information about file format module load errors on a |
525 | failed image file read() or write(). | |
526 | https://rt.cpan.org/Ticket/Display.html?id=69194 | |
527 | ||
4ce3551c TC |
528 | - use TIFFReadDirectory() instead of TIFFSetDirectory() to iterate |
529 | through TIFF images, since it checks for IFD loops. | |
530 | https://rt.cpan.org/Ticket/Display.html?id=69914 | |
531 | ||
a16bca6d TC |
532 | - don't leak memory when out of range palette indexes are supplied to |
533 | setscanline(). | |
534 | https://rt.cpan.org/Ticket/Display.html?id=69242 | |
535 | ||
536 | - require a later version of CPAN::Meta to ensure JSON::PP and | |
537 | CPAN::Meta::YAML are available. | |
538 | https://rt.cpan.org/Ticket/Display.html?id=69008 | |
539 | ||
ac575c5f TC |
540 | - hoist the per-line calculations for the flines implementations, and |
541 | modernize the tests a bit. | |
542 | https://rt.cpan.org/Ticket/Display.html?id=70126 | |
543 | ||
86c8d19a TC |
544 | - detect snprintf()/vsnprintf() (cheat by using Config.pm) and use |
545 | them when available. | |
546 | https://rt.cpan.org/Ticket/Display.html?id=69147 | |
547 | ||
a3fd7df7 TC |
548 | - if t1lib failed to reinitialize it would be left as marked |
549 | initialized. | |
550 | https://rt.cpan.org/Ticket/Display.html?id=69877 | |
551 | ||
5fd542c7 TC |
552 | - update the bundled (and still modified) Devel::CheckLib |
553 | https://rt.cpan.org/Ticket/Display.html?id=69170 | |
554 | ||
fa61d195 TC |
555 | Imager 0.84_01 - 8 Aug 2011 |
556 | ============== | |
557 | ||
558 | Development release as a sanity check for the types re-work. | |
8d14daab TC |
559 | |
560 | Massive types re-work: | |
561 | ||
562 | - the type used internally for pixel co-ordinates and image sizes is | |
563 | now 64-bit on 64-bit platforms (at least sane ones). | |
564 | ||
565 | - size_t is now used consistently for memory block sizes. | |
566 | ||
567 | - since this changes the binary interface, the Imager API version has | |
568 | been incremented. Any module that uses the API will need to be | |
569 | rebuilt. In most cases that will be enough, but calls to any APIs | |
570 | that take a pointer to image sizes may need source changes. | |
571 | ||
572 | - you should be able to create very large images on 64-bit systems, | |
573 | if you have enough memory. Successfully created a 32768 x 49192 x | |
574 | 3 channel image, filled with a tiled image and scaled it. The | |
575 | unscaled image was also successfully saved to a JPEG. | |
576 | ||
577 | - check the image size before attempting to write BMP, GIF, JPEG, | |
578 | PNG, SGI, TGA, TIFF images. | |
579 | ||
580 | - correctly handle reading TGA images over 32767 pixels wide or tall. | |
581 | ||
582 | Incidental changes: | |
583 | ||
584 | - the gif_left and gif_top tags are now clamped to non-negative | |
585 | values when writing a GIF image. | |
586 | ||
587 | - removed dead callback read/write code | |
588 | ||
589 | The default maximum memory size when reading files is now 1G. | |
590 | ||
bd80e51e | 591 | Imager 0.84 - 20 Jun 2011 |
b1e66a82 TC |
592 | =========== |
593 | ||
594 | - Imager no longer inherits from Exporter (unless you're running an | |
595 | old, old perl. | |
596 | ||
92e9df65 TC |
597 | - Imager can now write progressive JPEGs (it could always read them). |
598 | https://rt.cpan.org/Ticket/Display.html?id=68691 | |
599 | ||
10ea52a3 TC |
600 | Bug fixes: |
601 | ||
602 | - re-work, document and test Imager's logging facility. | |
603 | https://rt.cpan.org/Ticket/Display.html?id=65227 | |
604 | ||
4989229f TC |
605 | - fix META.yml testing and the generated META.yml |
606 | https://rt.cpan.org/Ticket/Display.html?id=65235 | |
607 | ||
3bcba6df TC |
608 | - test and add error reporting to to_*() family methods |
609 | ||
bfe6ba3f TC |
610 | - add to_rgb_double() method. |
611 | https://rt.cpan.org/Ticket/Display.html?id=65101 | |
612 | ||
e1a42e19 TC |
613 | - Imager no longer exports anything by default |
614 | https://rt.cpan.org/Ticket/Display.html?id=65228 | |
615 | ||
6d068d36 TC |
616 | - convert colors to grayscale if the supplied (or generated) palette |
617 | contains only grays when performing error diffusion color | |
618 | translation. | |
619 | https://rt.cpan.org/Ticket/Display.html?id=68508 | |
620 | ||
59c150a4 TC |
621 | - writing a paletted image to GIF wouldn't always use the colors |
622 | supplied (or generated, eg. via make_colors => "mono"), which was | |
623 | confusing at best. | |
624 | https://rt.cpan.org/Ticket/Display.html?id=67912 | |
625 | ||
5b480b14 TC |
626 | - replace (imager|tony)@imager.perl.org in the doc, since I don't |
627 | plan to continue receiving mail at that address. | |
628 | https://rt.cpan.org/Ticket/Display.html?id=68591 | |
629 | ||
101861e2 | 630 | Imager 0.83 - 21 May 2011 |
46c21d48 TC |
631 | =========== |
632 | ||
633 | Bug fixes: | |
634 | ||
635 | - diag() the error message on failure for some TIFF tests that are | |
636 | failing on a Solaris smoker. | |
637 | http://www.cpantesters.org/cpan/report/6396db1e-8090-11e0-9682-112b785ebe45 | |
638 | ||
cd758af2 TC |
639 | Imager 0.82_01 - 17 May 2011 |
640 | ============== | |
641 | ||
642 | Dev release, in case the compose tests are too sensitive. | |
deb1a916 TC |
643 | |
644 | Bug fixes: | |
645 | ||
646 | - Imager::Font::T1 incorrectly checked for absolute filename under | |
647 | Win32. Thanks to kmx for the report and fix. | |
648 | https://rt.cpan.org/Ticket/Display.html?id=67963 | |
649 | ||
618a3282 TC |
650 | - compose() with the target, source or mask position off the top or |
651 | left of the target image didn't clip the source image correctly. | |
652 | https://rt.cpan.org/Ticket/Display.html?id=67220 | |
653 | ||
654 | - compose() now returns a useful error message on a non-positive | |
655 | opacity. | |
656 | ||
657 | - compose.im now at 100% test coverage. (As opposed to, umm, much, | |
658 | much less.) | |
659 | ||
c1d16c8f | 660 | Imager 0.82 - 14 Mar 2011 |
2368cfec TC |
661 | =========== |
662 | ||
663 | Bug fixes: | |
664 | ||
665 | - eliminate calls to i_has_format() from the test suite, since it's | |
666 | no longer a useful way to check for file format support. Eliminate | |
667 | i_has_format() from the functions exposed via XS. | |
668 | https://rt.cpan.org/Ticket/Display.html?id=65863 | |
669 | ||
7540f84a TC |
670 | - eliminate calls to note(), which isn't in the (very old) version of |
671 | Test::More we have as a pre-requisite. note() is modern enough | |
672 | that I don't feel a need to require a Test::More upgrade for it. | |
673 | https://rt.cpan.org/Ticket/Display.html?id=65864 | |
674 | ||
81984f30 TC |
675 | - skip the threads tests on Test::More 2.00_* |
676 | https://rt.cpan.org/Ticket/Display.html?id=65812 | |
677 | ||
57fc3f48 TC |
678 | - add an (unshipped) test to check Imager's internal POD links |
679 | https://rt.cpan.org/Ticket/Display.html?id=65749 | |
680 | ||
d97c8dbd TC |
681 | - improve the library detection summary |
682 | https://rt.cpan.org/Ticket/Display.html?id=9675 | |
683 | ||
c901f27d TC |
684 | - increase the version of Imager::Font::Type1 so that upgrades don't |
685 | downgrade the version in this file. | |
686 | https://rt.cpan.org/Ticket/Display.html?id=66250 | |
687 | ||
688 | - if we see an -rpath (or -R) option in $Config{lddlflags} supply | |
689 | that option for the directories that would normally go in | |
690 | LD_RUN_PATH. Typically an explicit -rpath overrides LD_RUN_PATH. | |
691 | https://rt.cpan.org/Ticket/Display.html?id=65955 | |
692 | ||
533bab3e | 693 | Imager 0.81 - 14 Feb 2011 |
416e9814 TC |
694 | =========== |
695 | ||
696 | - added coverage tests for masked images (maskimg.c @100% test coverage) | |
697 | ||
9ea78101 TC |
698 | - add hsv() method to Imager::Color |
699 | Thanks to Leolo (Philip Gwyn) | |
700 | https://rt.cpan.org/Ticket/Display.html?id=65385 | |
701 | ||
1f289f50 TC |
702 | - split libt1 Type 1 font support into a sub-module |
703 | https://rt.cpan.org/Ticket/Display.html?id=49616 (partial) | |
704 | ||
2c331f9f TC |
705 | - add a preload() class method for use in forking servers, and to |
706 | work around limitations in PAR. | |
707 | https://rt.cpan.org/Ticket/Display.html?id=65665 | |
708 | ||
416e9814 TC |
709 | Bug fixes: |
710 | ||
711 | - paletted writes to a masked image are now masked correctly. | |
712 | Revealed by new coverage tests. | |
713 | ||
130225b1 TC |
714 | - update the filter plugin documentation. |
715 | https://rt.cpan.org/Ticket/Display.html?id=56513 | |
716 | ||
4326b23a | 717 | - add the matrix() method to Imager::Matrix2d to allow creation of a |
a34dc54c TC |
718 | matrix with specified co-efficients. You can now multiple an |
719 | Imager::Matrix2d object by a 9 element array ref or a number. | |
4326b23a TC |
720 | https://rt.cpan.org/Ticket/Display.html?id=29938 |
721 | ||
9ea78101 TC |
722 | - really fix loading TTF fonts with FT2 when FT1 isn't available. |
723 | Thanks to Leolo (Philip Gwyn) | |
724 | https://rt.cpan.org/Ticket/Display.html?id=65386 | |
725 | https://rt.cpan.org/Ticket/Display.html?id=62855 | |
726 | ||
40e78f96 TC |
727 | - make sure each test script that needs testout/ creates it. |
728 | https://rt.cpan.org/Ticket/Display.html?id=65088 | |
729 | ||
afee75f6 TC |
730 | - handle a slightly different warning from libtiff 4.x |
731 | https://rt.cpan.org/Ticket/Display.html?id=65268 | |
732 | ||
52b0d318 TC |
733 | - the sat transform2() op returned an incorrect saturation. |
734 | https://rt.cpan.org/Ticket/Display.html?id=65391 | |
735 | ||
d33f20c1 | 736 | Imager 0.80 - 17 Jan 2011 |
95c08d71 TC |
737 | =========== |
738 | ||
9a5df694 TC |
739 | - added coverage tests for Imager::Fountain and Imager::Color::Float |
740 | ||
741 | - Imager is now maintained in git | |
742 | http://git.imager.perl.org/imager.git | |
743 | git://git.imager.perl.org/imager.git | |
744 | ||
95c08d71 TC |
745 | Bug fixes: |
746 | ||
747 | - images with an translucent alpha channel were not scaled correctly | |
748 | by the default (qtype=normal) scaling method. | |
749 | https://rt.cpan.org/Public/Bug/Display.html?id=63922 | |
750 | ||
34c03f04 TC |
751 | - Imager::Color::Float now translates "#FFFFFF" to white instead of |
752 | just a little darker. | |
753 | ||
9a5df694 TC |
754 | - make the default color map build algorithm "mediancut". This |
755 | changes the default color map builder for writing GIFs back to what | |
756 | it was in 0.77, reverting a performance regression. | |
0348fe07 TC |
757 | https://rt.cpan.org/Ticket/Display.html?id=64785 |
758 | ||
416e9814 TC |
759 | - handle failure to create a masked image correctly |
760 | ||
95c08d71 | 761 | Imager 0.79 - 10 Dec 2010 |
62869327 TC |
762 | =========== |
763 | ||
764 | - add Imager::Test to the POD coverage tests and document the missing | |
765 | functions. | |
766 | ||
2a2c791f TC |
767 | - the convert() method now optimizes the case where all output |
768 | channels are either 0, sourced from a single input channel or 1. | |
769 | This significantly speeds up presets like "addalpha", "green". | |
770 | https://rt.cpan.org/Ticket/Display.html?id=51254 | |
771 | ||
b5c0ab7f TC |
772 | - add wiggle.pl sample, as suggested by Dan Oppenheim. |
773 | ||
b47464c1 TC |
774 | - add the combine() method to combine channels from multiple source |
775 | images into a new image | |
776 | https://rt.cpan.org/Ticket/Display.html?id=11872 | |
777 | ||
62869327 TC |
778 | Bug fixes: |
779 | ||
780 | - treat the co-efficients for convert() as doubles instead of floats. | |
781 | ||
d67dd866 TC |
782 | - If a higher (earlier) priority font handler failed to load, that |
783 | would crash preventing loading of later font handlers. | |
9413a3f3 TC |
784 | https://rt.cpan.org/Ticket/Display.html?id=62855 |
785 | ||
a9120a5e TC |
786 | - parse defines from the options returned by pkg-config --cflags |
787 | https://rt.cpan.org/Ticket/Display.html?id=63223 | |
02f040a6 TC |
788 | |
789 | - a regen of the MANIFEST revealed that GIF and FT2 tests weren't | |
790 | included in the tarball. They are now included. | |
a9120a5e | 791 | |
893474f1 | 792 | Imager 0.78 - 4 Oct 2010 |
f5b4354e TC |
793 | =========== |
794 | ||
795 | Bug fixes: | |
796 | ||
797 | - don't access deprecated members of the png_structp. | |
798 | https://rt.cpan.org/Ticket/Display.html?id=60242 | |
799 | ||
8289f78b TC |
800 | - document that using color objects is faster than supplying colors |
801 | by name, etc. | |
802 | https://rt.cpan.org/Ticket/Display.html?id=61047 | |
803 | ||
0c3c1180 TC |
804 | - Imager::Probe now accepts array references for incpath and libpath. |
805 | https://rt.cpan.org/Ticket/Display.html?id=60244 | |
806 | ||
b6035795 | 807 | Imager 0.77_02 - 27 Sep 2010 |
aca4e30a TC |
808 | ============== |
809 | ||
95b9922f | 810 | - moved Win32, FreeType 2 font support into sub-modules. |
aca4e30a TC |
811 | https://rt.cpan.org/Ticket/Display.html?id=49616 (partial) |
812 | Uses Imager::Probe now. | |
813 | https://rt.cpan.org/Public/Bug/Display.html?id=61328 | |
814 | ||
c6683e4d TC |
815 | - tested successfully with jpeg-8b |
816 | https://rt.cpan.org/Ticket/Display.html?id=60221 | |
817 | ||
e85532b9 TC |
818 | Bug fixes: |
819 | ||
820 | - from _01: look for missing file support test files in the right | |
821 | places. | |
822 | ||
353eb6e7 TC |
823 | - flood_fill() wouldn't fill the right side of a single scan-line |
824 | fill area. | |
825 | Thanks to Nicolas Roggli for reporting this. | |
826 | ||
95b9922f TC |
827 | - flood_fill wouldn't fill to the left edge of the image if the |
828 | starting line didn't reach the left edge. | |
829 | Thanks to Nicolas Roggli for reporting this. | |
830 | ||
beb9ba23 TC |
831 | Imager 0.77_01 - 13 Sep 2010 |
832 | ============== | |
82f14556 TC |
833 | |
834 | - add each library-directory/pkgconfig/ to the pkg-config search path | |
835 | in Imager::Probe. | |
836 | Thanks to Justin Davis. | |
837 | https://rt.cpan.org/Ticket/Display.html?id=60491 | |
838 | ||
8ab27e7e TC |
839 | - moved GIF, TIFF, JPEG file handling code into sub-modules in |
840 | preparation for separate distribution. | |
ec6d8908 TC |
841 | https://rt.cpan.org/Ticket/Display.html?id=49616 (partial) |
842 | ||
69675eef TC |
843 | Note: this removed support for libungif from Imager. |
844 | ||
173c91ba TC |
845 | - optimize filled box drawing (color, not fill) |
846 | ||
82f14556 TC |
847 | Bug fixes: |
848 | ||
849 | - Imager::Probe was calling ExtUtils::Liblist to initialize | |
850 | LD_RUN_PATH supplying an undefined value rather than the found | |
851 | directory. Thanks to Justin Davis. | |
852 | https://rt.cpan.org/Ticket/Display.html?id=60491 | |
853 | ||
b851aeeb TC |
854 | - only prepend ./ to font filenames when passing them to T1Lib and |
855 | then only when it would use its search mechanisms. | |
856 | https://rt.cpan.org/Ticket/Display.html?id=60509 | |
857 | ||
173c91ba | 858 | - fix the cache check for the X rgb.txt loader. This is typically |
cb4f51d6 TC |
859 | used for color translation on Unix-like systems, and the fix |
860 | improves performance of supplying colors by name by about 80 times. | |
861 | Test code that managed 3400 10x10 pixel boxes/second sped up to | |
862 | 25700 boxes/second. | |
b851aeeb | 863 | |
d3a96113 TC |
864 | - clarify that Imager doesn't write EXIF metadata to images. |
865 | https://rt.cpan.org/Ticket/Display.html?id=60637 | |
866 | ||
867 | - Imager::Probe can now search subdirectories under its include path. | |
868 | Used by the PNG Makefile.PL to find headers and libraries when they | |
869 | aren't in the base directory, as in cygwin. | |
870 | https://rt.cpan.org/Ticket/Display.html?id=60635 | |
871 | ||
43452432 TC |
872 | Imager 0.77 - 11 Aug 2010 |
873 | =========== | |
874 | ||
875 | I don't want Imager::File::PNG indexed as part of Imager, but forgot | |
876 | to update the META.yml before updating the version. | |
877 | ||
878 | - don't index Imager::File::PNG as part of Imager | |
879 | ||
880 | - add resources to META.yml | |
881 | ||
882 | Imager 0.76 - not released | |
120f4287 TC |
883 | =========== |
884 | ||
885 | Bug fixes: | |
886 | ||
887 | - the align_string() method would ignore a string of "0" due to a | |
888 | mis-use of C< ||= >. | |
889 | Thanks to Maurice Height for reporting this. | |
890 | https://rt.cpan.org/Ticket/Display.html?id=60199 | |
891 | ||
0e66b07f TC |
892 | Imager 0.75_03 - 09 Aug 2010 |
893 | ============== | |
894 | ||
895 | Bug fixes: | |
896 | ||
897 | - read_types() and write_types() would include png when it wasn't | |
898 | available due to a problem with the %formats tie | |
899 | ||
900 | - handle dependent libraries correctly (eg -lpng requiring -lz) in | |
901 | the code run phase of library probing. | |
902 | ||
7ac2e52e TC |
903 | Imager 0.75_02 - 07 Aug 2010 |
904 | ============== | |
905 | ||
906 | Bug fixes: | |
907 | ||
908 | - add file missing from MANIFEST, which was causing TIFF failures. | |
909 | ||
496ea64d TC |
910 | Imager 0.75_01 - 06 Aug 2010 |
911 | ============== | |
912 | ||
913 | Test release for the new PNG probe. | |
75812841 | 914 | |
a596d4f6 TC |
915 | - added the ability to read multiple-image PNM files. |
916 | Note that unlike the pbm/pgm/ppm specification this accepts mixed | |
917 | format files and allows white space padding between files. | |
918 | Thanks to Philip Gwyn (Leolo) for this patch. | |
919 | ||
1d7e3124 TC |
920 | - moved the PNG file handling code into a sub-module in preparation |
921 | for separate distribution. | |
922 | https://rt.cpan.org/Ticket/Display.html?id=49616 (partial) | |
923 | Also helps avoid complications from -I/-L compile/link options from | |
924 | other libraries. | |
925 | ||
75812841 TC |
926 | Bugs: |
927 | ||
928 | - Imager->new(data => $data) didn't try to process image file data in | |
929 | $data | |
930 | https://rt.cpan.org/Ticket/Display.html?id=58761 | |
931 | ||
b6071a43 TC |
932 | - t/t50basicoo.t no longer depends on the other tests to generate its |
933 | input files. | |
934 | https://rt.cpan.org/Ticket/Display.html?id=9798 | |
935 | Also, it wasn't testing pnm (pnm vs ppm mix-up) | |
936 | ||
a9da425a TC |
937 | - update the documentation of hardinvert to match the change in 0.62. |
938 | https://rt.cpan.org/Ticket/Display.html?id=59785 | |
939 | ||
5558f899 TC |
940 | - added hardinvertall filter which also inverts the alpha channel |
941 | (sorry for the mess) | |
942 | ||
10b85929 TC |
943 | - when probing for TIFF, set LD_RUN_PATH just as the Makefile does so |
944 | the probe can find the library for the test run. | |
945 | https://rt.cpan.org/Ticket/Display.html?id=57518 | |
946 | ||
75812841 | 947 | Imager 0.75 - 20 Jun 2010 |
b13a3ddb TC |
948 | =========== |
949 | ||
950 | - use PERL_NO_GET_CONTEXT to slightly improve performance on threaded | |
951 | perls (not measured) | |
952 | ||
46e2e4a3 TC |
953 | Bugs: |
954 | ||
8c194049 TC |
955 | - an opacity fill based on a fountain fill would segfault when |
956 | filling an 8-bit/sample image. | |
957 | ||
1c5252ed TC |
958 | - merge thickline branch polygon fix |
959 | https://rt.cpan.org/Ticket/Display.html?id=43518 | |
960 | ||
41c88ecd | 961 | Imager 0.74 - 7 May 2010 |
8d46e5da TC |
962 | =========== |
963 | ||
964 | Bug fixes: | |
965 | ||
966 | - read_multi() didn't handle a missing file format library correctly, | |
967 | aborting on failing to call i_readgif_multi_wiol() or | |
968 | i_readtiff_multi_wiol(). | |
969 | ||
5715f7c3 TC |
970 | - fix spelling errors patched by Debian |
971 | http://svn.debian.org/viewsvn/pkg-perl/trunk/libimager-perl/debian/patches/spelling.patch?revision=54839&view=markup | |
972 | ||
973 | - add an (unshipped) author test to spellcheck Imager's POD. | |
7468f3fa | 974 | |
38218f79 TC |
975 | - update the TIFF file format documentation |
976 | https://rt.cpan.org/Ticket/Display.html?id=56510 | |
977 | ||
e17da819 TC |
978 | - lib/Imager/IO.pod was written almost 4 years ago but never shipped. |
979 | ||
704f12d5 | 980 | Imager 0.73 - 15 Mar 2010 |
40068b33 TC |
981 | =========== |
982 | ||
983 | - implement outline circles, both anti-aliased and not | |
984 | https://rt.cpan.org/Ticket/Display.html?id=19755 | |
985 | ||
e958b64e TC |
986 | - a combine => "none" fill to a 1 or 3 channel image would produce |
987 | the incorrect colour. | |
988 | ||
b2db3662 TC |
989 | Imager 0.72 - 09 Dec 2009 |
990 | =========== | |
991 | ||
992 | Bump version for release, since 0.71_03 is stable with CPAN testers. | |
993 | ||
6936706b TC |
994 | Imager 0.71_03 - 5 Dec 2009 |
995 | ============== | |
996 | ||
997 | - further adjust the threads test so it only performs the tests on | |
998 | perls where it's expected to work, and only if the threads module | |
999 | can be loaded. | |
1000 | ||
0750777c TC |
1001 | Imager 0.71_02 - 1 Dec 2009 |
1002 | ============== | |
1003 | ||
48ad0e66 TC |
1004 | - adjust the way we load the threads module for the threads test so |
1005 | it works with non-threaded perls | |
0750777c | 1006 | |
b89f0fcd | 1007 | Imager 0.71_01 - 30 Nov 2009 |
e41cfe8f TC |
1008 | =========== |
1009 | ||
1010 | Bug fixes: | |
1011 | ||
1012 | - use scanline oriented operations to flip images instead of pixel | |
1013 | operations | |
1014 | https://rt.cpan.org/Ticket/Display.html?id=39278 | |
1015 | ||
1016 | - use double/sample operations to flip large sample images instead of | |
1017 | 8-bit sample operations. | |
1018 | https://rt.cpan.org/Ticket/Display.html?id=39280 | |
1019 | ||
de3ca2fd TC |
1020 | - fix POD nits |
1021 | https://rt.cpan.org/Ticket/Display.html?id=51874 | |
1022 | ||
ffddd407 TC |
1023 | - prevent double-frees when someone creates Imager objects and then |
1024 | creates a thread. Note: this just handles some simple cases, | |
1025 | Imager doesn't support perl threads, and isn't likely to. | |
1026 | https://rt.cpan.org/Ticket/Display.html?id=52268 | |
1027 | ||
3517794b | 1028 | Imager 0.71 - 16 Nov 2009 |
6a3cbaef TC |
1029 | =========== |
1030 | ||
a16bae72 TC |
1031 | - add the opacity fill type - an adaptor that modifies the opacity of |
1032 | another fill. | |
1033 | ||
6a3cbaef TC |
1034 | Bug fixes: |
1035 | ||
1036 | - the conv filter now enforces that the sum of the coefficients is | |
1037 | non-zero. Also, rather than skipping pixels off the edge off the | |
1038 | edge of the image, the closest edge pixel is used. Previously | |
1039 | dividing by the zero sum of coefficients could cause invalid | |
1040 | results or runtime exceptions. | |
1041 | Thanks to David Cantrell's Alpha-NetBSD CPAN test box for revealing | |
1042 | this bug. | |
1043 | ||
189d5775 | 1044 | Imager 0.70 - 21 Sep 2009 |
2b82e731 TC |
1045 | =========== |
1046 | ||
1047 | Bug fixes: | |
1048 | ||
1049 | - release image row and comments memory on all error returns in gif | |
1050 | reader | |
1051 | ||
1052 | - handle zero length extensions, previously this would cause a null | |
1053 | pointer dereference | |
1054 | Thanks to Krzysztof Wojtaś for the test data and fix for this. | |
1055 | ||
b3afeed5 TC |
1056 | - an integer division meant that preview scaling to below 1 pixel |
1057 | wide or high (which isn't too useful anyway) was calculating using | |
1058 | NaNs on most platforms, and causing an exception on others. | |
1059 | Thanks to David Cantrell for producing a backtrace of the crash on | |
1060 | his Alpha-NetBSD CPAN test box which made it possible to track this | |
1061 | down. | |
1062 | ||
b1e29946 | 1063 | Imager 0.69 - 08 Sep 2009 |
25f4e775 TC |
1064 | =========== |
1065 | ||
b1e29946 | 1066 | Bug fixes: |
25f4e775 TC |
1067 | |
1068 | - broken test fix - was attempting to call a function skip_all, when | |
1069 | that should be a parameter to plan(). | |
1070 | ||
b1e29946 TC |
1071 | - briefly document apidocs.perl, the tool used to build |
1072 | Imager::APIRef and make some minor enhancements | |
1073 | ||
1074 | - various minor documentation enhancements and fixes. | |
1075 | ||
5920304a | 1076 | Imager 0.68 - 07 Sep 2009 |
c5f447ac TC |
1077 | =========== |
1078 | ||
3c252111 TC |
1079 | - Imager->new(file => $filename) and other similar incantations will |
1080 | load the given file. | |
1081 | https://rt.cpan.org/Ticket/Display.html?id=48261 | |
1082 | ||
c5f447ac TC |
1083 | Bug fixes: |
1084 | ||
1085 | - avoid using CHECK as a label in Imager::Test | |
1086 | http://nntp.x.perl.org/group/perl.cpan.testers/5220921 | |
1087 | ||
0d670555 TC |
1088 | - re-work most image file test files that require a library into |
1089 | separate library present/not present files to remove stupidly long | |
1090 | conditionals | |
1091 | ||
1092 | - don't treat rubthrough() outside the bounds of the target image as | |
1093 | an error. | |
1094 | http://nntp.x.perl.org/group/perl.cpan.testers/5185716 | |
1095 | ||
8d800216 TC |
1096 | Imager 0.67_01 - 02 Sep 2009 |
1097 | ============== | |
500888da TC |
1098 | |
1099 | Bug fixes: | |
1100 | ||
1101 | - correct documentation of default of raw image interleave read | |
1102 | parameter | |
1103 | https://rt.cpan.org/Ticket/Display.html?id=42074 | |
1104 | ||
1105 | - add raw_ prefix to raw read parameters, though the original names | |
1106 | still work. | |
1107 | ||
1108 | - fail the read if an invalid raw_interleave parameter is supplied | |
1109 | ||
1110 | - warn if no interleave or raw_interleave parameter is supplied, | |
1111 | since the documented default was wrong, and incompatible with the | |
1112 | write format | |
1113 | ||
1114 | - for reading raw images, if raw_storechannels > raw_datachannels, | |
1115 | set the extra channels in the image to 0 | |
1116 | ||
cd476e58 TC |
1117 | - when probing for executables like freetype-config, search for .bat |
1118 | and .cmd on MSWin32, as well as .exe. | |
1119 | https://rt.cpan.org/Ticket/Display.html?id=49275 | |
500888da | 1120 | |
f9a39263 TC |
1121 | - re-work the external libraries section of README: |
1122 | - list Debian and Redhat package names for each library | |
1123 | - reformatting | |
1124 | - update URLs | |
1125 | ||
f45b774f TC |
1126 | - use the new EU::MM META_MERGE facility instead of generating |
1127 | META.yml from scratch | |
1128 | https://rt.cpan.org/Ticket/Display.html?id=47888 | |
1129 | ||
d6b51d8c TC |
1130 | - use Devel::CheckLib (bundled, modified) to check which release of |
1131 | libtiff is installed and reject 3.9.0 | |
78645bd4 TC |
1132 | http://bugzilla.maptools.org/show_bug.cgi?id=2088 |
1133 | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543079 | |
d6b51d8c | 1134 | |
249af030 TC |
1135 | Imager 0.67 - 12 Dec 2008 |
1136 | =========== | |
1137 | ||
1138 | Bug fixes: | |
1139 | ||
1140 | - fix a packaging error | |
1141 | ||
cca21862 | 1142 | Imager 0.66 - 12 Dec 2008 |
3c8fee33 TC |
1143 | =========== |
1144 | ||
6b22ba84 TC |
1145 | - 24-bit color .ICO/.CUR files can now be read. |
1146 | ||
3c8fee33 TC |
1147 | Bug fixes: |
1148 | ||
6b22ba84 TC |
1149 | - an optimization skipping 0 src alpha values could cause the |
1150 | rubthrough() to read past the end of a buffer. | |
1151 | http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1509184.html | |
1152 | ||
5c0d0ddf TC |
1153 | - corrected a reference leak where writing GIFs would leak memory. |
1154 | This could also happen calling to_paletted(). | |
1155 | Also documented the underlying long existing feature where the | |
1156 | colors parameter is filled with the generated color table and added | |
1157 | tests for it. | |
3c8fee33 TC |
1158 | http://rt.cpan.org/Ticket/Display.html?id=41028 |
1159 | ||
8e7f5809 TC |
1160 | - write out the image size in bytes field of a BMP correctly. |
1161 | http://rt.cpan.org/Ticket/Display.html?id=41406 | |
1162 | ||
c586eb58 TC |
1163 | - add limited tests for Imager::ExtUtils |
1164 | ||
1165 | - make Imager::ExtUtils->includes use an absolute path, since | |
1166 | a relative path could cause failures using Inline::C. | |
1167 | http://rt.cpan.org/Ticket/Display.html?id=37353 | |
1168 | ||
6b22ba84 TC |
1169 | - re-arrange the POD for Imager::Font::BBox: |
1170 | - mark total_width(), pos_width(), end_offset() obsolete, since | |
1171 | they're mostly for backwards compatibility | |
1172 | - group width methods and height methods | |
1173 | https://rt.cpan.org/Ticket/Display.html?id=39999 | |
17d9fe35 | 1174 | |
0727e3f5 | 1175 | Imager 0.65 - 20 May 2008 |
546ea21c TC |
1176 | =========== |
1177 | ||
1178 | Bug fixes: | |
1179 | ||
1180 | - In some cases when an error occurs reading those parts of a JPEG | |
1181 | file after the image the scan-line buffer could be freed a second | |
1182 | time. In cases where the the error occured while reading the image | |
1183 | data it's possible that the buffer could have leaked. | |
1184 | Thanks to Gabriel Vasseur for reporting this and help in tracking | |
1185 | it down. | |
1186 | ||
43b2b326 TC |
1187 | - the gif_screen_height tag was overriding the screen width and being |
1188 | ignored for the screen height when present. | |
1189 | https://rt.cpan.org/Public/Bug/Display.html?id=35568 | |
1190 | ||
e02d22d2 | 1191 | Imager 0.64 - 23 April 2008 |
de470892 TC |
1192 | =========== |
1193 | ||
e02d22d2 TC |
1194 | This is a bug fix release. This includes a fix for a possible |
1195 | security issue. | |
1196 | ||
de470892 TC |
1197 | Bug fixes: |
1198 | ||
e02d22d2 TC |
1199 | - Possible security issue: The floating point sample path for image |
1200 | based fills had a buffer overflow. This would overwrite the end of | |
1201 | a malloc()ed buffer with double precision floats. | |
1202 | http://rt.cpan.org/Ticket/Display.html?id=35324 | |
6912d85a | 1203 | CVE-2008-1928 |
e02d22d2 | 1204 | |
de470892 TC |
1205 | - check that the result of fileno($fh) is defined rather than simply |
1206 | true when read() or write() is supplied with an fh parameter. | |
1207 | http://rt.cpan.org/Ticket/Display.html?id=35139 | |
1208 | ||
1209 | - i_scale_axis() wasn't checking the result of i_img_new_ch() | |
1210 | resulting in a SIGSEGV when attempting to scale an image to a size | |
1211 | too large to fit in memory. This is a NULL pointer access issue, | |
1212 | not a buffer overflow. | |
1213 | Added a check for the failure. | |
1214 | scale_calculate() (and hence scale()) will now fail if any of the | |
1215 | scale size parameters are a reference. | |
1216 | http://rt.cpan.org/Ticket/Display.html?id=35172 | |
1217 | ||
04f85f63 TC |
1218 | - Regression: filling a greyscale image with a hatch used the wrong |
1219 | color channels from the supplied fg/bg colors. | |
1220 | https://rt.cpan.org/Ticket/Display.html?id=35278 | |
1221 | ||
a256aec5 TC |
1222 | - fixed a related problem for image fills. |
1223 | ||
49240201 | 1224 | Imager 0.63 - 7 April 2008 |
33b0ffa6 TC |
1225 | =========== |
1226 | ||
242d7497 TC |
1227 | This release primarily contains changes to improve ease of use - |
1228 | rather than you having to convert images to the appropriate number of | |
1229 | channels, Imager handles it internally. How to handle drawing colors | |
1230 | and the default combine mode is a thornier problem left for some other | |
1231 | release. | |
1232 | ||
d1555273 TC |
1233 | - the font libraries are now only initialized when needed. |
1234 | http://rt.cpan.org/Ticket/Display.html?id=28825 | |
1235 | ||
9b1ec2b8 TC |
1236 | - moved the imtoc.perl code into Imager::Preprocess |
1237 | ||
1238 | - paste() and rubthrough() now adapt the source image data to the | |
1239 | destination, so you can now safely paste/rubthrough from greyscale | |
1240 | images to color images or back, or from alpha channel images to | |
1241 | noalpha channels or back. | |
1242 | https://rt.cpan.org/Ticket/Display.html?id=30908 | |
1243 | ||
1244 | - rubthrough() now falls back to pasting when the source doesn't have | |
1245 | an alpha channel. This effectively treats the source as having a | |
1246 | max alpha channel, the right thing to do. | |
1247 | http://rt.cpan.org/Ticket/Display.html?id=29944 | |
1248 | ||
1249 | - re-worked most of the area filling code to use a common set of | |
1250 | functions when filling. | |
1251 | Corrected normal combine mode. | |
1252 | Rewrote most of the combine modes to match the way the SVG draft | |
1253 | defines them with respect to a translucent source and destination. | |
1254 | Added tests for translucent source and destination. | |
1255 | Added tests to check 8-bit/sample and double/sample combines work | |
1256 | similarly. | |
1257 | https://rt.cpan.org/Ticket/Display.html?id=29879 | |
1258 | ||
07d9c639 TC |
1259 | - writing a 2 or 4 channel image to a JPEG file will now write that |
1260 | image as if composited against a background, black by default, | |
1261 | overridable with the i_background tag/parameter. | |
6e4af7d4 TC |
1262 | https://rt.cpan.org/Ticket/Display.html?id=29876 |
1263 | ||
07d9c639 TC |
1264 | - writing a 2 or 4 channel image to a PGM/PPM file will now write |
1265 | that image as if composited against a background, black by default, | |
fa90de94 TC |
1266 | overridable with the i_background tag/parameter. |
1267 | http://rt.cpan.org/Ticket/Display.html?id=30074 | |
1268 | ||
07d9c639 TC |
1269 | - writing a 2 or 4 channel image to a BMP file will now write that |
1270 | image as if composited against a background, black by default, | |
1271 | overridable with the i_background tag/parameter. | |
1272 | http://rt.cpan.org/Ticket/Display.html?id=30075 | |
1273 | ||
33b0ffa6 TC |
1274 | Bug fixes: |
1275 | ||
1276 | - Imager::Matrix2d->translate() now only requires one of the x or y | |
1277 | parameters. | |
1278 | http://rt.cpan.org/Ticket/Display.html?id=29937 | |
1279 | ||
2757bad0 TC |
1280 | - mixing qtype scaling now sets all channels of a pixel to zero if |
1281 | the pixel has zero coverage (zero alpha). This should produce more | |
1282 | compressible output files. | |
1283 | http://rt.cpan.org/Ticket/Display.html?id=32324 | |
1284 | ||
3da08517 TC |
1285 | - removed the pointless #! line from lib/Imager/Font/Wrap.pm |
1286 | Noticed when I saw: | |
1287 | https://bugzilla.redhat.com/show_bug.cgi?id=166254 | |
1288 | I'm not changing the #! lines of the sample code, since it's sample | |
1289 | code, not intended for installation. | |
1290 | http://rt.cpan.org/Ticket/Display.html?id=33408 | |
1291 | ||
242d7497 TC |
1292 | - some TGA images weren't being detected correctly as TGA images |
1293 | https://rt.cpan.org/Ticket/Display.html?id=32925 | |
1294 | ||
1295 | - handling of the left-over bit for 16-bit/pixel TGA images has been | |
1296 | changed to match the behaviour of the GIMP. Previously the bit | |
1297 | being set was treated as an opaque pixel, but one user reported a | |
1298 | problem with loading such an image. I haven't been able to find any | |
1299 | tools beyond the GIMP that handle alpha-channel 16-bit TGAs, so | |
1300 | I'll match it's behaviour. See issue 114913 in the GIMP's | |
1301 | bugzilla. | |
1302 | http://rt.cpan.org/Ticket/Display.html?id=32926 | |
1303 | ||
5daa9d34 | 1304 | Imager 0.62 - 10 December 2007 |
ac8138b0 TC |
1305 | =========== |
1306 | ||
d8e0c3ba TC |
1307 | - Makefile.PL now expands ~/path supplied to --incpath or --libpath |
1308 | to /path under your home directory. | |
1309 | http://rt.cpan.org/Ticket/Display.html?id=29484 | |
1310 | ||
50ff958e TC |
1311 | - the old dynaload code used Mach API functions to load dynamic |
1312 | libraries on Mac OS X. These APIs have been deprecated in OS X | |
1313 | 10.5 and were causing some build problems. | |
1314 | So henceforth Imager uses the dlopen() family of functions, and you | |
1315 | will need version 10.3 or later of OS X. | |
1316 | ||
3309187a TC |
1317 | - added the det() function to the transform2() engine. |
1318 | added the sample quad_to_square.pl | |
1319 | Courtesy Richard Fairhurst. | |
1320 | http://rt.cpan.org/Ticket/Display.html?id=31244 | |
1321 | ||
ac8138b0 TC |
1322 | Bug fixes: |
1323 | ||
1324 | - samples/gifscale.pl sourced the base value for gif_top from | |
1325 | gif_left. | |
1326 | Thanks to Eleneldil G. Arilou for pointing this out. | |
1327 | ||
678a9a65 TC |
1328 | - t/t82inline.t no longer loads B at runtime, to work around a bug |
1329 | in some 5.005_0[45] installations. | |
1330 | http://rt.cpan.org/Ticket/Display.html?id=30508 | |
1331 | ||
1332 | - work around Module::Depends::Intrusive bug #21229 | |
1333 | http://rt.cpan.org/Ticket/Display.html?id=30520 | |
ac8138b0 | 1334 | |
bea65b1f TC |
1335 | - the hardinvert filter no-longer inverts the alpha channel. |
1336 | http://rt.cpan.org/Ticket/Display.html?id=30002 | |
1337 | ||
1338 | - the hardinvert filter now supports large samples | |
1339 | ||
b7809486 | 1340 | Imager 0.61_02 - 28 November 2007 |
f74e6efc | 1341 | ============== |
874c55db | 1342 | |
bd8052a6 TC |
1343 | - major TIFF support re-work |
1344 | http://rt.cpan.org/Ticket/Display.html?id=20329 | |
1345 | ||
1346 | - added a C level image interface for accessing samples from 1-32 | |
1347 | bits, exposed this at the perl level in getsamples() | |
1348 | ||
1349 | - the conv filter now works at floating point precision for high bit | |
1350 | images | |
1351 | ||
1352 | - added is_bilevel method to test whether an image should be written as | |
1353 | a bilevel image if the image format supports it. | |
1354 | ||
1355 | - added -log-stderr as an Imager import list option | |
1356 | ||
1357 | - added some important types to Imager::APIRef | |
1358 | ||
1359 | - added test_image_double() to Imager::Test | |
1360 | ||
874c55db TC |
1361 | Bug fixes: |
1362 | ||
1363 | - Imager::Fountain couldn't read GIMP gradient files with 10 or more | |
1364 | segments | |
1365 | ||
1366 | - the scale() method with qtype mixing now handles images with an | |
1367 | alpha channel correctly. | |
1368 | ||
8d17eae9 TC |
1369 | - fixed a broken link from the "animated GIF" entry in the concept index. |
1370 | Thanks to Slaven Rezic. | |
1371 | http://rt.cpan.org/Ticket/Display.html?id=30889 | |
1372 | ||
d3bf4eaf TC |
1373 | - on some perl's the infix expression parser test would fail due to |
1374 | actions in the grammar returning false. Made sure all actions return | |
1375 | a true value. | |
8b96ad6b TC |
1376 | Thanks to Richard Fairhurst for spending a lot of time in tracking |
1377 | down this problem. | |
680c329d | 1378 | http://rt.cpan.org/Public/Bug/Display.html?id=29562 |
d3bf4eaf | 1379 | |
d06f6707 | 1380 | Imager 0.61 - 5 November 2007 |
1cfa190e TC |
1381 | =========== |
1382 | ||
1383 | - added samples/gifscale.pl, which adjusts the screen size/position tags | |
1384 | when scaling an animated gif | |
1385 | http://rt.cpan.org/Ticket/Display.html?id=27591 | |
1386 | ||
8a2cd317 TC |
1387 | Bug fixes: |
1388 | ||
e7ac18bd TC |
1389 | - correct handling of sz in matrix_transform() - this should allow |
1390 | perspective type transformations to work now. | |
1391 | http://rt.cpan.org/Ticket/Display.html?id=29936 | |
1392 | ||
8a2cd317 TC |
1393 | - prevent a cast to integer warning on x64 builds in datatypes.c |
1394 | also fixed some other type warnings | |
1395 | https://rt.cpan.org/Ticket/Display.html?id=30204 | |
1396 | ||
9188b23e TC |
1397 | - some sub-directory tests depended on files produced by the parent |
1398 | directory tests | |
1399 | http://rt.cpan.org/Ticket/Display.html?id=30203 | |
1400 | ||
7febff1d TC |
1401 | - Imager::Font::Wrap doesn't correctly set savepos |
1402 | thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this. | |
1403 | http://rt.cpan.org/Ticket/Display.html?id=29771 | |
1404 | ||
76411e99 TC |
1405 | - test 171 in t/t01introvert.t was failing on perls configured to |
1406 | use long double. | |
1407 | http://rt.cpan.org/Ticket/Display.html?id=29413 | |
1408 | ||
3f29de50 TC |
1409 | - the code for the transform2() uminus operator was missing a break. |
1410 | Added tests for better code coverage of the ops. | |
1411 | http://rt.cpan.org/Ticket/Display.html?id=29296 | |
1412 | ||
ed107438 TC |
1413 | - the SGI RLE compression code could overflow its compression buffer |
1414 | http://rt.cpan.org/Ticket/Display.html?id=30334 | |
1415 | ||
1416 | - the 32-bit output function used by the SGI code only handled values | |
1417 | under 0x10000. This was most noticable when writing large RLE images. | |
1418 | http://rt.cpan.org/Ticket/Display.html?id=30335 | |
1419 | ||
c7481ae1 TC |
1420 | - validate chan_count for chans == NULL for each of the i_gsamp() |
1421 | implementations. | |
1422 | http://rt.cpan.org/Ticket/Display.html?id=28985 | |
1423 | ||
ff37fc3f TC |
1424 | - attempt to work around the test failure at |
1425 | http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html | |
1426 | http://rt.cpan.org/Ticket/Display.html?id=29562 | |
1427 | ||
f245645a TC |
1428 | - improve the error messages produced when attempting to read or write |
1429 | an unknown image file format. | |
1430 | http://rt.cpan.org/Ticket/Display.html?id=30103 | |
1431 | ||
333d7485 TC |
1432 | - improve the transform2() documentation |
1433 | http://rt.cpan.org/Ticket/Display.html?id=29267 | |
1434 | ||
3b115720 TC |
1435 | - correctly generate the author key in META.yml |
1436 | http://rt.cpan.org/Ticket/Display.html?id=30377 | |
1437 | ||
13c9a303 TC |
1438 | - correctly blend a rotated (or matrix_transformed()) image when |
1439 | performing interpolation in the presence of an alpha channel. | |
8a071022 TC |
1440 | Also corrected the centring of the rotated image on the output |
1441 | image. | |
13c9a303 | 1442 | |
0e622083 | 1443 | Imager 0.60 - 30 August 2007 |
bcff4dd9 TC |
1444 | =========== |
1445 | ||
d5477d3d TC |
1446 | - Finished/rewrote Arnar's old SGI RGB file format support, so Imager |
1447 | now has full SGI RGB image format, including RLE and 16-bit/sample | |
1448 | images. | |
1449 | https://rt.cpan.org/Ticket/Display.html?id=8666 | |
1450 | ||
1451 | - logging functions are now available in the API | |
1452 | ||
a60905e4 TC |
1453 | - applied Gabriel Vasseur's patch |
1454 | added documentation, further tests, and support for greyscale images | |
1455 | Obviously problems are my fault :) | |
1456 | https://rt.cpan.org/Ticket/Display.html?id=28142 | |
1457 | ||
413dc198 TC |
1458 | - the mask for ICO/CUR images is now applied as an alpha channel to |
1459 | the returned image. For the old behaviour, supply ico_masked => 0 | |
1460 | to read() or read_multi(). This should be less confusing when | |
1461 | using Imager as a general image processor. | |
1462 | https://rt.cpan.org/Ticket/Display.html?id=29001 | |
1463 | ||
bcff4dd9 TC |
1464 | Bug fixes: |
1465 | ||
1466 | - in some cases it's possible for giflib/libungif to return color | |
1467 | indexes outside the range of colors defined by the image's palette. | |
1468 | We now expand the palette to match the indexes used. | |
1469 | Thanks to Gabriel Vasseur for reporting this. | |
1470 | ||
02576e8d TC |
1471 | - fixed various memory leaks that could occur when failing to read png, |
1472 | jpeg, bmp or tga files. | |
1473 | ||
b3aa972f TC |
1474 | - to avoid confusion, channels not present in the image are returned as |
1475 | zero by getscanline(). This has no effect on the C level i_glin() | |
1476 | and i_glinf() API functions which continue to not set the unused | |
1477 | channels. | |
1478 | ||
d5477d3d TC |
1479 | - the convert() method now returns an image of the same sample size as |
1480 | the source image. | |
1481 | https://rt.cpan.org/Ticket/Display.html?id=28492 | |
1482 | ||
baa880ef TC |
1483 | - remove repeated text in Imager::Files |
1484 | http://rt.cpan.org/Ticket/Display.html?id=27589 | |
1485 | ||
1486 | - be even more explicit that scale() and friends don't modify the source | |
1487 | image, but return a new image. | |
1488 | http://rt.cpan.org/Ticket/Display.html?id=28570 | |
1489 | ||
0561d49c TC |
1490 | - improve the error message from errstr() when you try to load a font |
1491 | for which the driver hasn't been built in Imager. | |
1492 | http://rt.cpan.org/Ticket/Display.html?id=27571 | |
1493 | ||
d8a39ce0 TC |
1494 | - transparency is now enabled by default when writing GIF images |
1495 | http://rt.cpan.org/Ticket/Display.html?id=27615 | |
1496 | ||
5730d6e7 TC |
1497 | - Imager would not load on Windows 98 |
1498 | http://rt.cpan.org/Ticket/Display.html?id=27653 | |
1499 | ||
b4996113 | 1500 | Imager 0.59 - 14 June 2007 |
e6e94ab0 TC |
1501 | =========== |
1502 | ||
1503 | Bug fixes: | |
1504 | ||
1505 | - fixes a regression introduced by the fixes for RT 11972 | |
1506 | http://rt.cpan.org/Ticket/Display.html?id=27546 | |
1507 | ||
9fc9d0ca TC |
1508 | - cropping outside the image would return an Imager object with |
1509 | no low-level image object, instead of returning false. | |
1510 | Fixed by: Philip Gwyn (Leolo) | |
1511 | http://rt.cpan.org/Ticket/Display.html?id=27509 | |
1512 | ||
7e7508dd TC |
1513 | Imager 0.58 - 16 May 2007 |
1514 | =========== | |
1515 | ||
1516 | No significant changes from 0.57_01. | |
1517 | ||
1970a2c7 TC |
1518 | Imager 0.57_01 - 11 May 2007 |
1519 | ============== | |
d034a178 | 1520 | |
f8e36694 TC |
1521 | - added to_rgb16 to produce a 16-bit/sample version of an image |
1522 | ||
95b2bff4 TC |
1523 | - improve freetype 1.x text output efficiency |
1524 | ||
d034a178 TC |
1525 | Bug fixes: |
1526 | ||
1527 | - search another place for rgb.txt, and check all the places | |
1528 | Imager::Color checks when deciding whether to skip testing it | |
1529 | http://rt.cpan.org/Ticket/Display.html?id=26064 | |
1530 | ||
73962964 TC |
1531 | - use a convolution kernel size based on the stddev rather than a |
1532 | fixed size when performing a gaussian blur | |
1533 | http://rt.cpan.org/Ticket/Display.html?id=25645 | |
1534 | ||
01b84320 TC |
1535 | - document the difference() method's mindist parameter, and debug it. |
1536 | ||
7e7508dd | 1537 | - put the Imager release number in the Inline::C generated code to |
22f9ca48 TC |
1538 | regenerate Inline code when a new release of Imager is installed. |
1539 | http://rt.cpan.org/Ticket/Display.html?id=26278 | |
1540 | ||
fa16b6c6 TC |
1541 | - fix rendering on alpha channel images for the FreeType 1.x driver. |
1542 | http://rt.cpan.org/Ticket/Display.html?id=11972 | |
1543 | ||
4c84ccfb TC |
1544 | - fix rendering on alpha channel images for the T1lib driver. |
1545 | http://rt.cpan.org/Ticket/Display.html?id=11972 | |
1546 | ||
1fe8316b TC |
1547 | - reworked library probing, we can now set more than one probe |
1548 | function for a library. Disabled the default (non-freetype-config) | |
1549 | library probe and added an extra probe function that searches for | |
1550 | both ft2build.h and whatever it includes, and adds -I as needed. | |
1551 | Hopefully this will fix build problems like | |
1552 | http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html | |
1553 | http://rt.cpan.org/Ticket/Display.html?id=26086 | |
1554 | ||
bb5712de TC |
1555 | Imager 0.57 - 30 Apr 2007 |
1556 | =========== | |
1557 | ||
1558 | This is a maintenence release fixing a security issue in Imager. | |
1559 | ||
1560 | - CRITICAL: a specially crafted compressed BMP file can cause a buffer | |
1561 | overflow in malloced memory. There will be further discussion of | |
1562 | this issue in the ticket below. | |
1563 | http://rt.cpan.org/Ticket/Display.html?id=26811 | |
7e7508dd TC |
1564 | CVE-2007-2459 CVE-2007-2413 |
1565 | The descriptions at cve.mitre.org varied in quality, please see the | |
1566 | ticket at rt.cpan.org for a more accurate description of the issue. | |
bb5712de | 1567 | |
d034a178 | 1568 | Imager 0.56 - 1 Apr 2007 |
7623d340 TC |
1569 | =========== |
1570 | ||
1571 | - added support for reading 16-bit/sample PGM/PPM images | |
1572 | ||
1573 | - added support for writing 16-bit/sample PGM/PPM images | |
1574 | ||
1575 | - improved performance of reading PBM/PGM/PPM images | |
1576 | ||
1577 | - added support for writing PBM images if the image is paletted and | |
1578 | contains only black and white | |
1579 | ||
1580 | - added a new make_colors value - "mono" | |
1581 | ||
1582 | - switched from the svn log Changes to a manual Changes to reduce | |
1583 | noise | |
1584 | ||
1225d272 TC |
1585 | - new sample code - samples/flasher.pl |
1586 | ||
7623d340 TC |
1587 | Bug fixes: |
1588 | ||
1589 | - CRITICAL: the "Imager" typemap entry (not used by Imager itself) | |
1590 | was returning an image object with an extra reference, this | |
1591 | resulted in a memory leak. | |
1592 | http://rt.cpan.org/Ticket/Display.html?id=24992 | |
1593 | ||
1594 | - fix rendering on alpha channel images for the FreeType 2.x driver | |
1595 | http://rt.cpan.org/Ticket/Display.html?id=11972 | |
1596 | ||
1597 | - reading bmp files now consitently handles short reads. You can now | |
1598 | supply a parameter to treat a short read as successful and set | |
1599 | i_incomplete | |
1600 | http://rt.cpan.org/Ticket/Display.html?id=8426 | |
1601 | ||
1602 | - previously, reading ASCII PBM files required spaces between samples, | |
1603 | even though the format doesn't require that | |
1604 | ||
1225d272 TC |
1605 | - improved documentation of the unsharpmask filter (I hope) |
1606 | http://rt.cpan.org/Ticket/Display.html?id=25531 | |
1607 | ||
1608 | - force flushing of the output from i_tt_dump_names() and test output | |
1609 | in t/t35ttfont.t to prevent output from being mixed up. | |
1610 | https://rt.cpan.org/Ticket/Display.html?id=24859 | |
1611 | ||
1612 | - rewrite a conditional expression as an if() to hopefully work around | |
1613 | a bug in the pre-4.0 GCC Apple shipped with OS X 10.4. | |
1614 | https://rt.cpan.org/Ticket/Display.html?id=25561 | |
1615 | ||
1616 | - avoid Data::Dumper in regops.perl to support older releases of perl | |
1617 | https://rt.cpan.org/Ticket/Display.html?id=24391 | |
1618 | ||
7623d340 TC |
1619 | Imager 0.55 - 16 Dec 2006 |
1620 | =========== | |
1621 | ||
1622 | This is primarily a bug fix release. | |
1623 | ||
1624 | Note: Test::More is now a pre-requisite for Imager and is no longer bundled. | |
1625 | ||
1626 | There is one new feature: | |
1627 | ||
1628 | - the Win32 font driver now supports UTF8 (RT 22166) | |
1629 | http://www.cpanforum.com/threads/3276 | |
1630 | http://rt.cpan.org/Ticket/Display.html?id=22166 | |
1631 | ||
1632 | Several bugs were fixed: | |
1633 | ||
1634 | - the string() method would not output the string "0" | |
1635 | http://rt.cpan.org/Public/Bug/Display.html?id=21770 | |
1636 | ||
1637 | - fills.c was failing to compile on Solaris 10 (compiler unknown) | |
1638 | http://rt.cpan.org/Public/Bug/Display.html?id=21944 | |
1639 | ||
1640 | - the gif_disposal and gif_user_input tags weren't being read from | |
1641 | the file correctly | |
1642 | http://rt.cpan.org/Public/Bug/Display.html?id=22192 | |
1643 | ||
1644 | - gif.c was failing to build under MSVC | |
1645 | http://rt.cpan.org/Ticket/Display.html?id=23922 | |
1646 | ||
1647 | - in some cases strings passed to the string() method were treated as | |
1648 | terminated by NUL (chr 0) | |
1649 | http://rt.cpan.org/Public/Bug/Display.html?id=21770 | |
1650 | ||
1651 | - on "MSWin32" perl builds we now link to -lzlib instead of -lz since | |
1652 | that's the default build name for zlib on Win32. | |
1653 | http://rt.cpan.org/Ticket/Display.html?id=23064 | |
1654 | ||
1655 | - search $Config{incpath} for headers too, which we should have been | |
1656 | doing all along. | |
1657 | ||
1658 | Win32 font driver fixes: | |
1659 | ||
1660 | - the global descent value from bounding box was the wrong sign | |
1661 | http://www.cpanforum.com/threads/3276 | |
1662 | ||
1663 | - if the first or last glyph overflowed the left or right side of the | |
1664 | advance width they would be clipped | |
1665 | ||
1666 | ||
1667 | Imager 0.54 - 14 Sep 2006 | |
1668 | =========== | |
1669 | ||
1670 | This is primarily a feature release: | |
1671 | ||
1672 | - a new qtype value 'mixing' has been added to the scale() | |
1673 | method. This is faster than 'normal', slower than 'preview'. This | |
1674 | is based on the method used by pnmscale, and seems to produce less | |
1675 | blurry results than normal. | |
1676 | http://rt.cpan.org/Public/Bug/Display.html?id=20677 | |
1677 | ||
1678 | - the rubthrough() method can now render onto images with an alpha | |
1679 | channel. | |
1680 | http://rt.cpan.org/Ticket/Display.html?id=20678 | |
1681 | ||
1682 | - the read_multi() method now falls back to calling doing a single | |
1683 | image read via the read() method and write_multi() will now fall | |
1684 | back to calling write() if a single image is supplied. This means | |
1685 | you can simply call the read_multi() or write_multi() functions | |
1686 | without having to check if the type is formatted by that method. | |
1687 | http://rt.cpan.org/Ticket/Display.html?id=19457 | |
1688 | http://rt.cpan.org/Ticket/Display.html?id=19458 | |
1689 | ||
1690 | - the GIF loop extension can now be written. If you don't have | |
1691 | libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you | |
1692 | should upgrade. | |
1693 | http://rt.cpan.org/Ticket/Display.html?id=21185 | |
1694 | ||
1695 | - getscanline() and setscanline() can now read/write palette index | |
1696 | based data from/to the image for paletted images, by setting type to | |
1697 | 'index'. | |
1698 | http://rt.cpan.org/Ticket/Display.html?id=20338 | |
1699 | ||
1700 | - we no longer hassle you to disable GIF support | |
1701 | http://rt.cpan.org/Ticket/Display.html?id=20687 | |
1702 | ||
1703 | - minor documentation fixes | |
1704 | ||
1705 | ||
1706 | Imager 0.53 - 26 Jul 2006 | |
1707 | =========== | |
1708 | ||
1709 | This is a bugfix release. | |
1710 | ||
1711 | Some test code was left in a code path not covered by the test | |
1712 | suite. A test was added to cover this code path and the test code was | |
1713 | removed. | |
1714 | http://rt.cpan.org/Public/Bug/Display.html?id=20705 | |
1715 | ||
1716 | ||
1717 | Imager 0.52 - 25 Jul 2006 | |
1718 | =========== | |
1719 | ||
1720 | This is primarily a feature release, but contains a fair few bug | |
1721 | fixes, new features: | |
1722 | ||
1723 | - ability to read and write MS Windows ICO and CUR files | |
1724 | ||
1725 | - you can now add file format plugins to support new file formats | |
1726 | ||
1727 | - add POD coverage tests | |
1728 | ||
1729 | - setcolors() and addcolors() now accept color names and so on | |
1730 | instead of requiring Imager::Color objects. | |
1731 | http://rt.cpan.org/Ticket/Display.html?id=20056 | |
1732 | ||
1733 | - flood_fill() can now fill to a specified border color instead of | |
1734 | just to the area the same color as the seed. | |
1735 | http://rt.cpan.org/Ticket/Display.html?id=19618 | |
1736 | ||
1737 | ||
1738 | Bug fixes: | |
1739 | ||
1740 | - bounding_box for the T1 driver wasn't converting UTF8 to ascii when | |
1741 | calculating the advance width. | |
1742 | http://rt.cpan.org/Public/Bug/Display.html?id=20554 | |
1743 | ||
1744 | - bounding_box for the T1 driver wasn't including leading and | |
1745 | trailing spaces in the bounding box as the other drivers did, it also | |
1746 | produced strange results for empty strings or strings containing only | |
1747 | spaces | |
1748 | ||
1749 | - when reading CMYK jpeg images they were being transferred to the | |
1750 | image object as is, producing a four channel image. It only looked ok | |
1751 | due to an old still unfixed Photoshop bug. We now convert from the | |
1752 | inverted CMYK that photoshop (and Corel for example) produce into RGB. | |
1753 | http://rt.cpan.org/Ticket/Display.html?id=20416 | |
1754 | ||
1755 | - reading a CYMK TIFF would result in a 4 channel image, reading any | |
1756 | image with more than 4 channels (eg. RGB with 2 alpha channels) would | |
1757 | result in an error. | |
1758 | http://rt.cpan.org/Ticket/Display.html?id=20415 | |
1759 | ||
1760 | - added /usr/local/include to the default include search path, since | |
1761 | we were already searching /usr/local/lib for libraries. | |
1762 | ||
1763 | And various minor fixes and documentation updates. | |
1764 | ||
1765 | ||
1766 | Imager 0.51 - 23 Apr 2006 | |
1767 | =========== | |
1768 | ||
1769 | - fix a validation bug when processing JPEG EXIF data that can cause | |
1770 | a crash | |
1771 | http://rt.cpan.org/Public/Bug/Display.html?id=18496 | |
1772 | ||
1773 | - fix mis-processing of the src_maxx and src_maxy parameters of the | |
1774 | paste() method | |
1775 | http://rt.cpan.org/Public/Bug/Display.html?id=18712 | |
1776 | ||
1777 | - fix a problem in Imager's "smart" handling of the color parameter | |
1778 | to various methods. | |
1779 | http://rt.cpan.org/Public/Bug/Display.html?id=18561 | |
1780 | ||
1781 | ||
1782 | Imager 0.50 - 29 Mar 2006 | |
1783 | =========== | |
1784 | ||
1785 | - CRITICAL: fixes a segmentation fault from attempting to write a 2 | |
1786 | or 4 channel image to jpeg or a 2 channel image to tga where the | |
1787 | output is an in-memeory buffer. | |
1788 | http://rt.cpan.org/Public/Bug/Display.html?id=18397 | |
1789 | ||
1790 | - fixes an incorrect pointer parameter in the PNG code | |
1791 | http://rt.cpan.org/Public/Bug/Display.html?id=18051 | |
1792 | ||
1793 | - skip Inline::C tests when building in a directory with spaces | |
1794 | http://rt.cpan.org/Public/Bug/Display.html?id=18049 |