1 Imager release history. Older releases can be found in Changes.old
8 - broken test fix - was attempting to call a function skip_all, when
9 that should be a parameter to plan().
11 Imager 0.68 - 07 Sep 2009
14 - Imager->new(file => $filename) and other similar incantations will
16 https://rt.cpan.org/Ticket/Display.html?id=48261
20 - avoid using CHECK as a label in Imager::Test
21 http://nntp.x.perl.org/group/perl.cpan.testers/5220921
23 - re-work most image file test files that require a library into
24 separate library present/not present files to remove stupidly long
27 - don't treat rubthrough() outside the bounds of the target image as
29 http://nntp.x.perl.org/group/perl.cpan.testers/5185716
31 Imager 0.67_01 - 02 Sep 2009
36 - correct documentation of default of raw image interleave read
38 https://rt.cpan.org/Ticket/Display.html?id=42074
40 - add raw_ prefix to raw read parameters, though the original names
43 - fail the read if an invalid raw_interleave parameter is supplied
45 - warn if no interleave or raw_interleave parameter is supplied,
46 since the documented default was wrong, and incompatible with the
49 - for reading raw images, if raw_storechannels > raw_datachannels,
50 set the extra channels in the image to 0
52 - when probing for executables like freetype-config, search for .bat
53 and .cmd on MSWin32, as well as .exe.
54 https://rt.cpan.org/Ticket/Display.html?id=49275
56 - re-work the external libraries section of README:
57 - list Debian and Redhat package names for each library
61 - use the new EU::MM META_MERGE facility instead of generating
63 https://rt.cpan.org/Ticket/Display.html?id=47888
65 - use Devel::CheckLib (bundled, modified) to check which release of
66 libtiff is installed and reject 3.9.0
67 http://bugzilla.maptools.org/show_bug.cgi?id=2088
68 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543079
70 Imager 0.67 - 12 Dec 2008
75 - fix a packaging error
77 Imager 0.66 - 12 Dec 2008
80 - 24-bit color .ICO/.CUR files can now be read.
84 - an optimization skipping 0 src alpha values could cause the
85 rubthrough() to read past the end of a buffer.
86 http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1509184.html
88 - corrected a reference leak where writing GIFs would leak memory.
89 This could also happen calling to_paletted().
90 Also documented the underlying long existing feature where the
91 colors parameter is filled with the generated color table and added
93 http://rt.cpan.org/Ticket/Display.html?id=41028
95 - write out the image size in bytes field of a BMP correctly.
96 http://rt.cpan.org/Ticket/Display.html?id=41406
98 - add limited tests for Imager::ExtUtils
100 - make Imager::ExtUtils->includes use an absolute path, since
101 a relative path could cause failures using Inline::C.
102 http://rt.cpan.org/Ticket/Display.html?id=37353
104 - re-arrange the POD for Imager::Font::BBox:
105 - mark total_width(), pos_width(), end_offset() obsolete, since
106 they're mostly for backwards compatibility
107 - group width methods and height methods
108 https://rt.cpan.org/Ticket/Display.html?id=39999
110 Imager 0.65 - 20 May 2008
115 - In some cases when an error occurs reading those parts of a JPEG
116 file after the image the scan-line buffer could be freed a second
117 time. In cases where the the error occured while reading the image
118 data it's possible that the buffer could have leaked.
119 Thanks to Gabriel Vasseur for reporting this and help in tracking
122 - the gif_screen_height tag was overriding the screen width and being
123 ignored for the screen height when present.
124 https://rt.cpan.org/Public/Bug/Display.html?id=35568
126 Imager 0.64 - 23 April 2008
129 This is a bug fix release. This includes a fix for a possible
134 - Possible security issue: The floating point sample path for image
135 based fills had a buffer overflow. This would overwrite the end of
136 a malloc()ed buffer with double precision floats.
137 http://rt.cpan.org/Ticket/Display.html?id=35324
140 - check that the result of fileno($fh) is defined rather than simply
141 true when read() or write() is supplied with an fh parameter.
142 http://rt.cpan.org/Ticket/Display.html?id=35139
144 - i_scale_axis() wasn't checking the result of i_img_new_ch()
145 resulting in a SIGSEGV when attempting to scale an image to a size
146 too large to fit in memory. This is a NULL pointer access issue,
147 not a buffer overflow.
148 Added a check for the failure.
149 scale_calculate() (and hence scale()) will now fail if any of the
150 scale size parameters are a reference.
151 http://rt.cpan.org/Ticket/Display.html?id=35172
153 - Regression: filling a greyscale image with a hatch used the wrong
154 color channels from the supplied fg/bg colors.
155 https://rt.cpan.org/Ticket/Display.html?id=35278
157 - fixed a related problem for image fills.
159 Imager 0.63 - 7 April 2008
162 This release primarily contains changes to improve ease of use -
163 rather than you having to convert images to the appropriate number of
164 channels, Imager handles it internally. How to handle drawing colors
165 and the default combine mode is a thornier problem left for some other
168 - the font libraries are now only initialized when needed.
169 http://rt.cpan.org/Ticket/Display.html?id=28825
171 - moved the imtoc.perl code into Imager::Preprocess
173 - paste() and rubthrough() now adapt the source image data to the
174 destination, so you can now safely paste/rubthrough from greyscale
175 images to color images or back, or from alpha channel images to
176 noalpha channels or back.
177 https://rt.cpan.org/Ticket/Display.html?id=30908
179 - rubthrough() now falls back to pasting when the source doesn't have
180 an alpha channel. This effectively treats the source as having a
181 max alpha channel, the right thing to do.
182 http://rt.cpan.org/Ticket/Display.html?id=29944
184 - re-worked most of the area filling code to use a common set of
185 functions when filling.
186 Corrected normal combine mode.
187 Rewrote most of the combine modes to match the way the SVG draft
188 defines them with respect to a translucent source and destination.
189 Added tests for translucent source and destination.
190 Added tests to check 8-bit/sample and double/sample combines work
192 https://rt.cpan.org/Ticket/Display.html?id=29879
194 - writing a 2 or 4 channel image to a JPEG file will now write that
195 image as if composited against a background, black by default,
196 overridable with the i_background tag/parameter.
197 https://rt.cpan.org/Ticket/Display.html?id=29876
199 - writing a 2 or 4 channel image to a PGM/PPM file will now write
200 that image as if composited against a background, black by default,
201 overridable with the i_background tag/parameter.
202 http://rt.cpan.org/Ticket/Display.html?id=30074
204 - writing a 2 or 4 channel image to a BMP file will now write that
205 image as if composited against a background, black by default,
206 overridable with the i_background tag/parameter.
207 http://rt.cpan.org/Ticket/Display.html?id=30075
211 - Imager::Matrix2d->translate() now only requires one of the x or y
213 http://rt.cpan.org/Ticket/Display.html?id=29937
215 - mixing qtype scaling now sets all channels of a pixel to zero if
216 the pixel has zero coverage (zero alpha). This should produce more
217 compressible output files.
218 http://rt.cpan.org/Ticket/Display.html?id=32324
220 - removed the pointless #! line from lib/Imager/Font/Wrap.pm
222 https://bugzilla.redhat.com/show_bug.cgi?id=166254
223 I'm not changing the #! lines of the sample code, since it's sample
224 code, not intended for installation.
225 http://rt.cpan.org/Ticket/Display.html?id=33408
227 - some TGA images weren't being detected correctly as TGA images
228 https://rt.cpan.org/Ticket/Display.html?id=32925
230 - handling of the left-over bit for 16-bit/pixel TGA images has been
231 changed to match the behaviour of the GIMP. Previously the bit
232 being set was treated as an opaque pixel, but one user reported a
233 problem with loading such an image. I haven't been able to find any
234 tools beyond the GIMP that handle alpha-channel 16-bit TGAs, so
235 I'll match it's behaviour. See issue 114913 in the GIMP's
237 http://rt.cpan.org/Ticket/Display.html?id=32926
239 Imager 0.62 - 10 December 2007
242 - Makefile.PL now expands ~/path supplied to --incpath or --libpath
243 to /path under your home directory.
244 http://rt.cpan.org/Ticket/Display.html?id=29484
246 - the old dynaload code used Mach API functions to load dynamic
247 libraries on Mac OS X. These APIs have been deprecated in OS X
248 10.5 and were causing some build problems.
249 So henceforth Imager uses the dlopen() family of functions, and you
250 will need version 10.3 or later of OS X.
252 - added the det() function to the transform2() engine.
253 added the sample quad_to_square.pl
254 Courtesy Richard Fairhurst.
255 http://rt.cpan.org/Ticket/Display.html?id=31244
259 - samples/gifscale.pl sourced the base value for gif_top from
261 Thanks to Eleneldil G. Arilou for pointing this out.
263 - t/t82inline.t no longer loads B at runtime, to work around a bug
264 in some 5.005_0[45] installations.
265 http://rt.cpan.org/Ticket/Display.html?id=30508
267 - work around Module::Depends::Intrusive bug #21229
268 http://rt.cpan.org/Ticket/Display.html?id=30520
270 - the hardinvert filter no-longer inverts the alpha channel.
271 http://rt.cpan.org/Ticket/Display.html?id=30002
273 - the hardinvert filter now supports large samples
275 Imager 0.61_02 - 28 November 2007
278 - major TIFF support re-work
279 http://rt.cpan.org/Ticket/Display.html?id=20329
281 - added a C level image interface for accessing samples from 1-32
282 bits, exposed this at the perl level in getsamples()
284 - the conv filter now works at floating point precision for high bit
287 - added is_bilevel method to test whether an image should be written as
288 a bilevel image if the image format supports it.
290 - added -log-stderr as an Imager import list option
292 - added some important types to Imager::APIRef
294 - added test_image_double() to Imager::Test
298 - Imager::Fountain couldn't read GIMP gradient files with 10 or more
301 - the scale() method with qtype mixing now handles images with an
302 alpha channel correctly.
304 - fixed a broken link from the "animated GIF" entry in the concept index.
305 Thanks to Slaven Rezic.
306 http://rt.cpan.org/Ticket/Display.html?id=30889
308 - on some perl's the infix expression parser test would fail due to
309 actions in the grammar returning false. Made sure all actions return
311 Thanks to Richard Fairhurst for spending a lot of time in tracking
313 http://rt.cpan.org/Public/Bug/Display.html?id=29562
315 Imager 0.61 - 5 November 2007
318 - added samples/gifscale.pl, which adjusts the screen size/position tags
319 when scaling an animated gif
320 http://rt.cpan.org/Ticket/Display.html?id=27591
324 - correct handling of sz in matrix_transform() - this should allow
325 perspective type transformations to work now.
326 http://rt.cpan.org/Ticket/Display.html?id=29936
328 - prevent a cast to integer warning on x64 builds in datatypes.c
329 also fixed some other type warnings
330 https://rt.cpan.org/Ticket/Display.html?id=30204
332 - some sub-directory tests depended on files produced by the parent
334 http://rt.cpan.org/Ticket/Display.html?id=30203
336 - Imager::Font::Wrap doesn't correctly set savepos
337 thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this.
338 http://rt.cpan.org/Ticket/Display.html?id=29771
340 - test 171 in t/t01introvert.t was failing on perls configured to
342 http://rt.cpan.org/Ticket/Display.html?id=29413
344 - the code for the transform2() uminus operator was missing a break.
345 Added tests for better code coverage of the ops.
346 http://rt.cpan.org/Ticket/Display.html?id=29296
348 - the SGI RLE compression code could overflow its compression buffer
349 http://rt.cpan.org/Ticket/Display.html?id=30334
351 - the 32-bit output function used by the SGI code only handled values
352 under 0x10000. This was most noticable when writing large RLE images.
353 http://rt.cpan.org/Ticket/Display.html?id=30335
355 - validate chan_count for chans == NULL for each of the i_gsamp()
357 http://rt.cpan.org/Ticket/Display.html?id=28985
359 - attempt to work around the test failure at
360 http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html
361 http://rt.cpan.org/Ticket/Display.html?id=29562
363 - improve the error messages produced when attempting to read or write
364 an unknown image file format.
365 http://rt.cpan.org/Ticket/Display.html?id=30103
367 - improve the transform2() documentation
368 http://rt.cpan.org/Ticket/Display.html?id=29267
370 - correctly generate the author key in META.yml
371 http://rt.cpan.org/Ticket/Display.html?id=30377
373 - correctly blend a rotated (or matrix_transformed()) image when
374 performing interpolation in the presence of an alpha channel.
375 Also corrected the centring of the rotated image on the output
378 Imager 0.60 - 30 August 2007
381 - Finished/rewrote Arnar's old SGI RGB file format support, so Imager
382 now has full SGI RGB image format, including RLE and 16-bit/sample
384 https://rt.cpan.org/Ticket/Display.html?id=8666
386 - logging functions are now available in the API
388 - applied Gabriel Vasseur's patch
389 added documentation, further tests, and support for greyscale images
390 Obviously problems are my fault :)
391 https://rt.cpan.org/Ticket/Display.html?id=28142
393 - the mask for ICO/CUR images is now applied as an alpha channel to
394 the returned image. For the old behaviour, supply ico_masked => 0
395 to read() or read_multi(). This should be less confusing when
396 using Imager as a general image processor.
397 https://rt.cpan.org/Ticket/Display.html?id=29001
401 - in some cases it's possible for giflib/libungif to return color
402 indexes outside the range of colors defined by the image's palette.
403 We now expand the palette to match the indexes used.
404 Thanks to Gabriel Vasseur for reporting this.
406 - fixed various memory leaks that could occur when failing to read png,
407 jpeg, bmp or tga files.
409 - to avoid confusion, channels not present in the image are returned as
410 zero by getscanline(). This has no effect on the C level i_glin()
411 and i_glinf() API functions which continue to not set the unused
414 - the convert() method now returns an image of the same sample size as
416 https://rt.cpan.org/Ticket/Display.html?id=28492
418 - remove repeated text in Imager::Files
419 http://rt.cpan.org/Ticket/Display.html?id=27589
421 - be even more explicit that scale() and friends don't modify the source
422 image, but return a new image.
423 http://rt.cpan.org/Ticket/Display.html?id=28570
425 - improve the error message from errstr() when you try to load a font
426 for which the driver hasn't been built in Imager.
427 http://rt.cpan.org/Ticket/Display.html?id=27571
429 - transparency is now enabled by default when writing GIF images
430 http://rt.cpan.org/Ticket/Display.html?id=27615
432 - Imager would not load on Windows 98
433 http://rt.cpan.org/Ticket/Display.html?id=27653
435 Imager 0.59 - 14 June 2007
440 - fixes a regression introduced by the fixes for RT 11972
441 http://rt.cpan.org/Ticket/Display.html?id=27546
443 - cropping outside the image would return an Imager object with
444 no low-level image object, instead of returning false.
445 Fixed by: Philip Gwyn (Leolo)
446 http://rt.cpan.org/Ticket/Display.html?id=27509
448 Imager 0.58 - 16 May 2007
451 No significant changes from 0.57_01.
453 Imager 0.57_01 - 11 May 2007
456 - added to_rgb16 to produce a 16-bit/sample version of an image
458 - improve freetype 1.x text output efficiency
462 - search another place for rgb.txt, and check all the places
463 Imager::Color checks when deciding whether to skip testing it
464 http://rt.cpan.org/Ticket/Display.html?id=26064
466 - use a convolution kernel size based on the stddev rather than a
467 fixed size when performing a gaussian blur
468 http://rt.cpan.org/Ticket/Display.html?id=25645
470 - document the difference() method's mindist parameter, and debug it.
472 - put the Imager release number in the Inline::C generated code to
473 regenerate Inline code when a new release of Imager is installed.
474 http://rt.cpan.org/Ticket/Display.html?id=26278
476 - fix rendering on alpha channel images for the FreeType 1.x driver.
477 http://rt.cpan.org/Ticket/Display.html?id=11972
479 - fix rendering on alpha channel images for the T1lib driver.
480 http://rt.cpan.org/Ticket/Display.html?id=11972
482 - reworked library probing, we can now set more than one probe
483 function for a library. Disabled the default (non-freetype-config)
484 library probe and added an extra probe function that searches for
485 both ft2build.h and whatever it includes, and adds -I as needed.
486 Hopefully this will fix build problems like
487 http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html
488 http://rt.cpan.org/Ticket/Display.html?id=26086
490 Imager 0.57 - 30 Apr 2007
493 This is a maintenence release fixing a security issue in Imager.
495 - CRITICAL: a specially crafted compressed BMP file can cause a buffer
496 overflow in malloced memory. There will be further discussion of
497 this issue in the ticket below.
498 http://rt.cpan.org/Ticket/Display.html?id=26811
499 CVE-2007-2459 CVE-2007-2413
500 The descriptions at cve.mitre.org varied in quality, please see the
501 ticket at rt.cpan.org for a more accurate description of the issue.
503 Imager 0.56 - 1 Apr 2007
506 - added support for reading 16-bit/sample PGM/PPM images
508 - added support for writing 16-bit/sample PGM/PPM images
510 - improved performance of reading PBM/PGM/PPM images
512 - added support for writing PBM images if the image is paletted and
513 contains only black and white
515 - added a new make_colors value - "mono"
517 - switched from the svn log Changes to a manual Changes to reduce
520 - new sample code - samples/flasher.pl
524 - CRITICAL: the "Imager" typemap entry (not used by Imager itself)
525 was returning an image object with an extra reference, this
526 resulted in a memory leak.
527 http://rt.cpan.org/Ticket/Display.html?id=24992
529 - fix rendering on alpha channel images for the FreeType 2.x driver
530 http://rt.cpan.org/Ticket/Display.html?id=11972
532 - reading bmp files now consitently handles short reads. You can now
533 supply a parameter to treat a short read as successful and set
535 http://rt.cpan.org/Ticket/Display.html?id=8426
537 - previously, reading ASCII PBM files required spaces between samples,
538 even though the format doesn't require that
540 - improved documentation of the unsharpmask filter (I hope)
541 http://rt.cpan.org/Ticket/Display.html?id=25531
543 - force flushing of the output from i_tt_dump_names() and test output
544 in t/t35ttfont.t to prevent output from being mixed up.
545 https://rt.cpan.org/Ticket/Display.html?id=24859
547 - rewrite a conditional expression as an if() to hopefully work around
548 a bug in the pre-4.0 GCC Apple shipped with OS X 10.4.
549 https://rt.cpan.org/Ticket/Display.html?id=25561
551 - avoid Data::Dumper in regops.perl to support older releases of perl
552 https://rt.cpan.org/Ticket/Display.html?id=24391
554 Imager 0.55 - 16 Dec 2006
557 This is primarily a bug fix release.
559 Note: Test::More is now a pre-requisite for Imager and is no longer bundled.
561 There is one new feature:
563 - the Win32 font driver now supports UTF8 (RT 22166)
564 http://www.cpanforum.com/threads/3276
565 http://rt.cpan.org/Ticket/Display.html?id=22166
567 Several bugs were fixed:
569 - the string() method would not output the string "0"
570 http://rt.cpan.org/Public/Bug/Display.html?id=21770
572 - fills.c was failing to compile on Solaris 10 (compiler unknown)
573 http://rt.cpan.org/Public/Bug/Display.html?id=21944
575 - the gif_disposal and gif_user_input tags weren't being read from
577 http://rt.cpan.org/Public/Bug/Display.html?id=22192
579 - gif.c was failing to build under MSVC
580 http://rt.cpan.org/Ticket/Display.html?id=23922
582 - in some cases strings passed to the string() method were treated as
583 terminated by NUL (chr 0)
584 http://rt.cpan.org/Public/Bug/Display.html?id=21770
586 - on "MSWin32" perl builds we now link to -lzlib instead of -lz since
587 that's the default build name for zlib on Win32.
588 http://rt.cpan.org/Ticket/Display.html?id=23064
590 - search $Config{incpath} for headers too, which we should have been
593 Win32 font driver fixes:
595 - the global descent value from bounding box was the wrong sign
596 http://www.cpanforum.com/threads/3276
598 - if the first or last glyph overflowed the left or right side of the
599 advance width they would be clipped
602 Imager 0.54 - 14 Sep 2006
605 This is primarily a feature release:
607 - a new qtype value 'mixing' has been added to the scale()
608 method. This is faster than 'normal', slower than 'preview'. This
609 is based on the method used by pnmscale, and seems to produce less
610 blurry results than normal.
611 http://rt.cpan.org/Public/Bug/Display.html?id=20677
613 - the rubthrough() method can now render onto images with an alpha
615 http://rt.cpan.org/Ticket/Display.html?id=20678
617 - the read_multi() method now falls back to calling doing a single
618 image read via the read() method and write_multi() will now fall
619 back to calling write() if a single image is supplied. This means
620 you can simply call the read_multi() or write_multi() functions
621 without having to check if the type is formatted by that method.
622 http://rt.cpan.org/Ticket/Display.html?id=19457
623 http://rt.cpan.org/Ticket/Display.html?id=19458
625 - the GIF loop extension can now be written. If you don't have
626 libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you
628 http://rt.cpan.org/Ticket/Display.html?id=21185
630 - getscanline() and setscanline() can now read/write palette index
631 based data from/to the image for paletted images, by setting type to
633 http://rt.cpan.org/Ticket/Display.html?id=20338
635 - we no longer hassle you to disable GIF support
636 http://rt.cpan.org/Ticket/Display.html?id=20687
638 - minor documentation fixes
641 Imager 0.53 - 26 Jul 2006
644 This is a bugfix release.
646 Some test code was left in a code path not covered by the test
647 suite. A test was added to cover this code path and the test code was
649 http://rt.cpan.org/Public/Bug/Display.html?id=20705
652 Imager 0.52 - 25 Jul 2006
655 This is primarily a feature release, but contains a fair few bug
658 - ability to read and write MS Windows ICO and CUR files
660 - you can now add file format plugins to support new file formats
662 - add POD coverage tests
664 - setcolors() and addcolors() now accept color names and so on
665 instead of requiring Imager::Color objects.
666 http://rt.cpan.org/Ticket/Display.html?id=20056
668 - flood_fill() can now fill to a specified border color instead of
669 just to the area the same color as the seed.
670 http://rt.cpan.org/Ticket/Display.html?id=19618
675 - bounding_box for the T1 driver wasn't converting UTF8 to ascii when
676 calculating the advance width.
677 http://rt.cpan.org/Public/Bug/Display.html?id=20554
679 - bounding_box for the T1 driver wasn't including leading and
680 trailing spaces in the bounding box as the other drivers did, it also
681 produced strange results for empty strings or strings containing only
684 - when reading CMYK jpeg images they were being transferred to the
685 image object as is, producing a four channel image. It only looked ok
686 due to an old still unfixed Photoshop bug. We now convert from the
687 inverted CMYK that photoshop (and Corel for example) produce into RGB.
688 http://rt.cpan.org/Ticket/Display.html?id=20416
690 - reading a CYMK TIFF would result in a 4 channel image, reading any
691 image with more than 4 channels (eg. RGB with 2 alpha channels) would
693 http://rt.cpan.org/Ticket/Display.html?id=20415
695 - added /usr/local/include to the default include search path, since
696 we were already searching /usr/local/lib for libraries.
698 And various minor fixes and documentation updates.
701 Imager 0.51 - 23 Apr 2006
704 - fix a validation bug when processing JPEG EXIF data that can cause
706 http://rt.cpan.org/Public/Bug/Display.html?id=18496
708 - fix mis-processing of the src_maxx and src_maxy parameters of the
710 http://rt.cpan.org/Public/Bug/Display.html?id=18712
712 - fix a problem in Imager's "smart" handling of the color parameter
714 http://rt.cpan.org/Public/Bug/Display.html?id=18561
717 Imager 0.50 - 29 Mar 2006
720 - CRITICAL: fixes a segmentation fault from attempting to write a 2
721 or 4 channel image to jpeg or a 2 channel image to tga where the
722 output is an in-memeory buffer.
723 http://rt.cpan.org/Public/Bug/Display.html?id=18397
725 - fixes an incorrect pointer parameter in the PNG code
726 http://rt.cpan.org/Public/Bug/Display.html?id=18051
728 - skip Inline::C tests when building in a directory with spaces
729 http://rt.cpan.org/Public/Bug/Display.html?id=18049