1 Imager release history. Older releases can be found in Changes.old
3 Imager 0.68 - unreleased
8 - correct documentation of default of raw image interleave read
10 https://rt.cpan.org/Ticket/Display.html?id=42074
12 - add raw_ prefix to raw read parameters, though the original names
15 - fail the read if an invalid raw_interleave parameter is supplied
17 - warn if no interleave or raw_interleave parameter is supplied,
18 since the documented default was wrong, and incompatible with the
21 - for reading raw images, if raw_storechannels > raw_datachannels,
22 set the extra channels in the image to 0
25 Imager 0.67 - 12 Dec 2008
30 - fix a packaging error
32 Imager 0.66 - 12 Dec 2008
35 - 24-bit color .ICO/.CUR files can now be read.
39 - an optimization skipping 0 src alpha values could cause the
40 rubthrough() to read past the end of a buffer.
41 http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1509184.html
43 - corrected a reference leak where writing GIFs would leak memory.
44 This could also happen calling to_paletted().
45 Also documented the underlying long existing feature where the
46 colors parameter is filled with the generated color table and added
48 http://rt.cpan.org/Ticket/Display.html?id=41028
50 - write out the image size in bytes field of a BMP correctly.
51 http://rt.cpan.org/Ticket/Display.html?id=41406
53 - add limited tests for Imager::ExtUtils
55 - make Imager::ExtUtils->includes use an absolute path, since
56 a relative path could cause failures using Inline::C.
57 http://rt.cpan.org/Ticket/Display.html?id=37353
59 - re-arrange the POD for Imager::Font::BBox:
60 - mark total_width(), pos_width(), end_offset() obsolete, since
61 they're mostly for backwards compatibility
62 - group width methods and height methods
63 https://rt.cpan.org/Ticket/Display.html?id=39999
65 Imager 0.65 - 20 May 2008
70 - In some cases when an error occurs reading those parts of a JPEG
71 file after the image the scan-line buffer could be freed a second
72 time. In cases where the the error occured while reading the image
73 data it's possible that the buffer could have leaked.
74 Thanks to Gabriel Vasseur for reporting this and help in tracking
77 - the gif_screen_height tag was overriding the screen width and being
78 ignored for the screen height when present.
79 https://rt.cpan.org/Public/Bug/Display.html?id=35568
81 Imager 0.64 - 23 April 2008
84 This is a bug fix release. This includes a fix for a possible
89 - Possible security issue: The floating point sample path for image
90 based fills had a buffer overflow. This would overwrite the end of
91 a malloc()ed buffer with double precision floats.
92 http://rt.cpan.org/Ticket/Display.html?id=35324
95 - check that the result of fileno($fh) is defined rather than simply
96 true when read() or write() is supplied with an fh parameter.
97 http://rt.cpan.org/Ticket/Display.html?id=35139
99 - i_scale_axis() wasn't checking the result of i_img_new_ch()
100 resulting in a SIGSEGV when attempting to scale an image to a size
101 too large to fit in memory. This is a NULL pointer access issue,
102 not a buffer overflow.
103 Added a check for the failure.
104 scale_calculate() (and hence scale()) will now fail if any of the
105 scale size parameters are a reference.
106 http://rt.cpan.org/Ticket/Display.html?id=35172
108 - Regression: filling a greyscale image with a hatch used the wrong
109 color channels from the supplied fg/bg colors.
110 https://rt.cpan.org/Ticket/Display.html?id=35278
112 - fixed a related problem for image fills.
114 Imager 0.63 - 7 April 2008
117 This release primarily contains changes to improve ease of use -
118 rather than you having to convert images to the appropriate number of
119 channels, Imager handles it internally. How to handle drawing colors
120 and the default combine mode is a thornier problem left for some other
123 - the font libraries are now only initialized when needed.
124 http://rt.cpan.org/Ticket/Display.html?id=28825
126 - moved the imtoc.perl code into Imager::Preprocess
128 - paste() and rubthrough() now adapt the source image data to the
129 destination, so you can now safely paste/rubthrough from greyscale
130 images to color images or back, or from alpha channel images to
131 noalpha channels or back.
132 https://rt.cpan.org/Ticket/Display.html?id=30908
134 - rubthrough() now falls back to pasting when the source doesn't have
135 an alpha channel. This effectively treats the source as having a
136 max alpha channel, the right thing to do.
137 http://rt.cpan.org/Ticket/Display.html?id=29944
139 - re-worked most of the area filling code to use a common set of
140 functions when filling.
141 Corrected normal combine mode.
142 Rewrote most of the combine modes to match the way the SVG draft
143 defines them with respect to a translucent source and destination.
144 Added tests for translucent source and destination.
145 Added tests to check 8-bit/sample and double/sample combines work
147 https://rt.cpan.org/Ticket/Display.html?id=29879
149 - writing a 2 or 4 channel image to a JPEG file will now write that
150 image as if composited against a background, black by default,
151 overridable with the i_background tag/parameter.
152 https://rt.cpan.org/Ticket/Display.html?id=29876
154 - writing a 2 or 4 channel image to a PGM/PPM file will now write
155 that image as if composited against a background, black by default,
156 overridable with the i_background tag/parameter.
157 http://rt.cpan.org/Ticket/Display.html?id=30074
159 - writing a 2 or 4 channel image to a BMP file will now write that
160 image as if composited against a background, black by default,
161 overridable with the i_background tag/parameter.
162 http://rt.cpan.org/Ticket/Display.html?id=30075
166 - Imager::Matrix2d->translate() now only requires one of the x or y
168 http://rt.cpan.org/Ticket/Display.html?id=29937
170 - mixing qtype scaling now sets all channels of a pixel to zero if
171 the pixel has zero coverage (zero alpha). This should produce more
172 compressible output files.
173 http://rt.cpan.org/Ticket/Display.html?id=32324
175 - removed the pointless #! line from lib/Imager/Font/Wrap.pm
177 https://bugzilla.redhat.com/show_bug.cgi?id=166254
178 I'm not changing the #! lines of the sample code, since it's sample
179 code, not intended for installation.
180 http://rt.cpan.org/Ticket/Display.html?id=33408
182 - some TGA images weren't being detected correctly as TGA images
183 https://rt.cpan.org/Ticket/Display.html?id=32925
185 - handling of the left-over bit for 16-bit/pixel TGA images has been
186 changed to match the behaviour of the GIMP. Previously the bit
187 being set was treated as an opaque pixel, but one user reported a
188 problem with loading such an image. I haven't been able to find any
189 tools beyond the GIMP that handle alpha-channel 16-bit TGAs, so
190 I'll match it's behaviour. See issue 114913 in the GIMP's
192 http://rt.cpan.org/Ticket/Display.html?id=32926
194 Imager 0.62 - 10 December 2007
197 - Makefile.PL now expands ~/path supplied to --incpath or --libpath
198 to /path under your home directory.
199 http://rt.cpan.org/Ticket/Display.html?id=29484
201 - the old dynaload code used Mach API functions to load dynamic
202 libraries on Mac OS X. These APIs have been deprecated in OS X
203 10.5 and were causing some build problems.
204 So henceforth Imager uses the dlopen() family of functions, and you
205 will need version 10.3 or later of OS X.
207 - added the det() function to the transform2() engine.
208 added the sample quad_to_square.pl
209 Courtesy Richard Fairhurst.
210 http://rt.cpan.org/Ticket/Display.html?id=31244
214 - samples/gifscale.pl sourced the base value for gif_top from
216 Thanks to Eleneldil G. Arilou for pointing this out.
218 - t/t82inline.t no longer loads B at runtime, to work around a bug
219 in some 5.005_0[45] installations.
220 http://rt.cpan.org/Ticket/Display.html?id=30508
222 - work around Module::Depends::Intrusive bug #21229
223 http://rt.cpan.org/Ticket/Display.html?id=30520
225 - the hardinvert filter no-longer inverts the alpha channel.
226 http://rt.cpan.org/Ticket/Display.html?id=30002
228 - the hardinvert filter now supports large samples
230 Imager 0.61_02 - 28 November 2007
233 - major TIFF support re-work
234 http://rt.cpan.org/Ticket/Display.html?id=20329
236 - added a C level image interface for accessing samples from 1-32
237 bits, exposed this at the perl level in getsamples()
239 - the conv filter now works at floating point precision for high bit
242 - added is_bilevel method to test whether an image should be written as
243 a bilevel image if the image format supports it.
245 - added -log-stderr as an Imager import list option
247 - added some important types to Imager::APIRef
249 - added test_image_double() to Imager::Test
253 - Imager::Fountain couldn't read GIMP gradient files with 10 or more
256 - the scale() method with qtype mixing now handles images with an
257 alpha channel correctly.
259 - fixed a broken link from the "animated GIF" entry in the concept index.
260 Thanks to Slaven Rezic.
261 http://rt.cpan.org/Ticket/Display.html?id=30889
263 - on some perl's the infix expression parser test would fail due to
264 actions in the grammar returning false. Made sure all actions return
266 Thanks to Richard Fairhurst for spending a lot of time in tracking
268 http://rt.cpan.org/Public/Bug/Display.html?id=29562
270 Imager 0.61 - 5 November 2007
273 - added samples/gifscale.pl, which adjusts the screen size/position tags
274 when scaling an animated gif
275 http://rt.cpan.org/Ticket/Display.html?id=27591
279 - correct handling of sz in matrix_transform() - this should allow
280 perspective type transformations to work now.
281 http://rt.cpan.org/Ticket/Display.html?id=29936
283 - prevent a cast to integer warning on x64 builds in datatypes.c
284 also fixed some other type warnings
285 https://rt.cpan.org/Ticket/Display.html?id=30204
287 - some sub-directory tests depended on files produced by the parent
289 http://rt.cpan.org/Ticket/Display.html?id=30203
291 - Imager::Font::Wrap doesn't correctly set savepos
292 thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this.
293 http://rt.cpan.org/Ticket/Display.html?id=29771
295 - test 171 in t/t01introvert.t was failing on perls configured to
297 http://rt.cpan.org/Ticket/Display.html?id=29413
299 - the code for the transform2() uminus operator was missing a break.
300 Added tests for better code coverage of the ops.
301 http://rt.cpan.org/Ticket/Display.html?id=29296
303 - the SGI RLE compression code could overflow its compression buffer
304 http://rt.cpan.org/Ticket/Display.html?id=30334
306 - the 32-bit output function used by the SGI code only handled values
307 under 0x10000. This was most noticable when writing large RLE images.
308 http://rt.cpan.org/Ticket/Display.html?id=30335
310 - validate chan_count for chans == NULL for each of the i_gsamp()
312 http://rt.cpan.org/Ticket/Display.html?id=28985
314 - attempt to work around the test failure at
315 http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html
316 http://rt.cpan.org/Ticket/Display.html?id=29562
318 - improve the error messages produced when attempting to read or write
319 an unknown image file format.
320 http://rt.cpan.org/Ticket/Display.html?id=30103
322 - improve the transform2() documentation
323 http://rt.cpan.org/Ticket/Display.html?id=29267
325 - correctly generate the author key in META.yml
326 http://rt.cpan.org/Ticket/Display.html?id=30377
328 - correctly blend a rotated (or matrix_transformed()) image when
329 performing interpolation in the presence of an alpha channel.
330 Also corrected the centring of the rotated image on the output
333 Imager 0.60 - 30 August 2007
336 - Finished/rewrote Arnar's old SGI RGB file format support, so Imager
337 now has full SGI RGB image format, including RLE and 16-bit/sample
339 https://rt.cpan.org/Ticket/Display.html?id=8666
341 - logging functions are now available in the API
343 - applied Gabriel Vasseur's patch
344 added documentation, further tests, and support for greyscale images
345 Obviously problems are my fault :)
346 https://rt.cpan.org/Ticket/Display.html?id=28142
348 - the mask for ICO/CUR images is now applied as an alpha channel to
349 the returned image. For the old behaviour, supply ico_masked => 0
350 to read() or read_multi(). This should be less confusing when
351 using Imager as a general image processor.
352 https://rt.cpan.org/Ticket/Display.html?id=29001
356 - in some cases it's possible for giflib/libungif to return color
357 indexes outside the range of colors defined by the image's palette.
358 We now expand the palette to match the indexes used.
359 Thanks to Gabriel Vasseur for reporting this.
361 - fixed various memory leaks that could occur when failing to read png,
362 jpeg, bmp or tga files.
364 - to avoid confusion, channels not present in the image are returned as
365 zero by getscanline(). This has no effect on the C level i_glin()
366 and i_glinf() API functions which continue to not set the unused
369 - the convert() method now returns an image of the same sample size as
371 https://rt.cpan.org/Ticket/Display.html?id=28492
373 - remove repeated text in Imager::Files
374 http://rt.cpan.org/Ticket/Display.html?id=27589
376 - be even more explicit that scale() and friends don't modify the source
377 image, but return a new image.
378 http://rt.cpan.org/Ticket/Display.html?id=28570
380 - improve the error message from errstr() when you try to load a font
381 for which the driver hasn't been built in Imager.
382 http://rt.cpan.org/Ticket/Display.html?id=27571
384 - transparency is now enabled by default when writing GIF images
385 http://rt.cpan.org/Ticket/Display.html?id=27615
387 - Imager would not load on Windows 98
388 http://rt.cpan.org/Ticket/Display.html?id=27653
390 Imager 0.59 - 14 June 2007
395 - fixes a regression introduced by the fixes for RT 11972
396 http://rt.cpan.org/Ticket/Display.html?id=27546
398 - cropping outside the image would return an Imager object with
399 no low-level image object, instead of returning false.
400 Fixed by: Philip Gwyn (Leolo)
401 http://rt.cpan.org/Ticket/Display.html?id=27509
403 Imager 0.58 - 16 May 2007
406 No significant changes from 0.57_01.
408 Imager 0.57_01 - 11 May 2007
411 - added to_rgb16 to produce a 16-bit/sample version of an image
413 - improve freetype 1.x text output efficiency
417 - search another place for rgb.txt, and check all the places
418 Imager::Color checks when deciding whether to skip testing it
419 http://rt.cpan.org/Ticket/Display.html?id=26064
421 - use a convolution kernel size based on the stddev rather than a
422 fixed size when performing a gaussian blur
423 http://rt.cpan.org/Ticket/Display.html?id=25645
425 - document the difference() method's mindist parameter, and debug it.
427 - put the Imager release number in the Inline::C generated code to
428 regenerate Inline code when a new release of Imager is installed.
429 http://rt.cpan.org/Ticket/Display.html?id=26278
431 - fix rendering on alpha channel images for the FreeType 1.x driver.
432 http://rt.cpan.org/Ticket/Display.html?id=11972
434 - fix rendering on alpha channel images for the T1lib driver.
435 http://rt.cpan.org/Ticket/Display.html?id=11972
437 - reworked library probing, we can now set more than one probe
438 function for a library. Disabled the default (non-freetype-config)
439 library probe and added an extra probe function that searches for
440 both ft2build.h and whatever it includes, and adds -I as needed.
441 Hopefully this will fix build problems like
442 http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html
443 http://rt.cpan.org/Ticket/Display.html?id=26086
445 Imager 0.57 - 30 Apr 2007
448 This is a maintenence release fixing a security issue in Imager.
450 - CRITICAL: a specially crafted compressed BMP file can cause a buffer
451 overflow in malloced memory. There will be further discussion of
452 this issue in the ticket below.
453 http://rt.cpan.org/Ticket/Display.html?id=26811
454 CVE-2007-2459 CVE-2007-2413
455 The descriptions at cve.mitre.org varied in quality, please see the
456 ticket at rt.cpan.org for a more accurate description of the issue.
458 Imager 0.56 - 1 Apr 2007
461 - added support for reading 16-bit/sample PGM/PPM images
463 - added support for writing 16-bit/sample PGM/PPM images
465 - improved performance of reading PBM/PGM/PPM images
467 - added support for writing PBM images if the image is paletted and
468 contains only black and white
470 - added a new make_colors value - "mono"
472 - switched from the svn log Changes to a manual Changes to reduce
475 - new sample code - samples/flasher.pl
479 - CRITICAL: the "Imager" typemap entry (not used by Imager itself)
480 was returning an image object with an extra reference, this
481 resulted in a memory leak.
482 http://rt.cpan.org/Ticket/Display.html?id=24992
484 - fix rendering on alpha channel images for the FreeType 2.x driver
485 http://rt.cpan.org/Ticket/Display.html?id=11972
487 - reading bmp files now consitently handles short reads. You can now
488 supply a parameter to treat a short read as successful and set
490 http://rt.cpan.org/Ticket/Display.html?id=8426
492 - previously, reading ASCII PBM files required spaces between samples,
493 even though the format doesn't require that
495 - improved documentation of the unsharpmask filter (I hope)
496 http://rt.cpan.org/Ticket/Display.html?id=25531
498 - force flushing of the output from i_tt_dump_names() and test output
499 in t/t35ttfont.t to prevent output from being mixed up.
500 https://rt.cpan.org/Ticket/Display.html?id=24859
502 - rewrite a conditional expression as an if() to hopefully work around
503 a bug in the pre-4.0 GCC Apple shipped with OS X 10.4.
504 https://rt.cpan.org/Ticket/Display.html?id=25561
506 - avoid Data::Dumper in regops.perl to support older releases of perl
507 https://rt.cpan.org/Ticket/Display.html?id=24391
509 Imager 0.55 - 16 Dec 2006
512 This is primarily a bug fix release.
514 Note: Test::More is now a pre-requisite for Imager and is no longer bundled.
516 There is one new feature:
518 - the Win32 font driver now supports UTF8 (RT 22166)
519 http://www.cpanforum.com/threads/3276
520 http://rt.cpan.org/Ticket/Display.html?id=22166
522 Several bugs were fixed:
524 - the string() method would not output the string "0"
525 http://rt.cpan.org/Public/Bug/Display.html?id=21770
527 - fills.c was failing to compile on Solaris 10 (compiler unknown)
528 http://rt.cpan.org/Public/Bug/Display.html?id=21944
530 - the gif_disposal and gif_user_input tags weren't being read from
532 http://rt.cpan.org/Public/Bug/Display.html?id=22192
534 - gif.c was failing to build under MSVC
535 http://rt.cpan.org/Ticket/Display.html?id=23922
537 - in some cases strings passed to the string() method were treated as
538 terminated by NUL (chr 0)
539 http://rt.cpan.org/Public/Bug/Display.html?id=21770
541 - on "MSWin32" perl builds we now link to -lzlib instead of -lz since
542 that's the default build name for zlib on Win32.
543 http://rt.cpan.org/Ticket/Display.html?id=23064
545 - search $Config{incpath} for headers too, which we should have been
548 Win32 font driver fixes:
550 - the global descent value from bounding box was the wrong sign
551 http://www.cpanforum.com/threads/3276
553 - if the first or last glyph overflowed the left or right side of the
554 advance width they would be clipped
557 Imager 0.54 - 14 Sep 2006
560 This is primarily a feature release:
562 - a new qtype value 'mixing' has been added to the scale()
563 method. This is faster than 'normal', slower than 'preview'. This
564 is based on the method used by pnmscale, and seems to produce less
565 blurry results than normal.
566 http://rt.cpan.org/Public/Bug/Display.html?id=20677
568 - the rubthrough() method can now render onto images with an alpha
570 http://rt.cpan.org/Ticket/Display.html?id=20678
572 - the read_multi() method now falls back to calling doing a single
573 image read via the read() method and write_multi() will now fall
574 back to calling write() if a single image is supplied. This means
575 you can simply call the read_multi() or write_multi() functions
576 without having to check if the type is formatted by that method.
577 http://rt.cpan.org/Ticket/Display.html?id=19457
578 http://rt.cpan.org/Ticket/Display.html?id=19458
580 - the GIF loop extension can now be written. If you don't have
581 libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you
583 http://rt.cpan.org/Ticket/Display.html?id=21185
585 - getscanline() and setscanline() can now read/write palette index
586 based data from/to the image for paletted images, by setting type to
588 http://rt.cpan.org/Ticket/Display.html?id=20338
590 - we no longer hassle you to disable GIF support
591 http://rt.cpan.org/Ticket/Display.html?id=20687
593 - minor documentation fixes
596 Imager 0.53 - 26 Jul 2006
599 This is a bugfix release.
601 Some test code was left in a code path not covered by the test
602 suite. A test was added to cover this code path and the test code was
604 http://rt.cpan.org/Public/Bug/Display.html?id=20705
607 Imager 0.52 - 25 Jul 2006
610 This is primarily a feature release, but contains a fair few bug
613 - ability to read and write MS Windows ICO and CUR files
615 - you can now add file format plugins to support new file formats
617 - add POD coverage tests
619 - setcolors() and addcolors() now accept color names and so on
620 instead of requiring Imager::Color objects.
621 http://rt.cpan.org/Ticket/Display.html?id=20056
623 - flood_fill() can now fill to a specified border color instead of
624 just to the area the same color as the seed.
625 http://rt.cpan.org/Ticket/Display.html?id=19618
630 - bounding_box for the T1 driver wasn't converting UTF8 to ascii when
631 calculating the advance width.
632 http://rt.cpan.org/Public/Bug/Display.html?id=20554
634 - bounding_box for the T1 driver wasn't including leading and
635 trailing spaces in the bounding box as the other drivers did, it also
636 produced strange results for empty strings or strings containing only
639 - when reading CMYK jpeg images they were being transferred to the
640 image object as is, producing a four channel image. It only looked ok
641 due to an old still unfixed Photoshop bug. We now convert from the
642 inverted CMYK that photoshop (and Corel for example) produce into RGB.
643 http://rt.cpan.org/Ticket/Display.html?id=20416
645 - reading a CYMK TIFF would result in a 4 channel image, reading any
646 image with more than 4 channels (eg. RGB with 2 alpha channels) would
648 http://rt.cpan.org/Ticket/Display.html?id=20415
650 - added /usr/local/include to the default include search path, since
651 we were already searching /usr/local/lib for libraries.
653 And various minor fixes and documentation updates.
656 Imager 0.51 - 23 Apr 2006
659 - fix a validation bug when processing JPEG EXIF data that can cause
661 http://rt.cpan.org/Public/Bug/Display.html?id=18496
663 - fix mis-processing of the src_maxx and src_maxy parameters of the
665 http://rt.cpan.org/Public/Bug/Display.html?id=18712
667 - fix a problem in Imager's "smart" handling of the color parameter
669 http://rt.cpan.org/Public/Bug/Display.html?id=18561
672 Imager 0.50 - 29 Mar 2006
675 - CRITICAL: fixes a segmentation fault from attempting to write a 2
676 or 4 channel image to jpeg or a 2 channel image to tga where the
677 output is an in-memeory buffer.
678 http://rt.cpan.org/Public/Bug/Display.html?id=18397
680 - fixes an incorrect pointer parameter in the PNG code
681 http://rt.cpan.org/Public/Bug/Display.html?id=18051
683 - skip Inline::C tests when building in a directory with spaces
684 http://rt.cpan.org/Public/Bug/Display.html?id=18049