1 Imager release history. Older releases can be found in Changes.old
3 - support for giflib 5.0.
4 https://rt.cpan.org/Ticket/Display.html?id=79029
6 - previously the probe step for freetype-config would fail on cygwin
8 - avoid static variables when capturing IPTC data from JPEG files
10 - match Imager::Font;:T1's error message translations to those from
11 later versions of T1Lib.
13 - for libtiff versions that support extended warning handlers (3.8.0
14 or later), use them to avoid some global variables.
16 - catch an invalid matrix parameter to convert() instead of crashing
17 https://rt.cpan.org/Ticket/Display.html?id=79922
19 - remove the 16-bit/sample limitation from the documentation for
20 setsamples(), it hasn't applied for many releases.
21 https://rt.cpan.org/Ticket/Display.html?id=79989
23 - note Image::ExifTool for better metadata support.
24 https://rt.cpan.org/Ticket/Display.html?id=79251
26 Imager 0.92 - 14 Aug 2012
29 - giflib 4.2 eliminates the GIF_LIB_VERSION macro, handle that
30 correctly for both probing and runtime.
31 https://rt.cpan.org/Ticket/Display.html?id=77672
33 - allow building JPEG/imexif.c on C89 compilers.
35 - allow building GIF/imgif.c on C89 compilers.
37 Imager 0.91 - 4 Jun 2012
42 - The size of rotated images is no longer rounded up so aggressively.
43 Added rounding to the linear interpolation done for rotate() and
44 matrix_transform() for 1 and 3 channel 8-bit images.
45 Adjusted the two tranlate matrices used to build the final rotation
46 matrix to use the distance between the outlier pixels rather than
47 the pixel dimensions (ie. dimension-1).
48 With all of this the output of rotate(degrees => 270) on an 8-bit
49 image exactly matches the output of rotate(right => 270).
50 https://rt.cpan.org/Ticket/Display.html?id=77063
54 - eliminate the old IIM_new(), IIM_DESTROY() names from Imager's
55 internals, those names only matter for the XS interface.
57 - improve error reporting when PERL_INITIALIZE_IMAGER_CALLBACKS finds
58 the API level compiled into a loadable module such as
59 Imager::File::GIF doesn't match that of Imager. Previously it
60 could be difficult to determine exactly which module was failing to
62 https://rt.cpan.org/Ticket/Display.html?id=77173
64 - added Imager->check_file_limits() as an interface to the
65 i_int_check_image_file_limits() API.
67 - Imager->set_file_limits(reset => 1) now resets the limits to the
68 defaults rather than setting them all to unlimited.
70 - wrote a brief security note as Imager::Security
71 https://rt.cpan.org/Ticket/Display.html?id=68910
73 Imager 0.90 - 30 Apr 2012
78 - Imager::Test::is_imaged() attempted to process an "epsilon"
79 parameter but the prototype didn't allow for the extra parameter.
80 Corrected the prototype.
82 - when downconverting samples (eg. from floating point to 8 bit)
83 Imager now rounds the sample value rather than attempting to
84 allocate input values over output values equally. The old
85 behaviour had the probably surprising effect of converting a
86 floating point 2.1/255.0 into an 8-bit 3 rather than the expected
88 This may result in slightly different 8 or 16-bit output images.
90 - BI_BITFIELD BMP images were handled incorrectly, both in
91 incorrectly calculating the space required for the masks and in
92 processing the image data itself.
93 https://rt.cpan.org/Ticket/Display.html?id=76736
95 - some odd width BMP BI_RLE4 images use run lengths that run one off
96 the edge of the image. Imager now allows this, discarding the
99 - odd length RLE4 runs in BMP images were decoded incorrectly.
101 - pkg-config could sometimes return a library that was in a directory
102 EU::MM / $Config{libpth} doesn't know about, but the compiler did.
103 If no -L is included in the pkg-config library information check if
104 EU::MM can find the library, and if not, search our configured
105 directories and insert that into the library flags.
106 https://rt.cpan.org/Ticket/Display.html?id=75869
108 - Imager::Probe can now probe for libraries with dependent libraries,
109 common for static linking, eg. libpng requires libz.
110 https://rt.cpan.org/Ticket/Display.html?id=74043
112 - libpng 1.5 specific probes were looking for libpng 1.4 filenames.
114 - added alternative probe configurations that try to link libz, to
115 handle a statically linked libpng.
116 https://rt.cpan.org/Ticket/Display.html?id=74043
118 - if a probe includes testcode, Imager::Probe now checks that code as
119 part of the process of checking each configuration rather than as a
120 post test of the found configuration. This allows alternate
121 configurations to be checked if a matching but non-working
122 configuration is found.
123 https://rt.cpan.org/Ticket/Display.html?id=74043
127 - when reading or writing images via callbacks, the default callbacks
128 now push an error message indicating that a required callback was
129 called but not supplied.
130 https://rt.cpan.org/Ticket/Display.html?id=76782
132 - clarify which callbacks are required for reading and writing TIFF
135 - improve logging for creation of callback I/O layers.
137 - a little more documentation for Imager::Probe.
139 - the i_get_file_background() and i_get_file_backgroundf() APIs now
140 return int to indicate whether the i_background tag was found.
143 - improve error reporting
144 - add png_interlace, png_bits tags
145 - read paletted images as paletted images, including transparency
146 - read 1 bit greyscale images as a type suitable for other file
147 handlers to write as bilevel
148 - read 16 bit/sample PNG as 16-bit/sample Imager images
149 - write "bilevel" paletted images as 1 bit grayscale images
150 - write paletted images as paletted images
151 - write 16-bit (or higher)/sample images as 16-bit/sample PNG
153 - improved metadata support
154 https://rt.cpan.org/Ticket/Display.html?id=29268
156 Imager 0.89 - 18 Mar 2012
161 - getpixel(..., type => "float") and the API i_gpixf() have been
162 broken on paletted images since they were implemented.
163 https://rt.cpan.org/Ticket/Display.html?id=75258
167 - links in the METHOD INDEX now point at the method documentation
168 rather than the heading you can find them under.
169 https://rt.cpan.org/Ticket/Display.html?id=71495
171 - Imager (and the bundled dynamic modules) no longer fallback to
172 using DynaLoader if loading via XSLoader fails.
173 For the bundled modules this could hide useful error messages.
174 https://rt.cpan.org/Ticket/Display.html?id=75560
176 - IM_DEBUG_MALLOC mymalloc() no longer sn?printfs() a string to a
177 buffer in the array of allocations, but just stores the filename
178 pointer and line number.
179 https://rt.cpan.org/Ticket/Display.html?id=70388
181 Imager 0.88 - 22 Feb 2012
184 - describe how to build libgif etc on OS X in such a way as to be
185 compatible with a fat binary perl (such as the system perl), in
187 https://rt.cpan.org/Ticket/Display.html?id=73371
189 - update the change notes for 0.77_01 to indicate that libungif
192 - add some other imaging modules to SEE ALSO
193 https://rt.cpan.org/Ticket/Display.html?id=73906
195 - note that the generator of the apparently non-DFSG-free postscript
196 in MMOne.pfb is a Debian package.
198 - setsamples() is now a true complement to getsamples() - it can
199 write 8-bit or floating point samples from a scalar or array
200 reference. This adds i_psamp() and i_psampf() to the C level API.
202 - the XS interfaces to i_gsamp(), i_gsampf() and i_gsamp_bits() have
203 changed to make better use of the typemap, but these aren't part of
204 the perl level API anyway. There were no changes to the C level
205 interfaces to these functions.
207 - getpixel() and setpixel() now accept a mix of scalar and array
208 references for the x and y parameters, and unequal array lengths is
210 https://rt.cpan.org/Ticket/Display.html?id=73697
214 - correctly calculate the size of a rotated image
215 https://rt.cpan.org/Ticket/Display.html?id=69261
217 - fix incorrect rounding of color values for matrix_transform() and
219 https://rt.cpan.org/Ticket/Display.html?id=69261
221 - Win32 text output is now done in normal combine mode, the alpha
222 component of the color is now significant.
223 https://rt.cpan.org/Ticket/Display.html?id=70014
225 - remove long unused gif case from read()
226 https://rt.cpan.org/Ticket/Display.html?id=69244 (partial)
228 - the getsamples() target parameter was being treated as a hashref
229 when it's meant to be an array reference.
230 https://rt.cpan.org/Ticket/Display.html?id=74882
232 - getpixel() and setpixel() now returns an empty list when invalid
233 parameters are supplied.
234 Invalid values for type now result in an error for getpixel().
235 https://rt.cpan.org/Ticket/Display.html?id=73697
237 Imager 0.87 - 03 Jan 2012
240 - document the return value of the filter() method.
241 https://rt.cpan.org/Ticket/Display.html?id=72369
243 - document i_gsamp_bits() and i_psamp_bits().
244 https://rt.cpan.org/Ticket/Display.html?id=68815
246 - properly increment the Imager::Matrix2d $VERSION.
248 - actually include the Imager::Test tests in the dist
250 - correctly read and write 256x256 pixel ICO files
251 https://rt.cpan.org/Ticket/Display.html?id=69599
253 - make the error message from read() or read_multi() when they can't
254 identify the file type match reality.
255 https://rt.cpan.org/Ticket/Display.html?id=72475
257 - read() now uses $FORMATGUESS if it can't determine the file type
258 based on the file header, to match read_multi().
260 - re-work and add tests for def_guess_type(). def_guess_type() no
261 longer returns any random file extension as the file type.
263 - add gray4, gray16 and gray as presets for make_colors.
264 https://rt.cpan.org/Ticket/Display.html?id=67911
266 - add make_palette() method that produces a palette from one or more
269 - fix the Imager dependency for the separately distributed font
271 https://rt.cpan.org/Ticket/Display.html?id=72643
273 - fix i_render_color() to properly draw in "normal" mode - ie. when
274 writing to a 1 or 3 channel image the second or fourth channel of
275 the source color was being ignored, it is now significant.
276 https://rt.cpan.org/Ticket/Display.html?id=71564
278 Imager 0.86 - 31 Oct 2011
281 - improve error reporting for W32 tests
283 Imager 0.85_02 - 24 Oct 2011
288 - eliminate unused i_gif_opts type (clean-up)
289 https://rt.cpan.org/Ticket/Display.html?id=69245
291 - fix combine=0 fill color anti-aliasing on the double/sample path
292 https://rt.cpan.org/Ticket/Display.html?id=71309
294 - make default text color non-transparent
295 https://rt.cpan.org/Ticket/Display.html?id=71469
297 - apply the last of the Debian unforwarded spelling fixes
298 https://rt.cpan.org/Ticket/Display.html?id=70656
300 - the log() method used its message parameter as a C level format
302 https://rt.cpan.org/Ticket/Display.html?id=71653
304 - provide our own STRLEN typemap entry for older perls.
305 https://rt.cpan.org/Ticket/Display.html?id=71641
307 - add extra ppport.h configuration to support older perls.
309 - depend on Scalar::Util, since we use it and older perls don't have
312 - add overloaded eq to Imager::Matrix2d, since older perls don't seem
313 to synthesize it from overloaded "".
315 - use T1_StrError() for error messages on modern libt1
316 https://rt.cpan.org/Ticket/Display.html?id=69879
318 - actually load the font rather than just adding it to the catalog on
321 - Imager::Font->new now produces better error messages for the T1
324 - the font has_chars() method now returns perl's true and false
325 values in list context rather than integers, which should be more
327 https://rt.cpan.org/Ticket/Display.html?id=69158
329 - the btm data structure used by the flood_fill code is now
330 initialized more efficiently.
331 https://rt.cpan.org/Ticket/Display.html?id=68994
333 - updated the Thanks list in README
334 https://rt.cpan.org/Ticket/Display.html?id=71607
336 - check there's at least one coefficient for the convolution filter
337 https://rt.cpan.org/Ticket/Display.html?id=68993
339 - make the APIRef synopsis ordering consistent, older versions of
340 perl could order it differently.
341 https://rt.cpan.org/Ticket/Display.html?id=71675
343 - we rely on Config.pm's d_vsnprintf as to whether we use
344 vsnprintf/snprintf, which is defined in the Win32 Config.pm even
345 though it only has _ prefixed versions of these. Define our own
346 prefixed names on Win32.
347 https://rt.cpan.org/Ticket/Display.html?id=71642
349 - fix library detection with MSVC
351 - search a few more library directories, so EU::MM doesn't discard
352 them. Hopefully fixes:
353 https://rt.cpan.org/Ticket/Display.html?id=71643
355 Imager 0.85_01 - 10 Oct 2011
358 - add simple tests for the Imager::Test test_image generators
360 - io_glue I/O buffering re-work:
362 - reorganize io_glue to do it's own buffering by default
364 - the unbuffered functions are available as i_io_raw_read() (or
365 raw_read() from perl) etc but are not recommended for typical
368 - use the new i_io_peekn() when checking for file magic to avoid
369 seek, allowing Imager to detect the file type and read the file
370 from an unseekable stream (for formats that don't use random
373 - added several new I/O layer API functions.
375 - fix the TGA performance problem, most noticably on Win32
376 https://rt.cpan.org/Ticket/Display.html?id=70037
378 - TIFF now uses wrapper functions of the correct types to avoid casts
379 https://rt.cpan.org/Ticket/Display.html?id=69912
381 - the callback IO object did its own buffering, controlled by the
382 maxbuffer parameter supplied to the read() and write() methods.
383 This buffering has been removed, to avoid redundancy with the
384 common io_glue buffering. This also avoids a bug in that code
385 which could rarely pass a zero length to the read callback and
386 then panic about the result.
388 - the callback IO object now tests the result of calling the close
389 callback, which should return true for success.
391 - the PNM reader did its own buffering. This buffering has been
392 removed to avoid redundancy with the common io_glue buffering.
394 - previously the read handlers for fd and callback I/O layers would
395 call the underlying interface (POSIX read or your supplied callback)
396 until it filled the buffer. It now only makes one call.
398 - added public constructors for I/O layer objects (see Imager::IO)
400 - all core file handlers now use the i_io_foo() wrappers to gain
401 access to buffered I/O rather than calling the I/O layer
404 - all core file handlers now check for error on close.
406 - Backward compatibility: if you hava custom file handlers, you can
407 use i_io_write() etc since they're available as macros in older
410 - eliminate the final remnants of io_glue_commit_types().
412 - bump IMAGER_API_VERSION, since the above may break assumptions.
414 - removed the long unused i_gen_reader() and i_gen_writer() utility
417 Imager 0.85 - 29 Aug 2011
420 The main changes in the release versus 0.84 are:
422 - on 64-bit systems, 64-bit types are consistently used for image
423 dimensions and co-ordinated, and for memory block sizes.
425 - handle IFD loops in TIFF files correctly. Previously this would
426 lead to an infinite loop.
430 - fix the link in the getheight() entry in the method index
432 Imager 0.84_02 - 22 Aug 2011
435 Development release, this will become 0.85 if CPAN testers is
440 - the image file limits set by set_file_limits() weren't being
441 checked when reading TIFF files.
442 https://rt.cpan.org/Ticket/Display.html?id=69915
444 - Provide more information about file format module load errors on a
445 failed image file read() or write().
446 https://rt.cpan.org/Ticket/Display.html?id=69194
448 - use TIFFReadDirectory() instead of TIFFSetDirectory() to iterate
449 through TIFF images, since it checks for IFD loops.
450 https://rt.cpan.org/Ticket/Display.html?id=69914
452 - don't leak memory when out of range palette indexes are supplied to
454 https://rt.cpan.org/Ticket/Display.html?id=69242
456 - require a later version of CPAN::Meta to ensure JSON::PP and
457 CPAN::Meta::YAML are available.
458 https://rt.cpan.org/Ticket/Display.html?id=69008
460 - hoist the per-line calculations for the flines implementations, and
461 modernize the tests a bit.
462 https://rt.cpan.org/Ticket/Display.html?id=70126
464 - detect snprintf()/vsnprintf() (cheat by using Config.pm) and use
466 https://rt.cpan.org/Ticket/Display.html?id=69147
468 - if t1lib failed to reinitialize it would be left as marked
470 https://rt.cpan.org/Ticket/Display.html?id=69877
472 - update the bundled (and still modified) Devel::CheckLib
473 https://rt.cpan.org/Ticket/Display.html?id=69170
475 Imager 0.84_01 - 8 Aug 2011
478 Development release as a sanity check for the types re-work.
480 Massive types re-work:
482 - the type used internally for pixel co-ordinates and image sizes is
483 now 64-bit on 64-bit platforms (at least sane ones).
485 - size_t is now used consistently for memory block sizes.
487 - since this changes the binary interface, the Imager API version has
488 been incremented. Any module that uses the API will need to be
489 rebuilt. In most cases that will be enough, but calls to any APIs
490 that take a pointer to image sizes may need source changes.
492 - you should be able to create very large images on 64-bit systems,
493 if you have enough memory. Successfully created a 32768 x 49192 x
494 3 channel image, filled with a tiled image and scaled it. The
495 unscaled image was also successfully saved to a JPEG.
497 - check the image size before attempting to write BMP, GIF, JPEG,
498 PNG, SGI, TGA, TIFF images.
500 - correctly handle reading TGA images over 32767 pixels wide or tall.
504 - the gif_left and gif_top tags are now clamped to non-negative
505 values when writing a GIF image.
507 - removed dead callback read/write code
509 The default maximum memory size when reading files is now 1G.
511 Imager 0.84 - 20 Jun 2011
514 - Imager no longer inherits from Exporter (unless you're running an
517 - Imager can now write progressive JPEGs (it could always read them).
518 https://rt.cpan.org/Ticket/Display.html?id=68691
522 - re-work, document and test Imager's logging facility.
523 https://rt.cpan.org/Ticket/Display.html?id=65227
525 - fix META.yml testing and the generated META.yml
526 https://rt.cpan.org/Ticket/Display.html?id=65235
528 - test and add error reporting to to_*() family methods
530 - add to_rgb_double() method.
531 https://rt.cpan.org/Ticket/Display.html?id=65101
533 - Imager no longer exports anything by default
534 https://rt.cpan.org/Ticket/Display.html?id=65228
536 - convert colors to grayscale if the supplied (or generated) palette
537 contains only grays when performing error diffusion color
539 https://rt.cpan.org/Ticket/Display.html?id=68508
541 - writing a paletted image to GIF wouldn't always use the colors
542 supplied (or generated, eg. via make_colors => "mono"), which was
544 https://rt.cpan.org/Ticket/Display.html?id=67912
546 - replace (imager|tony)@imager.perl.org in the doc, since I don't
547 plan to continue receiving mail at that address.
548 https://rt.cpan.org/Ticket/Display.html?id=68591
550 Imager 0.83 - 21 May 2011
555 - diag() the error message on failure for some TIFF tests that are
556 failing on a Solaris smoker.
557 http://www.cpantesters.org/cpan/report/6396db1e-8090-11e0-9682-112b785ebe45
559 Imager 0.82_01 - 17 May 2011
562 Dev release, in case the compose tests are too sensitive.
566 - Imager::Font::T1 incorrectly checked for absolute filename under
567 Win32. Thanks to kmx for the report and fix.
568 https://rt.cpan.org/Ticket/Display.html?id=67963
570 - compose() with the target, source or mask position off the top or
571 left of the target image didn't clip the source image correctly.
572 https://rt.cpan.org/Ticket/Display.html?id=67220
574 - compose() now returns a useful error message on a non-positive
577 - compose.im now at 100% test coverage. (As opposed to, umm, much,
580 Imager 0.82 - 14 Mar 2011
585 - eliminate calls to i_has_format() from the test suite, since it's
586 no longer a useful way to check for file format support. Eliminate
587 i_has_format() from the functions exposed via XS.
588 https://rt.cpan.org/Ticket/Display.html?id=65863
590 - eliminate calls to note(), which isn't in the (very old) version of
591 Test::More we have as a pre-requisite. note() is modern enough
592 that I don't feel a need to require a Test::More upgrade for it.
593 https://rt.cpan.org/Ticket/Display.html?id=65864
595 - skip the threads tests on Test::More 2.00_*
596 https://rt.cpan.org/Ticket/Display.html?id=65812
598 - add an (unshipped) test to check Imager's internal POD links
599 https://rt.cpan.org/Ticket/Display.html?id=65749
601 - improve the library detection summary
602 https://rt.cpan.org/Ticket/Display.html?id=9675
604 - increase the version of Imager::Font::Type1 so that upgrades don't
605 downgrade the version in this file.
606 https://rt.cpan.org/Ticket/Display.html?id=66250
608 - if we see an -rpath (or -R) option in $Config{lddlflags} supply
609 that option for the directories that would normally go in
610 LD_RUN_PATH. Typically an explicit -rpath overrides LD_RUN_PATH.
611 https://rt.cpan.org/Ticket/Display.html?id=65955
613 Imager 0.81 - 14 Feb 2011
616 - added coverage tests for masked images (maskimg.c @100% test coverage)
618 - add hsv() method to Imager::Color
619 Thanks to Leolo (Philip Gwyn)
620 https://rt.cpan.org/Ticket/Display.html?id=65385
622 - split libt1 Type 1 font support into a sub-module
623 https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
625 - add a preload() class method for use in forking servers, and to
626 work around limitations in PAR.
627 https://rt.cpan.org/Ticket/Display.html?id=65665
631 - paletted writes to a masked image are now masked correctly.
632 Revealed by new coverage tests.
634 - update the filter plugin documentation.
635 https://rt.cpan.org/Ticket/Display.html?id=56513
637 - add the matrix() method to Imager::Matrix2d to allow creation of a
638 matrix with specified co-efficients. You can now multiple an
639 Imager::Matrix2d object by a 9 element array ref or a number.
640 https://rt.cpan.org/Ticket/Display.html?id=29938
642 - really fix loading TTF fonts with FT2 when FT1 isn't available.
643 Thanks to Leolo (Philip Gwyn)
644 https://rt.cpan.org/Ticket/Display.html?id=65386
645 https://rt.cpan.org/Ticket/Display.html?id=62855
647 - make sure each test script that needs testout/ creates it.
648 https://rt.cpan.org/Ticket/Display.html?id=65088
650 - handle a slightly different warning from libtiff 4.x
651 https://rt.cpan.org/Ticket/Display.html?id=65268
653 - the sat transform2() op returned an incorrect saturation.
654 https://rt.cpan.org/Ticket/Display.html?id=65391
656 Imager 0.80 - 17 Jan 2011
659 - added coverage tests for Imager::Fountain and Imager::Color::Float
661 - Imager is now maintained in git
662 http://git.imager.perl.org/imager.git
663 git://git.imager.perl.org/imager.git
667 - images with an translucent alpha channel were not scaled correctly
668 by the default (qtype=normal) scaling method.
669 https://rt.cpan.org/Public/Bug/Display.html?id=63922
671 - Imager::Color::Float now translates "#FFFFFF" to white instead of
672 just a little darker.
674 - make the default color map build algorithm "mediancut". This
675 changes the default color map builder for writing GIFs back to what
676 it was in 0.77, reverting a performance regression.
677 https://rt.cpan.org/Ticket/Display.html?id=64785
679 - handle failure to create a masked image correctly
681 Imager 0.79 - 10 Dec 2010
684 - add Imager::Test to the POD coverage tests and document the missing
687 - the convert() method now optimizes the case where all output
688 channels are either 0, sourced from a single input channel or 1.
689 This significantly speeds up presets like "addalpha", "green".
690 https://rt.cpan.org/Ticket/Display.html?id=51254
692 - add wiggle.pl sample, as suggested by Dan Oppenheim.
694 - add the combine() method to combine channels from multiple source
695 images into a new image
696 https://rt.cpan.org/Ticket/Display.html?id=11872
700 - treat the co-efficients for convert() as doubles instead of floats.
702 - If a higher (earlier) priority font handler failed to load, that
703 would crash preventing loading of later font handlers.
704 https://rt.cpan.org/Ticket/Display.html?id=62855
706 - parse defines from the options returned by pkg-config --cflags
707 https://rt.cpan.org/Ticket/Display.html?id=63223
709 - a regen of the MANIFEST revealed that GIF and FT2 tests weren't
710 included in the tarball. They are now included.
712 Imager 0.78 - 4 Oct 2010
717 - don't access deprecated members of the png_structp.
718 https://rt.cpan.org/Ticket/Display.html?id=60242
720 - document that using color objects is faster than supplying colors
722 https://rt.cpan.org/Ticket/Display.html?id=61047
724 - Imager::Probe now accepts array references for incpath and libpath.
725 https://rt.cpan.org/Ticket/Display.html?id=60244
727 Imager 0.77_02 - 27 Sep 2010
730 - moved Win32, FreeType 2 font support into sub-modules.
731 https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
732 Uses Imager::Probe now.
733 https://rt.cpan.org/Public/Bug/Display.html?id=61328
735 - tested successfully with jpeg-8b
736 https://rt.cpan.org/Ticket/Display.html?id=60221
740 - from _01: look for missing file support test files in the right
743 - flood_fill() wouldn't fill the right side of a single scan-line
745 Thanks to Nicolas Roggli for reporting this.
747 - flood_fill wouldn't fill to the left edge of the image if the
748 starting line didn't reach the left edge.
749 Thanks to Nicolas Roggli for reporting this.
751 Imager 0.77_01 - 13 Sep 2010
754 - add each library-directory/pkgconfig/ to the pkg-config search path
756 Thanks to Justin Davis.
757 https://rt.cpan.org/Ticket/Display.html?id=60491
759 - moved GIF, TIFF, JPEG file handling code into sub-modules in
760 preparation for separate distribution.
761 https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
763 Note: this removed support for libungif from Imager.
765 - optimize filled box drawing (color, not fill)
769 - Imager::Probe was calling ExtUtils::Liblist to initialize
770 LD_RUN_PATH supplying an undefined value rather than the found
771 directory. Thanks to Justin Davis.
772 https://rt.cpan.org/Ticket/Display.html?id=60491
774 - only prepend ./ to font filenames when passing them to T1Lib and
775 then only when it would use its search mechanisms.
776 https://rt.cpan.org/Ticket/Display.html?id=60509
778 - fix the cache check for the X rgb.txt loader. This is typically
779 used for color translation on Unix-like systems, and the fix
780 improves performance of supplying colors by name by about 80 times.
781 Test code that managed 3400 10x10 pixel boxes/second sped up to
784 - clarify that Imager doesn't write EXIF metadata to images.
785 https://rt.cpan.org/Ticket/Display.html?id=60637
787 - Imager::Probe can now search subdirectories under its include path.
788 Used by the PNG Makefile.PL to find headers and libraries when they
789 aren't in the base directory, as in cygwin.
790 https://rt.cpan.org/Ticket/Display.html?id=60635
792 Imager 0.77 - 11 Aug 2010
795 I don't want Imager::File::PNG indexed as part of Imager, but forgot
796 to update the META.yml before updating the version.
798 - don't index Imager::File::PNG as part of Imager
800 - add resources to META.yml
802 Imager 0.76 - not released
807 - the align_string() method would ignore a string of "0" due to a
809 Thanks to Maurice Height for reporting this.
810 https://rt.cpan.org/Ticket/Display.html?id=60199
812 Imager 0.75_03 - 09 Aug 2010
817 - read_types() and write_types() would include png when it wasn't
818 available due to a problem with the %formats tie
820 - handle dependent libraries correctly (eg -lpng requiring -lz) in
821 the code run phase of library probing.
823 Imager 0.75_02 - 07 Aug 2010
828 - add file missing from MANIFEST, which was causing TIFF failures.
830 Imager 0.75_01 - 06 Aug 2010
833 Test release for the new PNG probe.
835 - added the ability to read multiple-image PNM files.
836 Note that unlike the pbm/pgm/ppm specification this accepts mixed
837 format files and allows white space padding between files.
838 Thanks to Philip Gwyn (Leolo) for this patch.
840 - moved the PNG file handling code into a sub-module in preparation
841 for separate distribution.
842 https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
843 Also helps avoid complications from -I/-L compile/link options from
848 - Imager->new(data => $data) didn't try to process image file data in
850 https://rt.cpan.org/Ticket/Display.html?id=58761
852 - t/t50basicoo.t no longer depends on the other tests to generate its
854 https://rt.cpan.org/Ticket/Display.html?id=9798
855 Also, it wasn't testing pnm (pnm vs ppm mix-up)
857 - update the documentation of hardinvert to match the change in 0.62.
858 https://rt.cpan.org/Ticket/Display.html?id=59785
860 - added hardinvertall filter which also inverts the alpha channel
863 - when probing for TIFF, set LD_RUN_PATH just as the Makefile does so
864 the probe can find the library for the test run.
865 https://rt.cpan.org/Ticket/Display.html?id=57518
867 Imager 0.75 - 20 Jun 2010
870 - use PERL_NO_GET_CONTEXT to slightly improve performance on threaded
875 - an opacity fill based on a fountain fill would segfault when
876 filling an 8-bit/sample image.
878 - merge thickline branch polygon fix
879 https://rt.cpan.org/Ticket/Display.html?id=43518
881 Imager 0.74 - 7 May 2010
886 - read_multi() didn't handle a missing file format library correctly,
887 aborting on failing to call i_readgif_multi_wiol() or
888 i_readtiff_multi_wiol().
890 - fix spelling errors patched by Debian
891 http://svn.debian.org/viewsvn/pkg-perl/trunk/libimager-perl/debian/patches/spelling.patch?revision=54839&view=markup
893 - add an (unshipped) author test to spellcheck Imager's POD.
895 - update the TIFF file format documentation
896 https://rt.cpan.org/Ticket/Display.html?id=56510
898 - lib/Imager/IO.pod was written almost 4 years ago but never shipped.
900 Imager 0.73 - 15 Mar 2010
903 - implement outline circles, both anti-aliased and not
904 https://rt.cpan.org/Ticket/Display.html?id=19755
906 - a combine => "none" fill to a 1 or 3 channel image would produce
907 the incorrect colour.
909 Imager 0.72 - 09 Dec 2009
912 Bump version for release, since 0.71_03 is stable with CPAN testers.
914 Imager 0.71_03 - 5 Dec 2009
917 - further adjust the threads test so it only performs the tests on
918 perls where it's expected to work, and only if the threads module
921 Imager 0.71_02 - 1 Dec 2009
924 - adjust the way we load the threads module for the threads test so
925 it works with non-threaded perls
927 Imager 0.71_01 - 30 Nov 2009
932 - use scanline oriented operations to flip images instead of pixel
934 https://rt.cpan.org/Ticket/Display.html?id=39278
936 - use double/sample operations to flip large sample images instead of
937 8-bit sample operations.
938 https://rt.cpan.org/Ticket/Display.html?id=39280
941 https://rt.cpan.org/Ticket/Display.html?id=51874
943 - prevent double-frees when someone creates Imager objects and then
944 creates a thread. Note: this just handles some simple cases,
945 Imager doesn't support perl threads, and isn't likely to.
946 https://rt.cpan.org/Ticket/Display.html?id=52268
948 Imager 0.71 - 16 Nov 2009
951 - add the opacity fill type - an adaptor that modifies the opacity of
956 - the conv filter now enforces that the sum of the coefficients is
957 non-zero. Also, rather than skipping pixels off the edge off the
958 edge of the image, the closest edge pixel is used. Previously
959 dividing by the zero sum of coefficients could cause invalid
960 results or runtime exceptions.
961 Thanks to David Cantrell's Alpha-NetBSD CPAN test box for revealing
964 Imager 0.70 - 21 Sep 2009
969 - release image row and comments memory on all error returns in gif
972 - handle zero length extensions, previously this would cause a null
974 Thanks to Krzysztof Wojtaś for the test data and fix for this.
976 - an integer division meant that preview scaling to below 1 pixel
977 wide or high (which isn't too useful anyway) was calculating using
978 NaNs on most platforms, and causing an exception on others.
979 Thanks to David Cantrell for producing a backtrace of the crash on
980 his Alpha-NetBSD CPAN test box which made it possible to track this
983 Imager 0.69 - 08 Sep 2009
988 - broken test fix - was attempting to call a function skip_all, when
989 that should be a parameter to plan().
991 - briefly document apidocs.perl, the tool used to build
992 Imager::APIRef and make some minor enhancements
994 - various minor documentation enhancements and fixes.
996 Imager 0.68 - 07 Sep 2009
999 - Imager->new(file => $filename) and other similar incantations will
1000 load the given file.
1001 https://rt.cpan.org/Ticket/Display.html?id=48261
1005 - avoid using CHECK as a label in Imager::Test
1006 http://nntp.x.perl.org/group/perl.cpan.testers/5220921
1008 - re-work most image file test files that require a library into
1009 separate library present/not present files to remove stupidly long
1012 - don't treat rubthrough() outside the bounds of the target image as
1014 http://nntp.x.perl.org/group/perl.cpan.testers/5185716
1016 Imager 0.67_01 - 02 Sep 2009
1021 - correct documentation of default of raw image interleave read
1023 https://rt.cpan.org/Ticket/Display.html?id=42074
1025 - add raw_ prefix to raw read parameters, though the original names
1028 - fail the read if an invalid raw_interleave parameter is supplied
1030 - warn if no interleave or raw_interleave parameter is supplied,
1031 since the documented default was wrong, and incompatible with the
1034 - for reading raw images, if raw_storechannels > raw_datachannels,
1035 set the extra channels in the image to 0
1037 - when probing for executables like freetype-config, search for .bat
1038 and .cmd on MSWin32, as well as .exe.
1039 https://rt.cpan.org/Ticket/Display.html?id=49275
1041 - re-work the external libraries section of README:
1042 - list Debian and Redhat package names for each library
1046 - use the new EU::MM META_MERGE facility instead of generating
1047 META.yml from scratch
1048 https://rt.cpan.org/Ticket/Display.html?id=47888
1050 - use Devel::CheckLib (bundled, modified) to check which release of
1051 libtiff is installed and reject 3.9.0
1052 http://bugzilla.maptools.org/show_bug.cgi?id=2088
1053 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543079
1055 Imager 0.67 - 12 Dec 2008
1060 - fix a packaging error
1062 Imager 0.66 - 12 Dec 2008
1065 - 24-bit color .ICO/.CUR files can now be read.
1069 - an optimization skipping 0 src alpha values could cause the
1070 rubthrough() to read past the end of a buffer.
1071 http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1509184.html
1073 - corrected a reference leak where writing GIFs would leak memory.
1074 This could also happen calling to_paletted().
1075 Also documented the underlying long existing feature where the
1076 colors parameter is filled with the generated color table and added
1078 http://rt.cpan.org/Ticket/Display.html?id=41028
1080 - write out the image size in bytes field of a BMP correctly.
1081 http://rt.cpan.org/Ticket/Display.html?id=41406
1083 - add limited tests for Imager::ExtUtils
1085 - make Imager::ExtUtils->includes use an absolute path, since
1086 a relative path could cause failures using Inline::C.
1087 http://rt.cpan.org/Ticket/Display.html?id=37353
1089 - re-arrange the POD for Imager::Font::BBox:
1090 - mark total_width(), pos_width(), end_offset() obsolete, since
1091 they're mostly for backwards compatibility
1092 - group width methods and height methods
1093 https://rt.cpan.org/Ticket/Display.html?id=39999
1095 Imager 0.65 - 20 May 2008
1100 - In some cases when an error occurs reading those parts of a JPEG
1101 file after the image the scan-line buffer could be freed a second
1102 time. In cases where the the error occured while reading the image
1103 data it's possible that the buffer could have leaked.
1104 Thanks to Gabriel Vasseur for reporting this and help in tracking
1107 - the gif_screen_height tag was overriding the screen width and being
1108 ignored for the screen height when present.
1109 https://rt.cpan.org/Public/Bug/Display.html?id=35568
1111 Imager 0.64 - 23 April 2008
1114 This is a bug fix release. This includes a fix for a possible
1119 - Possible security issue: The floating point sample path for image
1120 based fills had a buffer overflow. This would overwrite the end of
1121 a malloc()ed buffer with double precision floats.
1122 http://rt.cpan.org/Ticket/Display.html?id=35324
1125 - check that the result of fileno($fh) is defined rather than simply
1126 true when read() or write() is supplied with an fh parameter.
1127 http://rt.cpan.org/Ticket/Display.html?id=35139
1129 - i_scale_axis() wasn't checking the result of i_img_new_ch()
1130 resulting in a SIGSEGV when attempting to scale an image to a size
1131 too large to fit in memory. This is a NULL pointer access issue,
1132 not a buffer overflow.
1133 Added a check for the failure.
1134 scale_calculate() (and hence scale()) will now fail if any of the
1135 scale size parameters are a reference.
1136 http://rt.cpan.org/Ticket/Display.html?id=35172
1138 - Regression: filling a greyscale image with a hatch used the wrong
1139 color channels from the supplied fg/bg colors.
1140 https://rt.cpan.org/Ticket/Display.html?id=35278
1142 - fixed a related problem for image fills.
1144 Imager 0.63 - 7 April 2008
1147 This release primarily contains changes to improve ease of use -
1148 rather than you having to convert images to the appropriate number of
1149 channels, Imager handles it internally. How to handle drawing colors
1150 and the default combine mode is a thornier problem left for some other
1153 - the font libraries are now only initialized when needed.
1154 http://rt.cpan.org/Ticket/Display.html?id=28825
1156 - moved the imtoc.perl code into Imager::Preprocess
1158 - paste() and rubthrough() now adapt the source image data to the
1159 destination, so you can now safely paste/rubthrough from greyscale
1160 images to color images or back, or from alpha channel images to
1161 noalpha channels or back.
1162 https://rt.cpan.org/Ticket/Display.html?id=30908
1164 - rubthrough() now falls back to pasting when the source doesn't have
1165 an alpha channel. This effectively treats the source as having a
1166 max alpha channel, the right thing to do.
1167 http://rt.cpan.org/Ticket/Display.html?id=29944
1169 - re-worked most of the area filling code to use a common set of
1170 functions when filling.
1171 Corrected normal combine mode.
1172 Rewrote most of the combine modes to match the way the SVG draft
1173 defines them with respect to a translucent source and destination.
1174 Added tests for translucent source and destination.
1175 Added tests to check 8-bit/sample and double/sample combines work
1177 https://rt.cpan.org/Ticket/Display.html?id=29879
1179 - writing a 2 or 4 channel image to a JPEG file will now write that
1180 image as if composited against a background, black by default,
1181 overridable with the i_background tag/parameter.
1182 https://rt.cpan.org/Ticket/Display.html?id=29876
1184 - writing a 2 or 4 channel image to a PGM/PPM file will now write
1185 that image as if composited against a background, black by default,
1186 overridable with the i_background tag/parameter.
1187 http://rt.cpan.org/Ticket/Display.html?id=30074
1189 - writing a 2 or 4 channel image to a BMP file will now write that
1190 image as if composited against a background, black by default,
1191 overridable with the i_background tag/parameter.
1192 http://rt.cpan.org/Ticket/Display.html?id=30075
1196 - Imager::Matrix2d->translate() now only requires one of the x or y
1198 http://rt.cpan.org/Ticket/Display.html?id=29937
1200 - mixing qtype scaling now sets all channels of a pixel to zero if
1201 the pixel has zero coverage (zero alpha). This should produce more
1202 compressible output files.
1203 http://rt.cpan.org/Ticket/Display.html?id=32324
1205 - removed the pointless #! line from lib/Imager/Font/Wrap.pm
1207 https://bugzilla.redhat.com/show_bug.cgi?id=166254
1208 I'm not changing the #! lines of the sample code, since it's sample
1209 code, not intended for installation.
1210 http://rt.cpan.org/Ticket/Display.html?id=33408
1212 - some TGA images weren't being detected correctly as TGA images
1213 https://rt.cpan.org/Ticket/Display.html?id=32925
1215 - handling of the left-over bit for 16-bit/pixel TGA images has been
1216 changed to match the behaviour of the GIMP. Previously the bit
1217 being set was treated as an opaque pixel, but one user reported a
1218 problem with loading such an image. I haven't been able to find any
1219 tools beyond the GIMP that handle alpha-channel 16-bit TGAs, so
1220 I'll match it's behaviour. See issue 114913 in the GIMP's
1222 http://rt.cpan.org/Ticket/Display.html?id=32926
1224 Imager 0.62 - 10 December 2007
1227 - Makefile.PL now expands ~/path supplied to --incpath or --libpath
1228 to /path under your home directory.
1229 http://rt.cpan.org/Ticket/Display.html?id=29484
1231 - the old dynaload code used Mach API functions to load dynamic
1232 libraries on Mac OS X. These APIs have been deprecated in OS X
1233 10.5 and were causing some build problems.
1234 So henceforth Imager uses the dlopen() family of functions, and you
1235 will need version 10.3 or later of OS X.
1237 - added the det() function to the transform2() engine.
1238 added the sample quad_to_square.pl
1239 Courtesy Richard Fairhurst.
1240 http://rt.cpan.org/Ticket/Display.html?id=31244
1244 - samples/gifscale.pl sourced the base value for gif_top from
1246 Thanks to Eleneldil G. Arilou for pointing this out.
1248 - t/t82inline.t no longer loads B at runtime, to work around a bug
1249 in some 5.005_0[45] installations.
1250 http://rt.cpan.org/Ticket/Display.html?id=30508
1252 - work around Module::Depends::Intrusive bug #21229
1253 http://rt.cpan.org/Ticket/Display.html?id=30520
1255 - the hardinvert filter no-longer inverts the alpha channel.
1256 http://rt.cpan.org/Ticket/Display.html?id=30002
1258 - the hardinvert filter now supports large samples
1260 Imager 0.61_02 - 28 November 2007
1263 - major TIFF support re-work
1264 http://rt.cpan.org/Ticket/Display.html?id=20329
1266 - added a C level image interface for accessing samples from 1-32
1267 bits, exposed this at the perl level in getsamples()
1269 - the conv filter now works at floating point precision for high bit
1272 - added is_bilevel method to test whether an image should be written as
1273 a bilevel image if the image format supports it.
1275 - added -log-stderr as an Imager import list option
1277 - added some important types to Imager::APIRef
1279 - added test_image_double() to Imager::Test
1283 - Imager::Fountain couldn't read GIMP gradient files with 10 or more
1286 - the scale() method with qtype mixing now handles images with an
1287 alpha channel correctly.
1289 - fixed a broken link from the "animated GIF" entry in the concept index.
1290 Thanks to Slaven Rezic.
1291 http://rt.cpan.org/Ticket/Display.html?id=30889
1293 - on some perl's the infix expression parser test would fail due to
1294 actions in the grammar returning false. Made sure all actions return
1296 Thanks to Richard Fairhurst for spending a lot of time in tracking
1298 http://rt.cpan.org/Public/Bug/Display.html?id=29562
1300 Imager 0.61 - 5 November 2007
1303 - added samples/gifscale.pl, which adjusts the screen size/position tags
1304 when scaling an animated gif
1305 http://rt.cpan.org/Ticket/Display.html?id=27591
1309 - correct handling of sz in matrix_transform() - this should allow
1310 perspective type transformations to work now.
1311 http://rt.cpan.org/Ticket/Display.html?id=29936
1313 - prevent a cast to integer warning on x64 builds in datatypes.c
1314 also fixed some other type warnings
1315 https://rt.cpan.org/Ticket/Display.html?id=30204
1317 - some sub-directory tests depended on files produced by the parent
1319 http://rt.cpan.org/Ticket/Display.html?id=30203
1321 - Imager::Font::Wrap doesn't correctly set savepos
1322 thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this.
1323 http://rt.cpan.org/Ticket/Display.html?id=29771
1325 - test 171 in t/t01introvert.t was failing on perls configured to
1327 http://rt.cpan.org/Ticket/Display.html?id=29413
1329 - the code for the transform2() uminus operator was missing a break.
1330 Added tests for better code coverage of the ops.
1331 http://rt.cpan.org/Ticket/Display.html?id=29296
1333 - the SGI RLE compression code could overflow its compression buffer
1334 http://rt.cpan.org/Ticket/Display.html?id=30334
1336 - the 32-bit output function used by the SGI code only handled values
1337 under 0x10000. This was most noticable when writing large RLE images.
1338 http://rt.cpan.org/Ticket/Display.html?id=30335
1340 - validate chan_count for chans == NULL for each of the i_gsamp()
1342 http://rt.cpan.org/Ticket/Display.html?id=28985
1344 - attempt to work around the test failure at
1345 http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html
1346 http://rt.cpan.org/Ticket/Display.html?id=29562
1348 - improve the error messages produced when attempting to read or write
1349 an unknown image file format.
1350 http://rt.cpan.org/Ticket/Display.html?id=30103
1352 - improve the transform2() documentation
1353 http://rt.cpan.org/Ticket/Display.html?id=29267
1355 - correctly generate the author key in META.yml
1356 http://rt.cpan.org/Ticket/Display.html?id=30377
1358 - correctly blend a rotated (or matrix_transformed()) image when
1359 performing interpolation in the presence of an alpha channel.
1360 Also corrected the centring of the rotated image on the output
1363 Imager 0.60 - 30 August 2007
1366 - Finished/rewrote Arnar's old SGI RGB file format support, so Imager
1367 now has full SGI RGB image format, including RLE and 16-bit/sample
1369 https://rt.cpan.org/Ticket/Display.html?id=8666
1371 - logging functions are now available in the API
1373 - applied Gabriel Vasseur's patch
1374 added documentation, further tests, and support for greyscale images
1375 Obviously problems are my fault :)
1376 https://rt.cpan.org/Ticket/Display.html?id=28142
1378 - the mask for ICO/CUR images is now applied as an alpha channel to
1379 the returned image. For the old behaviour, supply ico_masked => 0
1380 to read() or read_multi(). This should be less confusing when
1381 using Imager as a general image processor.
1382 https://rt.cpan.org/Ticket/Display.html?id=29001
1386 - in some cases it's possible for giflib/libungif to return color
1387 indexes outside the range of colors defined by the image's palette.
1388 We now expand the palette to match the indexes used.
1389 Thanks to Gabriel Vasseur for reporting this.
1391 - fixed various memory leaks that could occur when failing to read png,
1392 jpeg, bmp or tga files.
1394 - to avoid confusion, channels not present in the image are returned as
1395 zero by getscanline(). This has no effect on the C level i_glin()
1396 and i_glinf() API functions which continue to not set the unused
1399 - the convert() method now returns an image of the same sample size as
1401 https://rt.cpan.org/Ticket/Display.html?id=28492
1403 - remove repeated text in Imager::Files
1404 http://rt.cpan.org/Ticket/Display.html?id=27589
1406 - be even more explicit that scale() and friends don't modify the source
1407 image, but return a new image.
1408 http://rt.cpan.org/Ticket/Display.html?id=28570
1410 - improve the error message from errstr() when you try to load a font
1411 for which the driver hasn't been built in Imager.
1412 http://rt.cpan.org/Ticket/Display.html?id=27571
1414 - transparency is now enabled by default when writing GIF images
1415 http://rt.cpan.org/Ticket/Display.html?id=27615
1417 - Imager would not load on Windows 98
1418 http://rt.cpan.org/Ticket/Display.html?id=27653
1420 Imager 0.59 - 14 June 2007
1425 - fixes a regression introduced by the fixes for RT 11972
1426 http://rt.cpan.org/Ticket/Display.html?id=27546
1428 - cropping outside the image would return an Imager object with
1429 no low-level image object, instead of returning false.
1430 Fixed by: Philip Gwyn (Leolo)
1431 http://rt.cpan.org/Ticket/Display.html?id=27509
1433 Imager 0.58 - 16 May 2007
1436 No significant changes from 0.57_01.
1438 Imager 0.57_01 - 11 May 2007
1441 - added to_rgb16 to produce a 16-bit/sample version of an image
1443 - improve freetype 1.x text output efficiency
1447 - search another place for rgb.txt, and check all the places
1448 Imager::Color checks when deciding whether to skip testing it
1449 http://rt.cpan.org/Ticket/Display.html?id=26064
1451 - use a convolution kernel size based on the stddev rather than a
1452 fixed size when performing a gaussian blur
1453 http://rt.cpan.org/Ticket/Display.html?id=25645
1455 - document the difference() method's mindist parameter, and debug it.
1457 - put the Imager release number in the Inline::C generated code to
1458 regenerate Inline code when a new release of Imager is installed.
1459 http://rt.cpan.org/Ticket/Display.html?id=26278
1461 - fix rendering on alpha channel images for the FreeType 1.x driver.
1462 http://rt.cpan.org/Ticket/Display.html?id=11972
1464 - fix rendering on alpha channel images for the T1lib driver.
1465 http://rt.cpan.org/Ticket/Display.html?id=11972
1467 - reworked library probing, we can now set more than one probe
1468 function for a library. Disabled the default (non-freetype-config)
1469 library probe and added an extra probe function that searches for
1470 both ft2build.h and whatever it includes, and adds -I as needed.
1471 Hopefully this will fix build problems like
1472 http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html
1473 http://rt.cpan.org/Ticket/Display.html?id=26086
1475 Imager 0.57 - 30 Apr 2007
1478 This is a maintenence release fixing a security issue in Imager.
1480 - CRITICAL: a specially crafted compressed BMP file can cause a buffer
1481 overflow in malloced memory. There will be further discussion of
1482 this issue in the ticket below.
1483 http://rt.cpan.org/Ticket/Display.html?id=26811
1484 CVE-2007-2459 CVE-2007-2413
1485 The descriptions at cve.mitre.org varied in quality, please see the
1486 ticket at rt.cpan.org for a more accurate description of the issue.
1488 Imager 0.56 - 1 Apr 2007
1491 - added support for reading 16-bit/sample PGM/PPM images
1493 - added support for writing 16-bit/sample PGM/PPM images
1495 - improved performance of reading PBM/PGM/PPM images
1497 - added support for writing PBM images if the image is paletted and
1498 contains only black and white
1500 - added a new make_colors value - "mono"
1502 - switched from the svn log Changes to a manual Changes to reduce
1505 - new sample code - samples/flasher.pl
1509 - CRITICAL: the "Imager" typemap entry (not used by Imager itself)
1510 was returning an image object with an extra reference, this
1511 resulted in a memory leak.
1512 http://rt.cpan.org/Ticket/Display.html?id=24992
1514 - fix rendering on alpha channel images for the FreeType 2.x driver
1515 http://rt.cpan.org/Ticket/Display.html?id=11972
1517 - reading bmp files now consitently handles short reads. You can now
1518 supply a parameter to treat a short read as successful and set
1520 http://rt.cpan.org/Ticket/Display.html?id=8426
1522 - previously, reading ASCII PBM files required spaces between samples,
1523 even though the format doesn't require that
1525 - improved documentation of the unsharpmask filter (I hope)
1526 http://rt.cpan.org/Ticket/Display.html?id=25531
1528 - force flushing of the output from i_tt_dump_names() and test output
1529 in t/t35ttfont.t to prevent output from being mixed up.
1530 https://rt.cpan.org/Ticket/Display.html?id=24859
1532 - rewrite a conditional expression as an if() to hopefully work around
1533 a bug in the pre-4.0 GCC Apple shipped with OS X 10.4.
1534 https://rt.cpan.org/Ticket/Display.html?id=25561
1536 - avoid Data::Dumper in regops.perl to support older releases of perl
1537 https://rt.cpan.org/Ticket/Display.html?id=24391
1539 Imager 0.55 - 16 Dec 2006
1542 This is primarily a bug fix release.
1544 Note: Test::More is now a pre-requisite for Imager and is no longer bundled.
1546 There is one new feature:
1548 - the Win32 font driver now supports UTF8 (RT 22166)
1549 http://www.cpanforum.com/threads/3276
1550 http://rt.cpan.org/Ticket/Display.html?id=22166
1552 Several bugs were fixed:
1554 - the string() method would not output the string "0"
1555 http://rt.cpan.org/Public/Bug/Display.html?id=21770
1557 - fills.c was failing to compile on Solaris 10 (compiler unknown)
1558 http://rt.cpan.org/Public/Bug/Display.html?id=21944
1560 - the gif_disposal and gif_user_input tags weren't being read from
1562 http://rt.cpan.org/Public/Bug/Display.html?id=22192
1564 - gif.c was failing to build under MSVC
1565 http://rt.cpan.org/Ticket/Display.html?id=23922
1567 - in some cases strings passed to the string() method were treated as
1568 terminated by NUL (chr 0)
1569 http://rt.cpan.org/Public/Bug/Display.html?id=21770
1571 - on "MSWin32" perl builds we now link to -lzlib instead of -lz since
1572 that's the default build name for zlib on Win32.
1573 http://rt.cpan.org/Ticket/Display.html?id=23064
1575 - search $Config{incpath} for headers too, which we should have been
1578 Win32 font driver fixes:
1580 - the global descent value from bounding box was the wrong sign
1581 http://www.cpanforum.com/threads/3276
1583 - if the first or last glyph overflowed the left or right side of the
1584 advance width they would be clipped
1587 Imager 0.54 - 14 Sep 2006
1590 This is primarily a feature release:
1592 - a new qtype value 'mixing' has been added to the scale()
1593 method. This is faster than 'normal', slower than 'preview'. This
1594 is based on the method used by pnmscale, and seems to produce less
1595 blurry results than normal.
1596 http://rt.cpan.org/Public/Bug/Display.html?id=20677
1598 - the rubthrough() method can now render onto images with an alpha
1600 http://rt.cpan.org/Ticket/Display.html?id=20678
1602 - the read_multi() method now falls back to calling doing a single
1603 image read via the read() method and write_multi() will now fall
1604 back to calling write() if a single image is supplied. This means
1605 you can simply call the read_multi() or write_multi() functions
1606 without having to check if the type is formatted by that method.
1607 http://rt.cpan.org/Ticket/Display.html?id=19457
1608 http://rt.cpan.org/Ticket/Display.html?id=19458
1610 - the GIF loop extension can now be written. If you don't have
1611 libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you
1613 http://rt.cpan.org/Ticket/Display.html?id=21185
1615 - getscanline() and setscanline() can now read/write palette index
1616 based data from/to the image for paletted images, by setting type to
1618 http://rt.cpan.org/Ticket/Display.html?id=20338
1620 - we no longer hassle you to disable GIF support
1621 http://rt.cpan.org/Ticket/Display.html?id=20687
1623 - minor documentation fixes
1626 Imager 0.53 - 26 Jul 2006
1629 This is a bugfix release.
1631 Some test code was left in a code path not covered by the test
1632 suite. A test was added to cover this code path and the test code was
1634 http://rt.cpan.org/Public/Bug/Display.html?id=20705
1637 Imager 0.52 - 25 Jul 2006
1640 This is primarily a feature release, but contains a fair few bug
1641 fixes, new features:
1643 - ability to read and write MS Windows ICO and CUR files
1645 - you can now add file format plugins to support new file formats
1647 - add POD coverage tests
1649 - setcolors() and addcolors() now accept color names and so on
1650 instead of requiring Imager::Color objects.
1651 http://rt.cpan.org/Ticket/Display.html?id=20056
1653 - flood_fill() can now fill to a specified border color instead of
1654 just to the area the same color as the seed.
1655 http://rt.cpan.org/Ticket/Display.html?id=19618
1660 - bounding_box for the T1 driver wasn't converting UTF8 to ascii when
1661 calculating the advance width.
1662 http://rt.cpan.org/Public/Bug/Display.html?id=20554
1664 - bounding_box for the T1 driver wasn't including leading and
1665 trailing spaces in the bounding box as the other drivers did, it also
1666 produced strange results for empty strings or strings containing only
1669 - when reading CMYK jpeg images they were being transferred to the
1670 image object as is, producing a four channel image. It only looked ok
1671 due to an old still unfixed Photoshop bug. We now convert from the
1672 inverted CMYK that photoshop (and Corel for example) produce into RGB.
1673 http://rt.cpan.org/Ticket/Display.html?id=20416
1675 - reading a CYMK TIFF would result in a 4 channel image, reading any
1676 image with more than 4 channels (eg. RGB with 2 alpha channels) would
1678 http://rt.cpan.org/Ticket/Display.html?id=20415
1680 - added /usr/local/include to the default include search path, since
1681 we were already searching /usr/local/lib for libraries.
1683 And various minor fixes and documentation updates.
1686 Imager 0.51 - 23 Apr 2006
1689 - fix a validation bug when processing JPEG EXIF data that can cause
1691 http://rt.cpan.org/Public/Bug/Display.html?id=18496
1693 - fix mis-processing of the src_maxx and src_maxy parameters of the
1695 http://rt.cpan.org/Public/Bug/Display.html?id=18712
1697 - fix a problem in Imager's "smart" handling of the color parameter
1699 http://rt.cpan.org/Public/Bug/Display.html?id=18561
1702 Imager 0.50 - 29 Mar 2006
1705 - CRITICAL: fixes a segmentation fault from attempting to write a 2
1706 or 4 channel image to jpeg or a 2 channel image to tga where the
1707 output is an in-memeory buffer.
1708 http://rt.cpan.org/Public/Bug/Display.html?id=18397
1710 - fixes an incorrect pointer parameter in the PNG code
1711 http://rt.cpan.org/Public/Bug/Display.html?id=18051
1713 - skip Inline::C tests when building in a directory with spaces
1714 http://rt.cpan.org/Public/Bug/Display.html?id=18049