1 Imager release history. Older releases can be found in Changes.old
3 Imager 0.68 - unrelease
8 - avoid using CHECK as a label in Imager::Test
9 http://nntp.x.perl.org/group/perl.cpan.testers/5220921
11 - re-work most image file test files that require a library into
12 separate library present/not present files to remove stupidly long
15 - don't treat rubthrough() outside the bounds of the target image as
17 http://nntp.x.perl.org/group/perl.cpan.testers/5185716
19 Imager 0.67_01 - 02 Sep 2009
24 - correct documentation of default of raw image interleave read
26 https://rt.cpan.org/Ticket/Display.html?id=42074
28 - add raw_ prefix to raw read parameters, though the original names
31 - fail the read if an invalid raw_interleave parameter is supplied
33 - warn if no interleave or raw_interleave parameter is supplied,
34 since the documented default was wrong, and incompatible with the
37 - for reading raw images, if raw_storechannels > raw_datachannels,
38 set the extra channels in the image to 0
40 - when probing for executables like freetype-config, search for .bat
41 and .cmd on MSWin32, as well as .exe.
42 https://rt.cpan.org/Ticket/Display.html?id=49275
44 - re-work the external libraries section of README:
45 - list Debian and Redhat package names for each library
49 - use the new EU::MM META_MERGE facility instead of generating
51 https://rt.cpan.org/Ticket/Display.html?id=47888
53 - use Devel::CheckLib (bundled, modified) to check which release of
54 libtiff is installed and reject 3.9.0
55 http://bugzilla.maptools.org/show_bug.cgi?id=2088
56 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543079
58 Imager 0.67 - 12 Dec 2008
63 - fix a packaging error
65 Imager 0.66 - 12 Dec 2008
68 - 24-bit color .ICO/.CUR files can now be read.
72 - an optimization skipping 0 src alpha values could cause the
73 rubthrough() to read past the end of a buffer.
74 http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1509184.html
76 - corrected a reference leak where writing GIFs would leak memory.
77 This could also happen calling to_paletted().
78 Also documented the underlying long existing feature where the
79 colors parameter is filled with the generated color table and added
81 http://rt.cpan.org/Ticket/Display.html?id=41028
83 - write out the image size in bytes field of a BMP correctly.
84 http://rt.cpan.org/Ticket/Display.html?id=41406
86 - add limited tests for Imager::ExtUtils
88 - make Imager::ExtUtils->includes use an absolute path, since
89 a relative path could cause failures using Inline::C.
90 http://rt.cpan.org/Ticket/Display.html?id=37353
92 - re-arrange the POD for Imager::Font::BBox:
93 - mark total_width(), pos_width(), end_offset() obsolete, since
94 they're mostly for backwards compatibility
95 - group width methods and height methods
96 https://rt.cpan.org/Ticket/Display.html?id=39999
98 Imager 0.65 - 20 May 2008
103 - In some cases when an error occurs reading those parts of a JPEG
104 file after the image the scan-line buffer could be freed a second
105 time. In cases where the the error occured while reading the image
106 data it's possible that the buffer could have leaked.
107 Thanks to Gabriel Vasseur for reporting this and help in tracking
110 - the gif_screen_height tag was overriding the screen width and being
111 ignored for the screen height when present.
112 https://rt.cpan.org/Public/Bug/Display.html?id=35568
114 Imager 0.64 - 23 April 2008
117 This is a bug fix release. This includes a fix for a possible
122 - Possible security issue: The floating point sample path for image
123 based fills had a buffer overflow. This would overwrite the end of
124 a malloc()ed buffer with double precision floats.
125 http://rt.cpan.org/Ticket/Display.html?id=35324
128 - check that the result of fileno($fh) is defined rather than simply
129 true when read() or write() is supplied with an fh parameter.
130 http://rt.cpan.org/Ticket/Display.html?id=35139
132 - i_scale_axis() wasn't checking the result of i_img_new_ch()
133 resulting in a SIGSEGV when attempting to scale an image to a size
134 too large to fit in memory. This is a NULL pointer access issue,
135 not a buffer overflow.
136 Added a check for the failure.
137 scale_calculate() (and hence scale()) will now fail if any of the
138 scale size parameters are a reference.
139 http://rt.cpan.org/Ticket/Display.html?id=35172
141 - Regression: filling a greyscale image with a hatch used the wrong
142 color channels from the supplied fg/bg colors.
143 https://rt.cpan.org/Ticket/Display.html?id=35278
145 - fixed a related problem for image fills.
147 Imager 0.63 - 7 April 2008
150 This release primarily contains changes to improve ease of use -
151 rather than you having to convert images to the appropriate number of
152 channels, Imager handles it internally. How to handle drawing colors
153 and the default combine mode is a thornier problem left for some other
156 - the font libraries are now only initialized when needed.
157 http://rt.cpan.org/Ticket/Display.html?id=28825
159 - moved the imtoc.perl code into Imager::Preprocess
161 - paste() and rubthrough() now adapt the source image data to the
162 destination, so you can now safely paste/rubthrough from greyscale
163 images to color images or back, or from alpha channel images to
164 noalpha channels or back.
165 https://rt.cpan.org/Ticket/Display.html?id=30908
167 - rubthrough() now falls back to pasting when the source doesn't have
168 an alpha channel. This effectively treats the source as having a
169 max alpha channel, the right thing to do.
170 http://rt.cpan.org/Ticket/Display.html?id=29944
172 - re-worked most of the area filling code to use a common set of
173 functions when filling.
174 Corrected normal combine mode.
175 Rewrote most of the combine modes to match the way the SVG draft
176 defines them with respect to a translucent source and destination.
177 Added tests for translucent source and destination.
178 Added tests to check 8-bit/sample and double/sample combines work
180 https://rt.cpan.org/Ticket/Display.html?id=29879
182 - writing a 2 or 4 channel image to a JPEG file will now write that
183 image as if composited against a background, black by default,
184 overridable with the i_background tag/parameter.
185 https://rt.cpan.org/Ticket/Display.html?id=29876
187 - writing a 2 or 4 channel image to a PGM/PPM file will now write
188 that image as if composited against a background, black by default,
189 overridable with the i_background tag/parameter.
190 http://rt.cpan.org/Ticket/Display.html?id=30074
192 - writing a 2 or 4 channel image to a BMP file will now write that
193 image as if composited against a background, black by default,
194 overridable with the i_background tag/parameter.
195 http://rt.cpan.org/Ticket/Display.html?id=30075
199 - Imager::Matrix2d->translate() now only requires one of the x or y
201 http://rt.cpan.org/Ticket/Display.html?id=29937
203 - mixing qtype scaling now sets all channels of a pixel to zero if
204 the pixel has zero coverage (zero alpha). This should produce more
205 compressible output files.
206 http://rt.cpan.org/Ticket/Display.html?id=32324
208 - removed the pointless #! line from lib/Imager/Font/Wrap.pm
210 https://bugzilla.redhat.com/show_bug.cgi?id=166254
211 I'm not changing the #! lines of the sample code, since it's sample
212 code, not intended for installation.
213 http://rt.cpan.org/Ticket/Display.html?id=33408
215 - some TGA images weren't being detected correctly as TGA images
216 https://rt.cpan.org/Ticket/Display.html?id=32925
218 - handling of the left-over bit for 16-bit/pixel TGA images has been
219 changed to match the behaviour of the GIMP. Previously the bit
220 being set was treated as an opaque pixel, but one user reported a
221 problem with loading such an image. I haven't been able to find any
222 tools beyond the GIMP that handle alpha-channel 16-bit TGAs, so
223 I'll match it's behaviour. See issue 114913 in the GIMP's
225 http://rt.cpan.org/Ticket/Display.html?id=32926
227 Imager 0.62 - 10 December 2007
230 - Makefile.PL now expands ~/path supplied to --incpath or --libpath
231 to /path under your home directory.
232 http://rt.cpan.org/Ticket/Display.html?id=29484
234 - the old dynaload code used Mach API functions to load dynamic
235 libraries on Mac OS X. These APIs have been deprecated in OS X
236 10.5 and were causing some build problems.
237 So henceforth Imager uses the dlopen() family of functions, and you
238 will need version 10.3 or later of OS X.
240 - added the det() function to the transform2() engine.
241 added the sample quad_to_square.pl
242 Courtesy Richard Fairhurst.
243 http://rt.cpan.org/Ticket/Display.html?id=31244
247 - samples/gifscale.pl sourced the base value for gif_top from
249 Thanks to Eleneldil G. Arilou for pointing this out.
251 - t/t82inline.t no longer loads B at runtime, to work around a bug
252 in some 5.005_0[45] installations.
253 http://rt.cpan.org/Ticket/Display.html?id=30508
255 - work around Module::Depends::Intrusive bug #21229
256 http://rt.cpan.org/Ticket/Display.html?id=30520
258 - the hardinvert filter no-longer inverts the alpha channel.
259 http://rt.cpan.org/Ticket/Display.html?id=30002
261 - the hardinvert filter now supports large samples
263 Imager 0.61_02 - 28 November 2007
266 - major TIFF support re-work
267 http://rt.cpan.org/Ticket/Display.html?id=20329
269 - added a C level image interface for accessing samples from 1-32
270 bits, exposed this at the perl level in getsamples()
272 - the conv filter now works at floating point precision for high bit
275 - added is_bilevel method to test whether an image should be written as
276 a bilevel image if the image format supports it.
278 - added -log-stderr as an Imager import list option
280 - added some important types to Imager::APIRef
282 - added test_image_double() to Imager::Test
286 - Imager::Fountain couldn't read GIMP gradient files with 10 or more
289 - the scale() method with qtype mixing now handles images with an
290 alpha channel correctly.
292 - fixed a broken link from the "animated GIF" entry in the concept index.
293 Thanks to Slaven Rezic.
294 http://rt.cpan.org/Ticket/Display.html?id=30889
296 - on some perl's the infix expression parser test would fail due to
297 actions in the grammar returning false. Made sure all actions return
299 Thanks to Richard Fairhurst for spending a lot of time in tracking
301 http://rt.cpan.org/Public/Bug/Display.html?id=29562
303 Imager 0.61 - 5 November 2007
306 - added samples/gifscale.pl, which adjusts the screen size/position tags
307 when scaling an animated gif
308 http://rt.cpan.org/Ticket/Display.html?id=27591
312 - correct handling of sz in matrix_transform() - this should allow
313 perspective type transformations to work now.
314 http://rt.cpan.org/Ticket/Display.html?id=29936
316 - prevent a cast to integer warning on x64 builds in datatypes.c
317 also fixed some other type warnings
318 https://rt.cpan.org/Ticket/Display.html?id=30204
320 - some sub-directory tests depended on files produced by the parent
322 http://rt.cpan.org/Ticket/Display.html?id=30203
324 - Imager::Font::Wrap doesn't correctly set savepos
325 thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this.
326 http://rt.cpan.org/Ticket/Display.html?id=29771
328 - test 171 in t/t01introvert.t was failing on perls configured to
330 http://rt.cpan.org/Ticket/Display.html?id=29413
332 - the code for the transform2() uminus operator was missing a break.
333 Added tests for better code coverage of the ops.
334 http://rt.cpan.org/Ticket/Display.html?id=29296
336 - the SGI RLE compression code could overflow its compression buffer
337 http://rt.cpan.org/Ticket/Display.html?id=30334
339 - the 32-bit output function used by the SGI code only handled values
340 under 0x10000. This was most noticable when writing large RLE images.
341 http://rt.cpan.org/Ticket/Display.html?id=30335
343 - validate chan_count for chans == NULL for each of the i_gsamp()
345 http://rt.cpan.org/Ticket/Display.html?id=28985
347 - attempt to work around the test failure at
348 http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html
349 http://rt.cpan.org/Ticket/Display.html?id=29562
351 - improve the error messages produced when attempting to read or write
352 an unknown image file format.
353 http://rt.cpan.org/Ticket/Display.html?id=30103
355 - improve the transform2() documentation
356 http://rt.cpan.org/Ticket/Display.html?id=29267
358 - correctly generate the author key in META.yml
359 http://rt.cpan.org/Ticket/Display.html?id=30377
361 - correctly blend a rotated (or matrix_transformed()) image when
362 performing interpolation in the presence of an alpha channel.
363 Also corrected the centring of the rotated image on the output
366 Imager 0.60 - 30 August 2007
369 - Finished/rewrote Arnar's old SGI RGB file format support, so Imager
370 now has full SGI RGB image format, including RLE and 16-bit/sample
372 https://rt.cpan.org/Ticket/Display.html?id=8666
374 - logging functions are now available in the API
376 - applied Gabriel Vasseur's patch
377 added documentation, further tests, and support for greyscale images
378 Obviously problems are my fault :)
379 https://rt.cpan.org/Ticket/Display.html?id=28142
381 - the mask for ICO/CUR images is now applied as an alpha channel to
382 the returned image. For the old behaviour, supply ico_masked => 0
383 to read() or read_multi(). This should be less confusing when
384 using Imager as a general image processor.
385 https://rt.cpan.org/Ticket/Display.html?id=29001
389 - in some cases it's possible for giflib/libungif to return color
390 indexes outside the range of colors defined by the image's palette.
391 We now expand the palette to match the indexes used.
392 Thanks to Gabriel Vasseur for reporting this.
394 - fixed various memory leaks that could occur when failing to read png,
395 jpeg, bmp or tga files.
397 - to avoid confusion, channels not present in the image are returned as
398 zero by getscanline(). This has no effect on the C level i_glin()
399 and i_glinf() API functions which continue to not set the unused
402 - the convert() method now returns an image of the same sample size as
404 https://rt.cpan.org/Ticket/Display.html?id=28492
406 - remove repeated text in Imager::Files
407 http://rt.cpan.org/Ticket/Display.html?id=27589
409 - be even more explicit that scale() and friends don't modify the source
410 image, but return a new image.
411 http://rt.cpan.org/Ticket/Display.html?id=28570
413 - improve the error message from errstr() when you try to load a font
414 for which the driver hasn't been built in Imager.
415 http://rt.cpan.org/Ticket/Display.html?id=27571
417 - transparency is now enabled by default when writing GIF images
418 http://rt.cpan.org/Ticket/Display.html?id=27615
420 - Imager would not load on Windows 98
421 http://rt.cpan.org/Ticket/Display.html?id=27653
423 Imager 0.59 - 14 June 2007
428 - fixes a regression introduced by the fixes for RT 11972
429 http://rt.cpan.org/Ticket/Display.html?id=27546
431 - cropping outside the image would return an Imager object with
432 no low-level image object, instead of returning false.
433 Fixed by: Philip Gwyn (Leolo)
434 http://rt.cpan.org/Ticket/Display.html?id=27509
436 Imager 0.58 - 16 May 2007
439 No significant changes from 0.57_01.
441 Imager 0.57_01 - 11 May 2007
444 - added to_rgb16 to produce a 16-bit/sample version of an image
446 - improve freetype 1.x text output efficiency
450 - search another place for rgb.txt, and check all the places
451 Imager::Color checks when deciding whether to skip testing it
452 http://rt.cpan.org/Ticket/Display.html?id=26064
454 - use a convolution kernel size based on the stddev rather than a
455 fixed size when performing a gaussian blur
456 http://rt.cpan.org/Ticket/Display.html?id=25645
458 - document the difference() method's mindist parameter, and debug it.
460 - put the Imager release number in the Inline::C generated code to
461 regenerate Inline code when a new release of Imager is installed.
462 http://rt.cpan.org/Ticket/Display.html?id=26278
464 - fix rendering on alpha channel images for the FreeType 1.x driver.
465 http://rt.cpan.org/Ticket/Display.html?id=11972
467 - fix rendering on alpha channel images for the T1lib driver.
468 http://rt.cpan.org/Ticket/Display.html?id=11972
470 - reworked library probing, we can now set more than one probe
471 function for a library. Disabled the default (non-freetype-config)
472 library probe and added an extra probe function that searches for
473 both ft2build.h and whatever it includes, and adds -I as needed.
474 Hopefully this will fix build problems like
475 http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html
476 http://rt.cpan.org/Ticket/Display.html?id=26086
478 Imager 0.57 - 30 Apr 2007
481 This is a maintenence release fixing a security issue in Imager.
483 - CRITICAL: a specially crafted compressed BMP file can cause a buffer
484 overflow in malloced memory. There will be further discussion of
485 this issue in the ticket below.
486 http://rt.cpan.org/Ticket/Display.html?id=26811
487 CVE-2007-2459 CVE-2007-2413
488 The descriptions at cve.mitre.org varied in quality, please see the
489 ticket at rt.cpan.org for a more accurate description of the issue.
491 Imager 0.56 - 1 Apr 2007
494 - added support for reading 16-bit/sample PGM/PPM images
496 - added support for writing 16-bit/sample PGM/PPM images
498 - improved performance of reading PBM/PGM/PPM images
500 - added support for writing PBM images if the image is paletted and
501 contains only black and white
503 - added a new make_colors value - "mono"
505 - switched from the svn log Changes to a manual Changes to reduce
508 - new sample code - samples/flasher.pl
512 - CRITICAL: the "Imager" typemap entry (not used by Imager itself)
513 was returning an image object with an extra reference, this
514 resulted in a memory leak.
515 http://rt.cpan.org/Ticket/Display.html?id=24992
517 - fix rendering on alpha channel images for the FreeType 2.x driver
518 http://rt.cpan.org/Ticket/Display.html?id=11972
520 - reading bmp files now consitently handles short reads. You can now
521 supply a parameter to treat a short read as successful and set
523 http://rt.cpan.org/Ticket/Display.html?id=8426
525 - previously, reading ASCII PBM files required spaces between samples,
526 even though the format doesn't require that
528 - improved documentation of the unsharpmask filter (I hope)
529 http://rt.cpan.org/Ticket/Display.html?id=25531
531 - force flushing of the output from i_tt_dump_names() and test output
532 in t/t35ttfont.t to prevent output from being mixed up.
533 https://rt.cpan.org/Ticket/Display.html?id=24859
535 - rewrite a conditional expression as an if() to hopefully work around
536 a bug in the pre-4.0 GCC Apple shipped with OS X 10.4.
537 https://rt.cpan.org/Ticket/Display.html?id=25561
539 - avoid Data::Dumper in regops.perl to support older releases of perl
540 https://rt.cpan.org/Ticket/Display.html?id=24391
542 Imager 0.55 - 16 Dec 2006
545 This is primarily a bug fix release.
547 Note: Test::More is now a pre-requisite for Imager and is no longer bundled.
549 There is one new feature:
551 - the Win32 font driver now supports UTF8 (RT 22166)
552 http://www.cpanforum.com/threads/3276
553 http://rt.cpan.org/Ticket/Display.html?id=22166
555 Several bugs were fixed:
557 - the string() method would not output the string "0"
558 http://rt.cpan.org/Public/Bug/Display.html?id=21770
560 - fills.c was failing to compile on Solaris 10 (compiler unknown)
561 http://rt.cpan.org/Public/Bug/Display.html?id=21944
563 - the gif_disposal and gif_user_input tags weren't being read from
565 http://rt.cpan.org/Public/Bug/Display.html?id=22192
567 - gif.c was failing to build under MSVC
568 http://rt.cpan.org/Ticket/Display.html?id=23922
570 - in some cases strings passed to the string() method were treated as
571 terminated by NUL (chr 0)
572 http://rt.cpan.org/Public/Bug/Display.html?id=21770
574 - on "MSWin32" perl builds we now link to -lzlib instead of -lz since
575 that's the default build name for zlib on Win32.
576 http://rt.cpan.org/Ticket/Display.html?id=23064
578 - search $Config{incpath} for headers too, which we should have been
581 Win32 font driver fixes:
583 - the global descent value from bounding box was the wrong sign
584 http://www.cpanforum.com/threads/3276
586 - if the first or last glyph overflowed the left or right side of the
587 advance width they would be clipped
590 Imager 0.54 - 14 Sep 2006
593 This is primarily a feature release:
595 - a new qtype value 'mixing' has been added to the scale()
596 method. This is faster than 'normal', slower than 'preview'. This
597 is based on the method used by pnmscale, and seems to produce less
598 blurry results than normal.
599 http://rt.cpan.org/Public/Bug/Display.html?id=20677
601 - the rubthrough() method can now render onto images with an alpha
603 http://rt.cpan.org/Ticket/Display.html?id=20678
605 - the read_multi() method now falls back to calling doing a single
606 image read via the read() method and write_multi() will now fall
607 back to calling write() if a single image is supplied. This means
608 you can simply call the read_multi() or write_multi() functions
609 without having to check if the type is formatted by that method.
610 http://rt.cpan.org/Ticket/Display.html?id=19457
611 http://rt.cpan.org/Ticket/Display.html?id=19458
613 - the GIF loop extension can now be written. If you don't have
614 libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you
616 http://rt.cpan.org/Ticket/Display.html?id=21185
618 - getscanline() and setscanline() can now read/write palette index
619 based data from/to the image for paletted images, by setting type to
621 http://rt.cpan.org/Ticket/Display.html?id=20338
623 - we no longer hassle you to disable GIF support
624 http://rt.cpan.org/Ticket/Display.html?id=20687
626 - minor documentation fixes
629 Imager 0.53 - 26 Jul 2006
632 This is a bugfix release.
634 Some test code was left in a code path not covered by the test
635 suite. A test was added to cover this code path and the test code was
637 http://rt.cpan.org/Public/Bug/Display.html?id=20705
640 Imager 0.52 - 25 Jul 2006
643 This is primarily a feature release, but contains a fair few bug
646 - ability to read and write MS Windows ICO and CUR files
648 - you can now add file format plugins to support new file formats
650 - add POD coverage tests
652 - setcolors() and addcolors() now accept color names and so on
653 instead of requiring Imager::Color objects.
654 http://rt.cpan.org/Ticket/Display.html?id=20056
656 - flood_fill() can now fill to a specified border color instead of
657 just to the area the same color as the seed.
658 http://rt.cpan.org/Ticket/Display.html?id=19618
663 - bounding_box for the T1 driver wasn't converting UTF8 to ascii when
664 calculating the advance width.
665 http://rt.cpan.org/Public/Bug/Display.html?id=20554
667 - bounding_box for the T1 driver wasn't including leading and
668 trailing spaces in the bounding box as the other drivers did, it also
669 produced strange results for empty strings or strings containing only
672 - when reading CMYK jpeg images they were being transferred to the
673 image object as is, producing a four channel image. It only looked ok
674 due to an old still unfixed Photoshop bug. We now convert from the
675 inverted CMYK that photoshop (and Corel for example) produce into RGB.
676 http://rt.cpan.org/Ticket/Display.html?id=20416
678 - reading a CYMK TIFF would result in a 4 channel image, reading any
679 image with more than 4 channels (eg. RGB with 2 alpha channels) would
681 http://rt.cpan.org/Ticket/Display.html?id=20415
683 - added /usr/local/include to the default include search path, since
684 we were already searching /usr/local/lib for libraries.
686 And various minor fixes and documentation updates.
689 Imager 0.51 - 23 Apr 2006
692 - fix a validation bug when processing JPEG EXIF data that can cause
694 http://rt.cpan.org/Public/Bug/Display.html?id=18496
696 - fix mis-processing of the src_maxx and src_maxy parameters of the
698 http://rt.cpan.org/Public/Bug/Display.html?id=18712
700 - fix a problem in Imager's "smart" handling of the color parameter
702 http://rt.cpan.org/Public/Bug/Display.html?id=18561
705 Imager 0.50 - 29 Mar 2006
708 - CRITICAL: fixes a segmentation fault from attempting to write a 2
709 or 4 channel image to jpeg or a 2 channel image to tga where the
710 output is an in-memeory buffer.
711 http://rt.cpan.org/Public/Bug/Display.html?id=18397
713 - fixes an incorrect pointer parameter in the PNG code
714 http://rt.cpan.org/Public/Bug/Display.html?id=18051
716 - skip Inline::C tests when building in a directory with spaces
717 http://rt.cpan.org/Public/Bug/Display.html?id=18049