1 Imager release history. Older releases can be found in Changes.old
3 Imager 0.63 - unreleased
6 - the font libraries are now only initialized when needed.
7 http://rt.cpan.org/Ticket/Display.html?id=28825
9 - moved the imtoc.perl code into Imager::Preprocess
11 - paste() and rubthrough() now adapt the source image data to the
12 destination, so you can now safely paste/rubthrough from greyscale
13 images to color images or back, or from alpha channel images to
14 noalpha channels or back.
15 https://rt.cpan.org/Ticket/Display.html?id=30908
17 - rubthrough() now falls back to pasting when the source doesn't have
18 an alpha channel. This effectively treats the source as having a
19 max alpha channel, the right thing to do.
20 http://rt.cpan.org/Ticket/Display.html?id=29944
22 - re-worked most of the area filling code to use a common set of
23 functions when filling.
24 Corrected normal combine mode.
25 Rewrote most of the combine modes to match the way the SVG draft
26 defines them with respect to a translucent source and destination.
27 Added tests for translucent source and destination.
28 Added tests to check 8-bit/sample and double/sample combines work
30 https://rt.cpan.org/Ticket/Display.html?id=29879
32 - some TGA images weren't being detected correctly as TGA images
33 https://rt.cpan.org/Ticket/Display.html?id=32925
35 - handling of the left-over bit for 16-bit/pixel TGA images has been
36 changed to match the behaviour of the GIMP. Previously the bit
37 being set was treated as an opaque pixel, but one user reported a
38 problem with loading such an image. I haven't been able to find any
39 tools beyond the GIMP that handle alpha-channel 16-bit TGAs, so
40 I'll match it's behaviour. See issue 114913 in the GIMP's
42 http://rt.cpan.org/Ticket/Display.html?id=32926
44 - writing a 2 or 4 channel image to a JPEG file will now write that
45 image as if composited against a background, black by default,
46 overridable with the i_background tag/parameter.
47 https://rt.cpan.org/Ticket/Display.html?id=29876
49 - writing a 2 or 4 channel image to a PGM/PPM file will now write
50 that image as if composited against a background, black by default,
51 overridable with the i_background tag/parameter.
52 http://rt.cpan.org/Ticket/Display.html?id=30074
54 - writing a 2 or 4 channel image to a BMP file will now write that
55 image as if composited against a background, black by default,
56 overridable with the i_background tag/parameter.
57 http://rt.cpan.org/Ticket/Display.html?id=30075
61 - Imager::Matrix2d->translate() now only requires one of the x or y
63 http://rt.cpan.org/Ticket/Display.html?id=29937
65 Imager 0.62 - 10 December 2007
68 - Makefile.PL now expands ~/path supplied to --incpath or --libpath
69 to /path under your home directory.
70 http://rt.cpan.org/Ticket/Display.html?id=29484
72 - the old dynaload code used Mach API functions to load dynamic
73 libraries on Mac OS X. These APIs have been deprecated in OS X
74 10.5 and were causing some build problems.
75 So henceforth Imager uses the dlopen() family of functions, and you
76 will need version 10.3 or later of OS X.
78 - added the det() function to the transform2() engine.
79 added the sample quad_to_square.pl
80 Courtesy Richard Fairhurst.
81 http://rt.cpan.org/Ticket/Display.html?id=31244
85 - samples/gifscale.pl sourced the base value for gif_top from
87 Thanks to Eleneldil G. Arilou for pointing this out.
89 - t/t82inline.t no longer loads B at runtime, to work around a bug
90 in some 5.005_0[45] installations.
91 http://rt.cpan.org/Ticket/Display.html?id=30508
93 - work around Module::Depends::Intrusive bug #21229
94 http://rt.cpan.org/Ticket/Display.html?id=30520
96 - the hardinvert filter no-longer inverts the alpha channel.
97 http://rt.cpan.org/Ticket/Display.html?id=30002
99 - the hardinvert filter now supports large samples
101 Imager 0.61_02 - 28 November 2007
104 - major TIFF support re-work
105 http://rt.cpan.org/Ticket/Display.html?id=20329
107 - added a C level image interface for accessing samples from 1-32
108 bits, exposed this at the perl level in getsamples()
110 - the conv filter now works at floating point precision for high bit
113 - added is_bilevel method to test whether an image should be written as
114 a bilevel image if the image format supports it.
116 - added -log-stderr as an Imager import list option
118 - added some important types to Imager::APIRef
120 - added test_image_double() to Imager::Test
124 - Imager::Fountain couldn't read GIMP gradient files with 10 or more
127 - the scale() method with qtype mixing now handles images with an
128 alpha channel correctly.
130 - fixed a broken link from the "animated GIF" entry in the concept index.
131 Thanks to Slaven Rezic.
132 http://rt.cpan.org/Ticket/Display.html?id=30889
134 - on some perl's the infix expression parser test would fail due to
135 actions in the grammar returning false. Made sure all actions return
137 Thanks to Richard Fairhurst for spending a lot of time in tracking
139 http://rt.cpan.org/Public/Bug/Display.html?id=29562
141 Imager 0.61 - 5 November 2007
144 - added samples/gifscale.pl, which adjusts the screen size/position tags
145 when scaling an animated gif
146 http://rt.cpan.org/Ticket/Display.html?id=27591
150 - correct handling of sz in matrix_transform() - this should allow
151 perspective type transformations to work now.
152 http://rt.cpan.org/Ticket/Display.html?id=29936
154 - prevent a cast to integer warning on x64 builds in datatypes.c
155 also fixed some other type warnings
156 https://rt.cpan.org/Ticket/Display.html?id=30204
158 - some sub-directory tests depended on files produced by the parent
160 http://rt.cpan.org/Ticket/Display.html?id=30203
162 - Imager::Font::Wrap doesn't correctly set savepos
163 thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this.
164 http://rt.cpan.org/Ticket/Display.html?id=29771
166 - test 171 in t/t01introvert.t was failing on perls configured to
168 http://rt.cpan.org/Ticket/Display.html?id=29413
170 - the code for the transform2() uminus operator was missing a break.
171 Added tests for better code coverage of the ops.
172 http://rt.cpan.org/Ticket/Display.html?id=29296
174 - the SGI RLE compression code could overflow its compression buffer
175 http://rt.cpan.org/Ticket/Display.html?id=30334
177 - the 32-bit output function used by the SGI code only handled values
178 under 0x10000. This was most noticable when writing large RLE images.
179 http://rt.cpan.org/Ticket/Display.html?id=30335
181 - validate chan_count for chans == NULL for each of the i_gsamp()
183 http://rt.cpan.org/Ticket/Display.html?id=28985
185 - attempt to work around the test failure at
186 http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html
187 http://rt.cpan.org/Ticket/Display.html?id=29562
189 - improve the error messages produced when attempting to read or write
190 an unknown image file format.
191 http://rt.cpan.org/Ticket/Display.html?id=30103
193 - improve the transform2() documentation
194 http://rt.cpan.org/Ticket/Display.html?id=29267
196 - correctly generate the author key in META.yml
197 http://rt.cpan.org/Ticket/Display.html?id=30377
199 - correctly blend a rotated (or matrix_transformed()) image when
200 performing interpolation in the presence of an alpha channel.
201 Also corrected the centring of the rotated image on the output
204 Imager 0.60 - 30 August 2007
207 - Finished/rewrote Arnar's old SGI RGB file format support, so Imager
208 now has full SGI RGB image format, including RLE and 16-bit/sample
210 https://rt.cpan.org/Ticket/Display.html?id=8666
212 - logging functions are now available in the API
214 - applied Gabriel Vasseur's patch
215 added documentation, further tests, and support for greyscale images
216 Obviously problems are my fault :)
217 https://rt.cpan.org/Ticket/Display.html?id=28142
219 - the mask for ICO/CUR images is now applied as an alpha channel to
220 the returned image. For the old behaviour, supply ico_masked => 0
221 to read() or read_multi(). This should be less confusing when
222 using Imager as a general image processor.
223 https://rt.cpan.org/Ticket/Display.html?id=29001
227 - in some cases it's possible for giflib/libungif to return color
228 indexes outside the range of colors defined by the image's palette.
229 We now expand the palette to match the indexes used.
230 Thanks to Gabriel Vasseur for reporting this.
232 - fixed various memory leaks that could occur when failing to read png,
233 jpeg, bmp or tga files.
235 - to avoid confusion, channels not present in the image are returned as
236 zero by getscanline(). This has no effect on the C level i_glin()
237 and i_glinf() API functions which continue to not set the unused
240 - the convert() method now returns an image of the same sample size as
242 https://rt.cpan.org/Ticket/Display.html?id=28492
244 - remove repeated text in Imager::Files
245 http://rt.cpan.org/Ticket/Display.html?id=27589
247 - be even more explicit that scale() and friends don't modify the source
248 image, but return a new image.
249 http://rt.cpan.org/Ticket/Display.html?id=28570
251 - improve the error message from errstr() when you try to load a font
252 for which the driver hasn't been built in Imager.
253 http://rt.cpan.org/Ticket/Display.html?id=27571
255 - transparency is now enabled by default when writing GIF images
256 http://rt.cpan.org/Ticket/Display.html?id=27615
258 - Imager would not load on Windows 98
259 http://rt.cpan.org/Ticket/Display.html?id=27653
261 Imager 0.59 - 14 June 2007
266 - fixes a regression introduced by the fixes for RT 11972
267 http://rt.cpan.org/Ticket/Display.html?id=27546
269 - cropping outside the image would return an Imager object with
270 no low-level image object, instead of returning false.
271 Fixed by: Philip Gwyn (Leolo)
272 http://rt.cpan.org/Ticket/Display.html?id=27509
274 Imager 0.58 - 16 May 2007
277 No significant changes from 0.57_01.
279 Imager 0.57_01 - 11 May 2007
282 - added to_rgb16 to produce a 16-bit/sample version of an image
284 - improve freetype 1.x text output efficiency
288 - search another place for rgb.txt, and check all the places
289 Imager::Color checks when deciding whether to skip testing it
290 http://rt.cpan.org/Ticket/Display.html?id=26064
292 - use a convolution kernel size based on the stddev rather than a
293 fixed size when performing a gaussian blur
294 http://rt.cpan.org/Ticket/Display.html?id=25645
296 - document the difference() method's mindist parameter, and debug it.
298 - put the Imager release number in the Inline::C generated code to
299 regenerate Inline code when a new release of Imager is installed.
300 http://rt.cpan.org/Ticket/Display.html?id=26278
302 - fix rendering on alpha channel images for the FreeType 1.x driver.
303 http://rt.cpan.org/Ticket/Display.html?id=11972
305 - fix rendering on alpha channel images for the T1lib driver.
306 http://rt.cpan.org/Ticket/Display.html?id=11972
308 - reworked library probing, we can now set more than one probe
309 function for a library. Disabled the default (non-freetype-config)
310 library probe and added an extra probe function that searches for
311 both ft2build.h and whatever it includes, and adds -I as needed.
312 Hopefully this will fix build problems like
313 http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html
314 http://rt.cpan.org/Ticket/Display.html?id=26086
316 Imager 0.57 - 30 Apr 2007
319 This is a maintenence release fixing a security issue in Imager.
321 - CRITICAL: a specially crafted compressed BMP file can cause a buffer
322 overflow in malloced memory. There will be further discussion of
323 this issue in the ticket below.
324 http://rt.cpan.org/Ticket/Display.html?id=26811
325 CVE-2007-2459 CVE-2007-2413
326 The descriptions at cve.mitre.org varied in quality, please see the
327 ticket at rt.cpan.org for a more accurate description of the issue.
329 Imager 0.56 - 1 Apr 2007
332 - added support for reading 16-bit/sample PGM/PPM images
334 - added support for writing 16-bit/sample PGM/PPM images
336 - improved performance of reading PBM/PGM/PPM images
338 - added support for writing PBM images if the image is paletted and
339 contains only black and white
341 - added a new make_colors value - "mono"
343 - switched from the svn log Changes to a manual Changes to reduce
346 - new sample code - samples/flasher.pl
350 - CRITICAL: the "Imager" typemap entry (not used by Imager itself)
351 was returning an image object with an extra reference, this
352 resulted in a memory leak.
353 http://rt.cpan.org/Ticket/Display.html?id=24992
355 - fix rendering on alpha channel images for the FreeType 2.x driver
356 http://rt.cpan.org/Ticket/Display.html?id=11972
358 - reading bmp files now consitently handles short reads. You can now
359 supply a parameter to treat a short read as successful and set
361 http://rt.cpan.org/Ticket/Display.html?id=8426
363 - previously, reading ASCII PBM files required spaces between samples,
364 even though the format doesn't require that
366 - improved documentation of the unsharpmask filter (I hope)
367 http://rt.cpan.org/Ticket/Display.html?id=25531
369 - force flushing of the output from i_tt_dump_names() and test output
370 in t/t35ttfont.t to prevent output from being mixed up.
371 https://rt.cpan.org/Ticket/Display.html?id=24859
373 - rewrite a conditional expression as an if() to hopefully work around
374 a bug in the pre-4.0 GCC Apple shipped with OS X 10.4.
375 https://rt.cpan.org/Ticket/Display.html?id=25561
377 - avoid Data::Dumper in regops.perl to support older releases of perl
378 https://rt.cpan.org/Ticket/Display.html?id=24391
380 Imager 0.55 - 16 Dec 2006
383 This is primarily a bug fix release.
385 Note: Test::More is now a pre-requisite for Imager and is no longer bundled.
387 There is one new feature:
389 - the Win32 font driver now supports UTF8 (RT 22166)
390 http://www.cpanforum.com/threads/3276
391 http://rt.cpan.org/Ticket/Display.html?id=22166
393 Several bugs were fixed:
395 - the string() method would not output the string "0"
396 http://rt.cpan.org/Public/Bug/Display.html?id=21770
398 - fills.c was failing to compile on Solaris 10 (compiler unknown)
399 http://rt.cpan.org/Public/Bug/Display.html?id=21944
401 - the gif_disposal and gif_user_input tags weren't being read from
403 http://rt.cpan.org/Public/Bug/Display.html?id=22192
405 - gif.c was failing to build under MSVC
406 http://rt.cpan.org/Ticket/Display.html?id=23922
408 - in some cases strings passed to the string() method were treated as
409 terminated by NUL (chr 0)
410 http://rt.cpan.org/Public/Bug/Display.html?id=21770
412 - on "MSWin32" perl builds we now link to -lzlib instead of -lz since
413 that's the default build name for zlib on Win32.
414 http://rt.cpan.org/Ticket/Display.html?id=23064
416 - search $Config{incpath} for headers too, which we should have been
419 Win32 font driver fixes:
421 - the global descent value from bounding box was the wrong sign
422 http://www.cpanforum.com/threads/3276
424 - if the first or last glyph overflowed the left or right side of the
425 advance width they would be clipped
428 Imager 0.54 - 14 Sep 2006
431 This is primarily a feature release:
433 - a new qtype value 'mixing' has been added to the scale()
434 method. This is faster than 'normal', slower than 'preview'. This
435 is based on the method used by pnmscale, and seems to produce less
436 blurry results than normal.
437 http://rt.cpan.org/Public/Bug/Display.html?id=20677
439 - the rubthrough() method can now render onto images with an alpha
441 http://rt.cpan.org/Ticket/Display.html?id=20678
443 - the read_multi() method now falls back to calling doing a single
444 image read via the read() method and write_multi() will now fall
445 back to calling write() if a single image is supplied. This means
446 you can simply call the read_multi() or write_multi() functions
447 without having to check if the type is formatted by that method.
448 http://rt.cpan.org/Ticket/Display.html?id=19457
449 http://rt.cpan.org/Ticket/Display.html?id=19458
451 - the GIF loop extension can now be written. If you don't have
452 libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you
454 http://rt.cpan.org/Ticket/Display.html?id=21185
456 - getscanline() and setscanline() can now read/write palette index
457 based data from/to the image for paletted images, by setting type to
459 http://rt.cpan.org/Ticket/Display.html?id=20338
461 - we no longer hassle you to disable GIF support
462 http://rt.cpan.org/Ticket/Display.html?id=20687
464 - minor documentation fixes
467 Imager 0.53 - 26 Jul 2006
470 This is a bugfix release.
472 Some test code was left in a code path not covered by the test
473 suite. A test was added to cover this code path and the test code was
475 http://rt.cpan.org/Public/Bug/Display.html?id=20705
478 Imager 0.52 - 25 Jul 2006
481 This is primarily a feature release, but contains a fair few bug
484 - ability to read and write MS Windows ICO and CUR files
486 - you can now add file format plugins to support new file formats
488 - add POD coverage tests
490 - setcolors() and addcolors() now accept color names and so on
491 instead of requiring Imager::Color objects.
492 http://rt.cpan.org/Ticket/Display.html?id=20056
494 - flood_fill() can now fill to a specified border color instead of
495 just to the area the same color as the seed.
496 http://rt.cpan.org/Ticket/Display.html?id=19618
501 - bounding_box for the T1 driver wasn't converting UTF8 to ascii when
502 calculating the advance width.
503 http://rt.cpan.org/Public/Bug/Display.html?id=20554
505 - bounding_box for the T1 driver wasn't including leading and
506 trailing spaces in the bounding box as the other drivers did, it also
507 produced strange results for empty strings or strings containing only
510 - when reading CMYK jpeg images they were being transferred to the
511 image object as is, producing a four channel image. It only looked ok
512 due to an old still unfixed Photoshop bug. We now convert from the
513 inverted CMYK that photoshop (and Corel for example) produce into RGB.
514 http://rt.cpan.org/Ticket/Display.html?id=20416
516 - reading a CYMK TIFF would result in a 4 channel image, reading any
517 image with more than 4 channels (eg. RGB with 2 alpha channels) would
519 http://rt.cpan.org/Ticket/Display.html?id=20415
521 - added /usr/local/include to the default include search path, since
522 we were already searching /usr/local/lib for libraries.
524 And various minor fixes and documentation updates.
527 Imager 0.51 - 23 Apr 2006
530 - fix a validation bug when processing JPEG EXIF data that can cause
532 http://rt.cpan.org/Public/Bug/Display.html?id=18496
534 - fix mis-processing of the src_maxx and src_maxy parameters of the
536 http://rt.cpan.org/Public/Bug/Display.html?id=18712
538 - fix a problem in Imager's "smart" handling of the color parameter
540 http://rt.cpan.org/Public/Bug/Display.html?id=18561
543 Imager 0.50 - 29 Mar 2006
546 - CRITICAL: fixes a segmentation fault from attempting to write a 2
547 or 4 channel image to jpeg or a 2 channel image to tga where the
548 output is an in-memeory buffer.
549 http://rt.cpan.org/Public/Bug/Display.html?id=18397
551 - fixes an incorrect pointer parameter in the PNG code
552 http://rt.cpan.org/Public/Bug/Display.html?id=18051
554 - skip Inline::C tests when building in a directory with spaces
555 http://rt.cpan.org/Public/Bug/Display.html?id=18049