1 Imager release history. Older releases can be found in Changes.old
3 - NOTE: possibly backward incompatible
4 support reading from/writing to perl filehandes that aren't raw
7 This allows Imager's I/O to honour handles with layers such as
8 gzip, scalar file handles or tied file handles.
10 This is backward in-compatible in that previous Imager would simply
11 use fileno() to retrieve the fd for the file and call write(2) etc
13 https://rt.cpan.org/Ticket/Display.html?id=78843
15 - moved most of README to lib/Imager/Install.pod which should make it
16 more accessible to the "web" generation, also significantly updated
19 - updated README's for the separately distributed modules to refer to
20 Imager::Install, and that they need -dev versions of packages
21 https://rt.cpan.org/Ticket/Display.html?id=81265
23 - the JPEG test code now reports the compile-time library version
25 - avoid a possible compiler optimization issue on CentOS 5.9 i386 by
26 rearranging (and mildly optimizing) some code.
27 https://rt.cpan.org/Ticket/Display.html?id=83212
29 - fix a POD error in Imager::Fill (detected on new Pod-Simple)
30 https://rt.cpan.org/Ticket/Display.html?id=83434
32 - fix a broken link to Graphics::Magick
33 https://rt.cpan.org/Ticket/Display.html?id=82743
35 - drawing text to a channel with FT2 would draw with random coverage
36 due to an uninitialized alpha channel.
38 - marked the function pointer underlying the mm_log() API with the
39 correct gcc magic and fixed the resulting warnings.
41 - fixed some other compiler warnings
43 Imager 0.94 - 15 Dec 2012
44 =========================
46 Variations on some of these changes were included in development
49 - improved thread safety
50 - the internal error stack and log file handle are now in a per-thread
52 - JPEG now captures IPTC information in a thread-safe way
53 - avoid globals where possible for warning capture in libtiff
54 - use a mutex to avoid re-entering thread-unsafe giflib
55 - use a mutex to avoid re-entering thread-unsafe tifflib
56 - use a mutex to avoid re-entering thread-unsafe T1Lib
57 - use a library handle per thread for freetype 2.
58 - use an engine handle per thread for freetype 1.x.
59 - originally these changes broke ABI compatibility, this has been
62 - clarify the return value of getpixel();
63 https://rt.cpan.org/Ticket/Display.html?id=81198
65 - fixed a race condition in parallel testing for T1
67 - fixed a bug in handling yoff for untransformed image-based fills
69 - documentation improvements for Imager::Fill
71 - FT2: report the library version while testing.
73 Imager 0.93 - 15 Oct 2012
78 - previously a transparency enabled GIF write (the default) would
79 always use a GIF89a header even if none of the images were
82 - previously the probe step for freetype-config would fail on cygwin
84 - catch an invalid matrix parameter to convert() instead of crashing
85 https://rt.cpan.org/Ticket/Display.html?id=79922
87 - remove the 16-bit/sample limitation from the documentation for
88 setsamples(), it hasn't applied for many releases.
89 https://rt.cpan.org/Ticket/Display.html?id=79989
91 - don't copy setsamples() data parameter, it may be a large scalar
92 https://rt.cpan.org/Ticket/Display.html?id=79990
94 - clean up .dSYM directories generated performing probes on OS X
97 - pass the --verbose command-line option through to Imager::Probe in
98 sub-module's Makefile.PLs
99 https://rt.cpan.org/Ticket/Display.html?id=75878
103 - support for giflib 5.0. (5.0.1 and later)
104 https://rt.cpan.org/Ticket/Display.html?id=79029
105 The giflib API Imager uses doesn't have a mechanism to set the
106 header version in 5.0.0.
108 - update the GIF library probe code to check for the new giflib 5.0.1
109 EGifSetGifVersion() function, and to check for the giflib 4.2.0
110 uninitialized gif89 bug.
111 https://rt.cpan.org/Ticket/Display.html?id=79679
112 http://sourceforge.net/tracker/?func=detail&aid=3574283&group_id=102202&atid=631304
114 - avoid static variables when capturing IPTC data from JPEG files
116 - match Imager::Font;:T1's error message translations to those from
117 later versions of T1Lib.
119 - for libtiff versions that support extended warning handlers (3.8.0
120 or later), use them to avoid some global variables.
122 - note Image::ExifTool for better metadata support.
123 https://rt.cpan.org/Ticket/Display.html?id=79251
125 Imager 0.92 - 14 Aug 2012
128 - giflib 4.2 eliminates the GIF_LIB_VERSION macro, handle that
129 correctly for both probing and runtime.
130 https://rt.cpan.org/Ticket/Display.html?id=77672
132 - allow building JPEG/imexif.c on C89 compilers.
134 - allow building GIF/imgif.c on C89 compilers.
136 Imager 0.91 - 4 Jun 2012
141 - The size of rotated images is no longer rounded up so aggressively.
142 Added rounding to the linear interpolation done for rotate() and
143 matrix_transform() for 1 and 3 channel 8-bit images.
144 Adjusted the two tranlate matrices used to build the final rotation
145 matrix to use the distance between the outlier pixels rather than
146 the pixel dimensions (ie. dimension-1).
147 With all of this the output of rotate(degrees => 270) on an 8-bit
148 image exactly matches the output of rotate(right => 270).
149 https://rt.cpan.org/Ticket/Display.html?id=77063
153 - eliminate the old IIM_new(), IIM_DESTROY() names from Imager's
154 internals, those names only matter for the XS interface.
156 - improve error reporting when PERL_INITIALIZE_IMAGER_CALLBACKS finds
157 the API level compiled into a loadable module such as
158 Imager::File::GIF doesn't match that of Imager. Previously it
159 could be difficult to determine exactly which module was failing to
161 https://rt.cpan.org/Ticket/Display.html?id=77173
163 - added Imager->check_file_limits() as an interface to the
164 i_int_check_image_file_limits() API.
166 - Imager->set_file_limits(reset => 1) now resets the limits to the
167 defaults rather than setting them all to unlimited.
169 - wrote a brief security note as Imager::Security
170 https://rt.cpan.org/Ticket/Display.html?id=68910
172 Imager 0.90 - 30 Apr 2012
177 - Imager::Test::is_imaged() attempted to process an "epsilon"
178 parameter but the prototype didn't allow for the extra parameter.
179 Corrected the prototype.
181 - when downconverting samples (eg. from floating point to 8 bit)
182 Imager now rounds the sample value rather than attempting to
183 allocate input values over output values equally. The old
184 behaviour had the probably surprising effect of converting a
185 floating point 2.1/255.0 into an 8-bit 3 rather than the expected
187 This may result in slightly different 8 or 16-bit output images.
189 - BI_BITFIELD BMP images were handled incorrectly, both in
190 incorrectly calculating the space required for the masks and in
191 processing the image data itself.
192 https://rt.cpan.org/Ticket/Display.html?id=76736
194 - some odd width BMP BI_RLE4 images use run lengths that run one off
195 the edge of the image. Imager now allows this, discarding the
198 - odd length RLE4 runs in BMP images were decoded incorrectly.
200 - pkg-config could sometimes return a library that was in a directory
201 EU::MM / $Config{libpth} doesn't know about, but the compiler did.
202 If no -L is included in the pkg-config library information check if
203 EU::MM can find the library, and if not, search our configured
204 directories and insert that into the library flags.
205 https://rt.cpan.org/Ticket/Display.html?id=75869
207 - Imager::Probe can now probe for libraries with dependent libraries,
208 common for static linking, eg. libpng requires libz.
209 https://rt.cpan.org/Ticket/Display.html?id=74043
211 - libpng 1.5 specific probes were looking for libpng 1.4 filenames.
213 - added alternative probe configurations that try to link libz, to
214 handle a statically linked libpng.
215 https://rt.cpan.org/Ticket/Display.html?id=74043
217 - if a probe includes testcode, Imager::Probe now checks that code as
218 part of the process of checking each configuration rather than as a
219 post test of the found configuration. This allows alternate
220 configurations to be checked if a matching but non-working
221 configuration is found.
222 https://rt.cpan.org/Ticket/Display.html?id=74043
226 - when reading or writing images via callbacks, the default callbacks
227 now push an error message indicating that a required callback was
228 called but not supplied.
229 https://rt.cpan.org/Ticket/Display.html?id=76782
231 - clarify which callbacks are required for reading and writing TIFF
234 - improve logging for creation of callback I/O layers.
236 - a little more documentation for Imager::Probe.
238 - the i_get_file_background() and i_get_file_backgroundf() APIs now
239 return int to indicate whether the i_background tag was found.
242 - improve error reporting
243 - add png_interlace, png_bits tags
244 - read paletted images as paletted images, including transparency
245 - read 1 bit greyscale images as a type suitable for other file
246 handlers to write as bilevel
247 - read 16 bit/sample PNG as 16-bit/sample Imager images
248 - write "bilevel" paletted images as 1 bit grayscale images
249 - write paletted images as paletted images
250 - write 16-bit (or higher)/sample images as 16-bit/sample PNG
252 - improved metadata support
253 https://rt.cpan.org/Ticket/Display.html?id=29268
255 Imager 0.89 - 18 Mar 2012
260 - getpixel(..., type => "float") and the API i_gpixf() have been
261 broken on paletted images since they were implemented.
262 https://rt.cpan.org/Ticket/Display.html?id=75258
266 - links in the METHOD INDEX now point at the method documentation
267 rather than the heading you can find them under.
268 https://rt.cpan.org/Ticket/Display.html?id=71495
270 - Imager (and the bundled dynamic modules) no longer fallback to
271 using DynaLoader if loading via XSLoader fails.
272 For the bundled modules this could hide useful error messages.
273 https://rt.cpan.org/Ticket/Display.html?id=75560
275 - IM_DEBUG_MALLOC mymalloc() no longer sn?printfs() a string to a
276 buffer in the array of allocations, but just stores the filename
277 pointer and line number.
278 https://rt.cpan.org/Ticket/Display.html?id=70388
280 Imager 0.88 - 22 Feb 2012
283 - describe how to build libgif etc on OS X in such a way as to be
284 compatible with a fat binary perl (such as the system perl), in
286 https://rt.cpan.org/Ticket/Display.html?id=73371
288 - update the change notes for 0.77_01 to indicate that libungif
291 - add some other imaging modules to SEE ALSO
292 https://rt.cpan.org/Ticket/Display.html?id=73906
294 - note that the generator of the apparently non-DFSG-free postscript
295 in MMOne.pfb is a Debian package.
297 - setsamples() is now a true complement to getsamples() - it can
298 write 8-bit or floating point samples from a scalar or array
299 reference. This adds i_psamp() and i_psampf() to the C level API.
301 - the XS interfaces to i_gsamp(), i_gsampf() and i_gsamp_bits() have
302 changed to make better use of the typemap, but these aren't part of
303 the perl level API anyway. There were no changes to the C level
304 interfaces to these functions.
306 - getpixel() and setpixel() now accept a mix of scalar and array
307 references for the x and y parameters, and unequal array lengths is
309 https://rt.cpan.org/Ticket/Display.html?id=73697
313 - correctly calculate the size of a rotated image
314 https://rt.cpan.org/Ticket/Display.html?id=69261
316 - fix incorrect rounding of color values for matrix_transform() and
318 https://rt.cpan.org/Ticket/Display.html?id=69261
320 - Win32 text output is now done in normal combine mode, the alpha
321 component of the color is now significant.
322 https://rt.cpan.org/Ticket/Display.html?id=70014
324 - remove long unused gif case from read()
325 https://rt.cpan.org/Ticket/Display.html?id=69244 (partial)
327 - the getsamples() target parameter was being treated as a hashref
328 when it's meant to be an array reference.
329 https://rt.cpan.org/Ticket/Display.html?id=74882
331 - getpixel() and setpixel() now returns an empty list when invalid
332 parameters are supplied.
333 Invalid values for type now result in an error for getpixel().
334 https://rt.cpan.org/Ticket/Display.html?id=73697
336 Imager 0.87 - 03 Jan 2012
339 - document the return value of the filter() method.
340 https://rt.cpan.org/Ticket/Display.html?id=72369
342 - document i_gsamp_bits() and i_psamp_bits().
343 https://rt.cpan.org/Ticket/Display.html?id=68815
345 - properly increment the Imager::Matrix2d $VERSION.
347 - actually include the Imager::Test tests in the dist
349 - correctly read and write 256x256 pixel ICO files
350 https://rt.cpan.org/Ticket/Display.html?id=69599
352 - make the error message from read() or read_multi() when they can't
353 identify the file type match reality.
354 https://rt.cpan.org/Ticket/Display.html?id=72475
356 - read() now uses $FORMATGUESS if it can't determine the file type
357 based on the file header, to match read_multi().
359 - re-work and add tests for def_guess_type(). def_guess_type() no
360 longer returns any random file extension as the file type.
362 - add gray4, gray16 and gray as presets for make_colors.
363 https://rt.cpan.org/Ticket/Display.html?id=67911
365 - add make_palette() method that produces a palette from one or more
368 - fix the Imager dependency for the separately distributed font
370 https://rt.cpan.org/Ticket/Display.html?id=72643
372 - fix i_render_color() to properly draw in "normal" mode - ie. when
373 writing to a 1 or 3 channel image the second or fourth channel of
374 the source color was being ignored, it is now significant.
375 https://rt.cpan.org/Ticket/Display.html?id=71564
377 Imager 0.86 - 31 Oct 2011
380 - improve error reporting for W32 tests
382 Imager 0.85_02 - 24 Oct 2011
387 - eliminate unused i_gif_opts type (clean-up)
388 https://rt.cpan.org/Ticket/Display.html?id=69245
390 - fix combine=0 fill color anti-aliasing on the double/sample path
391 https://rt.cpan.org/Ticket/Display.html?id=71309
393 - make default text color non-transparent
394 https://rt.cpan.org/Ticket/Display.html?id=71469
396 - apply the last of the Debian unforwarded spelling fixes
397 https://rt.cpan.org/Ticket/Display.html?id=70656
399 - the log() method used its message parameter as a C level format
401 https://rt.cpan.org/Ticket/Display.html?id=71653
403 - provide our own STRLEN typemap entry for older perls.
404 https://rt.cpan.org/Ticket/Display.html?id=71641
406 - add extra ppport.h configuration to support older perls.
408 - depend on Scalar::Util, since we use it and older perls don't have
411 - add overloaded eq to Imager::Matrix2d, since older perls don't seem
412 to synthesize it from overloaded "".
414 - use T1_StrError() for error messages on modern libt1
415 https://rt.cpan.org/Ticket/Display.html?id=69879
417 - actually load the font rather than just adding it to the catalog on
420 - Imager::Font->new now produces better error messages for the T1
423 - the font has_chars() method now returns perl's true and false
424 values in list context rather than integers, which should be more
426 https://rt.cpan.org/Ticket/Display.html?id=69158
428 - the btm data structure used by the flood_fill code is now
429 initialized more efficiently.
430 https://rt.cpan.org/Ticket/Display.html?id=68994
432 - updated the Thanks list in README
433 https://rt.cpan.org/Ticket/Display.html?id=71607
435 - check there's at least one coefficient for the convolution filter
436 https://rt.cpan.org/Ticket/Display.html?id=68993
438 - make the APIRef synopsis ordering consistent, older versions of
439 perl could order it differently.
440 https://rt.cpan.org/Ticket/Display.html?id=71675
442 - we rely on Config.pm's d_vsnprintf as to whether we use
443 vsnprintf/snprintf, which is defined in the Win32 Config.pm even
444 though it only has _ prefixed versions of these. Define our own
445 prefixed names on Win32.
446 https://rt.cpan.org/Ticket/Display.html?id=71642
448 - fix library detection with MSVC
450 - search a few more library directories, so EU::MM doesn't discard
451 them. Hopefully fixes:
452 https://rt.cpan.org/Ticket/Display.html?id=71643
454 Imager 0.85_01 - 10 Oct 2011
457 - add simple tests for the Imager::Test test_image generators
459 - io_glue I/O buffering re-work:
461 - reorganize io_glue to do it's own buffering by default
463 - the unbuffered functions are available as i_io_raw_read() (or
464 raw_read() from perl) etc but are not recommended for typical
467 - use the new i_io_peekn() when checking for file magic to avoid
468 seek, allowing Imager to detect the file type and read the file
469 from an unseekable stream (for formats that don't use random
472 - added several new I/O layer API functions.
474 - fix the TGA performance problem, most noticably on Win32
475 https://rt.cpan.org/Ticket/Display.html?id=70037
477 - TIFF now uses wrapper functions of the correct types to avoid casts
478 https://rt.cpan.org/Ticket/Display.html?id=69912
480 - the callback IO object did its own buffering, controlled by the
481 maxbuffer parameter supplied to the read() and write() methods.
482 This buffering has been removed, to avoid redundancy with the
483 common io_glue buffering. This also avoids a bug in that code
484 which could rarely pass a zero length to the read callback and
485 then panic about the result.
487 - the callback IO object now tests the result of calling the close
488 callback, which should return true for success.
490 - the PNM reader did its own buffering. This buffering has been
491 removed to avoid redundancy with the common io_glue buffering.
493 - previously the read handlers for fd and callback I/O layers would
494 call the underlying interface (POSIX read or your supplied callback)
495 until it filled the buffer. It now only makes one call.
497 - added public constructors for I/O layer objects (see Imager::IO)
499 - all core file handlers now use the i_io_foo() wrappers to gain
500 access to buffered I/O rather than calling the I/O layer
503 - all core file handlers now check for error on close.
505 - Backward compatibility: if you hava custom file handlers, you can
506 use i_io_write() etc since they're available as macros in older
509 - eliminate the final remnants of io_glue_commit_types().
511 - bump IMAGER_API_VERSION, since the above may break assumptions.
513 - removed the long unused i_gen_reader() and i_gen_writer() utility
516 Imager 0.85 - 29 Aug 2011
519 The main changes in the release versus 0.84 are:
521 - on 64-bit systems, 64-bit types are consistently used for image
522 dimensions and co-ordinated, and for memory block sizes.
524 - handle IFD loops in TIFF files correctly. Previously this would
525 lead to an infinite loop.
529 - fix the link in the getheight() entry in the method index
531 Imager 0.84_02 - 22 Aug 2011
534 Development release, this will become 0.85 if CPAN testers is
539 - the image file limits set by set_file_limits() weren't being
540 checked when reading TIFF files.
541 https://rt.cpan.org/Ticket/Display.html?id=69915
543 - Provide more information about file format module load errors on a
544 failed image file read() or write().
545 https://rt.cpan.org/Ticket/Display.html?id=69194
547 - use TIFFReadDirectory() instead of TIFFSetDirectory() to iterate
548 through TIFF images, since it checks for IFD loops.
549 https://rt.cpan.org/Ticket/Display.html?id=69914
551 - don't leak memory when out of range palette indexes are supplied to
553 https://rt.cpan.org/Ticket/Display.html?id=69242
555 - require a later version of CPAN::Meta to ensure JSON::PP and
556 CPAN::Meta::YAML are available.
557 https://rt.cpan.org/Ticket/Display.html?id=69008
559 - hoist the per-line calculations for the flines implementations, and
560 modernize the tests a bit.
561 https://rt.cpan.org/Ticket/Display.html?id=70126
563 - detect snprintf()/vsnprintf() (cheat by using Config.pm) and use
565 https://rt.cpan.org/Ticket/Display.html?id=69147
567 - if t1lib failed to reinitialize it would be left as marked
569 https://rt.cpan.org/Ticket/Display.html?id=69877
571 - update the bundled (and still modified) Devel::CheckLib
572 https://rt.cpan.org/Ticket/Display.html?id=69170
574 Imager 0.84_01 - 8 Aug 2011
577 Development release as a sanity check for the types re-work.
579 Massive types re-work:
581 - the type used internally for pixel co-ordinates and image sizes is
582 now 64-bit on 64-bit platforms (at least sane ones).
584 - size_t is now used consistently for memory block sizes.
586 - since this changes the binary interface, the Imager API version has
587 been incremented. Any module that uses the API will need to be
588 rebuilt. In most cases that will be enough, but calls to any APIs
589 that take a pointer to image sizes may need source changes.
591 - you should be able to create very large images on 64-bit systems,
592 if you have enough memory. Successfully created a 32768 x 49192 x
593 3 channel image, filled with a tiled image and scaled it. The
594 unscaled image was also successfully saved to a JPEG.
596 - check the image size before attempting to write BMP, GIF, JPEG,
597 PNG, SGI, TGA, TIFF images.
599 - correctly handle reading TGA images over 32767 pixels wide or tall.
603 - the gif_left and gif_top tags are now clamped to non-negative
604 values when writing a GIF image.
606 - removed dead callback read/write code
608 The default maximum memory size when reading files is now 1G.
610 Imager 0.84 - 20 Jun 2011
613 - Imager no longer inherits from Exporter (unless you're running an
616 - Imager can now write progressive JPEGs (it could always read them).
617 https://rt.cpan.org/Ticket/Display.html?id=68691
621 - re-work, document and test Imager's logging facility.
622 https://rt.cpan.org/Ticket/Display.html?id=65227
624 - fix META.yml testing and the generated META.yml
625 https://rt.cpan.org/Ticket/Display.html?id=65235
627 - test and add error reporting to to_*() family methods
629 - add to_rgb_double() method.
630 https://rt.cpan.org/Ticket/Display.html?id=65101
632 - Imager no longer exports anything by default
633 https://rt.cpan.org/Ticket/Display.html?id=65228
635 - convert colors to grayscale if the supplied (or generated) palette
636 contains only grays when performing error diffusion color
638 https://rt.cpan.org/Ticket/Display.html?id=68508
640 - writing a paletted image to GIF wouldn't always use the colors
641 supplied (or generated, eg. via make_colors => "mono"), which was
643 https://rt.cpan.org/Ticket/Display.html?id=67912
645 - replace (imager|tony)@imager.perl.org in the doc, since I don't
646 plan to continue receiving mail at that address.
647 https://rt.cpan.org/Ticket/Display.html?id=68591
649 Imager 0.83 - 21 May 2011
654 - diag() the error message on failure for some TIFF tests that are
655 failing on a Solaris smoker.
656 http://www.cpantesters.org/cpan/report/6396db1e-8090-11e0-9682-112b785ebe45
658 Imager 0.82_01 - 17 May 2011
661 Dev release, in case the compose tests are too sensitive.
665 - Imager::Font::T1 incorrectly checked for absolute filename under
666 Win32. Thanks to kmx for the report and fix.
667 https://rt.cpan.org/Ticket/Display.html?id=67963
669 - compose() with the target, source or mask position off the top or
670 left of the target image didn't clip the source image correctly.
671 https://rt.cpan.org/Ticket/Display.html?id=67220
673 - compose() now returns a useful error message on a non-positive
676 - compose.im now at 100% test coverage. (As opposed to, umm, much,
679 Imager 0.82 - 14 Mar 2011
684 - eliminate calls to i_has_format() from the test suite, since it's
685 no longer a useful way to check for file format support. Eliminate
686 i_has_format() from the functions exposed via XS.
687 https://rt.cpan.org/Ticket/Display.html?id=65863
689 - eliminate calls to note(), which isn't in the (very old) version of
690 Test::More we have as a pre-requisite. note() is modern enough
691 that I don't feel a need to require a Test::More upgrade for it.
692 https://rt.cpan.org/Ticket/Display.html?id=65864
694 - skip the threads tests on Test::More 2.00_*
695 https://rt.cpan.org/Ticket/Display.html?id=65812
697 - add an (unshipped) test to check Imager's internal POD links
698 https://rt.cpan.org/Ticket/Display.html?id=65749
700 - improve the library detection summary
701 https://rt.cpan.org/Ticket/Display.html?id=9675
703 - increase the version of Imager::Font::Type1 so that upgrades don't
704 downgrade the version in this file.
705 https://rt.cpan.org/Ticket/Display.html?id=66250
707 - if we see an -rpath (or -R) option in $Config{lddlflags} supply
708 that option for the directories that would normally go in
709 LD_RUN_PATH. Typically an explicit -rpath overrides LD_RUN_PATH.
710 https://rt.cpan.org/Ticket/Display.html?id=65955
712 Imager 0.81 - 14 Feb 2011
715 - added coverage tests for masked images (maskimg.c @100% test coverage)
717 - add hsv() method to Imager::Color
718 Thanks to Leolo (Philip Gwyn)
719 https://rt.cpan.org/Ticket/Display.html?id=65385
721 - split libt1 Type 1 font support into a sub-module
722 https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
724 - add a preload() class method for use in forking servers, and to
725 work around limitations in PAR.
726 https://rt.cpan.org/Ticket/Display.html?id=65665
730 - paletted writes to a masked image are now masked correctly.
731 Revealed by new coverage tests.
733 - update the filter plugin documentation.
734 https://rt.cpan.org/Ticket/Display.html?id=56513
736 - add the matrix() method to Imager::Matrix2d to allow creation of a
737 matrix with specified co-efficients. You can now multiple an
738 Imager::Matrix2d object by a 9 element array ref or a number.
739 https://rt.cpan.org/Ticket/Display.html?id=29938
741 - really fix loading TTF fonts with FT2 when FT1 isn't available.
742 Thanks to Leolo (Philip Gwyn)
743 https://rt.cpan.org/Ticket/Display.html?id=65386
744 https://rt.cpan.org/Ticket/Display.html?id=62855
746 - make sure each test script that needs testout/ creates it.
747 https://rt.cpan.org/Ticket/Display.html?id=65088
749 - handle a slightly different warning from libtiff 4.x
750 https://rt.cpan.org/Ticket/Display.html?id=65268
752 - the sat transform2() op returned an incorrect saturation.
753 https://rt.cpan.org/Ticket/Display.html?id=65391
755 Imager 0.80 - 17 Jan 2011
758 - added coverage tests for Imager::Fountain and Imager::Color::Float
760 - Imager is now maintained in git
761 http://git.imager.perl.org/imager.git
762 git://git.imager.perl.org/imager.git
766 - images with an translucent alpha channel were not scaled correctly
767 by the default (qtype=normal) scaling method.
768 https://rt.cpan.org/Public/Bug/Display.html?id=63922
770 - Imager::Color::Float now translates "#FFFFFF" to white instead of
771 just a little darker.
773 - make the default color map build algorithm "mediancut". This
774 changes the default color map builder for writing GIFs back to what
775 it was in 0.77, reverting a performance regression.
776 https://rt.cpan.org/Ticket/Display.html?id=64785
778 - handle failure to create a masked image correctly
780 Imager 0.79 - 10 Dec 2010
783 - add Imager::Test to the POD coverage tests and document the missing
786 - the convert() method now optimizes the case where all output
787 channels are either 0, sourced from a single input channel or 1.
788 This significantly speeds up presets like "addalpha", "green".
789 https://rt.cpan.org/Ticket/Display.html?id=51254
791 - add wiggle.pl sample, as suggested by Dan Oppenheim.
793 - add the combine() method to combine channels from multiple source
794 images into a new image
795 https://rt.cpan.org/Ticket/Display.html?id=11872
799 - treat the co-efficients for convert() as doubles instead of floats.
801 - If a higher (earlier) priority font handler failed to load, that
802 would crash preventing loading of later font handlers.
803 https://rt.cpan.org/Ticket/Display.html?id=62855
805 - parse defines from the options returned by pkg-config --cflags
806 https://rt.cpan.org/Ticket/Display.html?id=63223
808 - a regen of the MANIFEST revealed that GIF and FT2 tests weren't
809 included in the tarball. They are now included.
811 Imager 0.78 - 4 Oct 2010
816 - don't access deprecated members of the png_structp.
817 https://rt.cpan.org/Ticket/Display.html?id=60242
819 - document that using color objects is faster than supplying colors
821 https://rt.cpan.org/Ticket/Display.html?id=61047
823 - Imager::Probe now accepts array references for incpath and libpath.
824 https://rt.cpan.org/Ticket/Display.html?id=60244
826 Imager 0.77_02 - 27 Sep 2010
829 - moved Win32, FreeType 2 font support into sub-modules.
830 https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
831 Uses Imager::Probe now.
832 https://rt.cpan.org/Public/Bug/Display.html?id=61328
834 - tested successfully with jpeg-8b
835 https://rt.cpan.org/Ticket/Display.html?id=60221
839 - from _01: look for missing file support test files in the right
842 - flood_fill() wouldn't fill the right side of a single scan-line
844 Thanks to Nicolas Roggli for reporting this.
846 - flood_fill wouldn't fill to the left edge of the image if the
847 starting line didn't reach the left edge.
848 Thanks to Nicolas Roggli for reporting this.
850 Imager 0.77_01 - 13 Sep 2010
853 - add each library-directory/pkgconfig/ to the pkg-config search path
855 Thanks to Justin Davis.
856 https://rt.cpan.org/Ticket/Display.html?id=60491
858 - moved GIF, TIFF, JPEG file handling code into sub-modules in
859 preparation for separate distribution.
860 https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
862 Note: this removed support for libungif from Imager.
864 - optimize filled box drawing (color, not fill)
868 - Imager::Probe was calling ExtUtils::Liblist to initialize
869 LD_RUN_PATH supplying an undefined value rather than the found
870 directory. Thanks to Justin Davis.
871 https://rt.cpan.org/Ticket/Display.html?id=60491
873 - only prepend ./ to font filenames when passing them to T1Lib and
874 then only when it would use its search mechanisms.
875 https://rt.cpan.org/Ticket/Display.html?id=60509
877 - fix the cache check for the X rgb.txt loader. This is typically
878 used for color translation on Unix-like systems, and the fix
879 improves performance of supplying colors by name by about 80 times.
880 Test code that managed 3400 10x10 pixel boxes/second sped up to
883 - clarify that Imager doesn't write EXIF metadata to images.
884 https://rt.cpan.org/Ticket/Display.html?id=60637
886 - Imager::Probe can now search subdirectories under its include path.
887 Used by the PNG Makefile.PL to find headers and libraries when they
888 aren't in the base directory, as in cygwin.
889 https://rt.cpan.org/Ticket/Display.html?id=60635
891 Imager 0.77 - 11 Aug 2010
894 I don't want Imager::File::PNG indexed as part of Imager, but forgot
895 to update the META.yml before updating the version.
897 - don't index Imager::File::PNG as part of Imager
899 - add resources to META.yml
901 Imager 0.76 - not released
906 - the align_string() method would ignore a string of "0" due to a
908 Thanks to Maurice Height for reporting this.
909 https://rt.cpan.org/Ticket/Display.html?id=60199
911 Imager 0.75_03 - 09 Aug 2010
916 - read_types() and write_types() would include png when it wasn't
917 available due to a problem with the %formats tie
919 - handle dependent libraries correctly (eg -lpng requiring -lz) in
920 the code run phase of library probing.
922 Imager 0.75_02 - 07 Aug 2010
927 - add file missing from MANIFEST, which was causing TIFF failures.
929 Imager 0.75_01 - 06 Aug 2010
932 Test release for the new PNG probe.
934 - added the ability to read multiple-image PNM files.
935 Note that unlike the pbm/pgm/ppm specification this accepts mixed
936 format files and allows white space padding between files.
937 Thanks to Philip Gwyn (Leolo) for this patch.
939 - moved the PNG file handling code into a sub-module in preparation
940 for separate distribution.
941 https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
942 Also helps avoid complications from -I/-L compile/link options from
947 - Imager->new(data => $data) didn't try to process image file data in
949 https://rt.cpan.org/Ticket/Display.html?id=58761
951 - t/t50basicoo.t no longer depends on the other tests to generate its
953 https://rt.cpan.org/Ticket/Display.html?id=9798
954 Also, it wasn't testing pnm (pnm vs ppm mix-up)
956 - update the documentation of hardinvert to match the change in 0.62.
957 https://rt.cpan.org/Ticket/Display.html?id=59785
959 - added hardinvertall filter which also inverts the alpha channel
962 - when probing for TIFF, set LD_RUN_PATH just as the Makefile does so
963 the probe can find the library for the test run.
964 https://rt.cpan.org/Ticket/Display.html?id=57518
966 Imager 0.75 - 20 Jun 2010
969 - use PERL_NO_GET_CONTEXT to slightly improve performance on threaded
974 - an opacity fill based on a fountain fill would segfault when
975 filling an 8-bit/sample image.
977 - merge thickline branch polygon fix
978 https://rt.cpan.org/Ticket/Display.html?id=43518
980 Imager 0.74 - 7 May 2010
985 - read_multi() didn't handle a missing file format library correctly,
986 aborting on failing to call i_readgif_multi_wiol() or
987 i_readtiff_multi_wiol().
989 - fix spelling errors patched by Debian
990 http://svn.debian.org/viewsvn/pkg-perl/trunk/libimager-perl/debian/patches/spelling.patch?revision=54839&view=markup
992 - add an (unshipped) author test to spellcheck Imager's POD.
994 - update the TIFF file format documentation
995 https://rt.cpan.org/Ticket/Display.html?id=56510
997 - lib/Imager/IO.pod was written almost 4 years ago but never shipped.
999 Imager 0.73 - 15 Mar 2010
1002 - implement outline circles, both anti-aliased and not
1003 https://rt.cpan.org/Ticket/Display.html?id=19755
1005 - a combine => "none" fill to a 1 or 3 channel image would produce
1006 the incorrect colour.
1008 Imager 0.72 - 09 Dec 2009
1011 Bump version for release, since 0.71_03 is stable with CPAN testers.
1013 Imager 0.71_03 - 5 Dec 2009
1016 - further adjust the threads test so it only performs the tests on
1017 perls where it's expected to work, and only if the threads module
1020 Imager 0.71_02 - 1 Dec 2009
1023 - adjust the way we load the threads module for the threads test so
1024 it works with non-threaded perls
1026 Imager 0.71_01 - 30 Nov 2009
1031 - use scanline oriented operations to flip images instead of pixel
1033 https://rt.cpan.org/Ticket/Display.html?id=39278
1035 - use double/sample operations to flip large sample images instead of
1036 8-bit sample operations.
1037 https://rt.cpan.org/Ticket/Display.html?id=39280
1040 https://rt.cpan.org/Ticket/Display.html?id=51874
1042 - prevent double-frees when someone creates Imager objects and then
1043 creates a thread. Note: this just handles some simple cases,
1044 Imager doesn't support perl threads, and isn't likely to.
1045 https://rt.cpan.org/Ticket/Display.html?id=52268
1047 Imager 0.71 - 16 Nov 2009
1050 - add the opacity fill type - an adaptor that modifies the opacity of
1055 - the conv filter now enforces that the sum of the coefficients is
1056 non-zero. Also, rather than skipping pixels off the edge off the
1057 edge of the image, the closest edge pixel is used. Previously
1058 dividing by the zero sum of coefficients could cause invalid
1059 results or runtime exceptions.
1060 Thanks to David Cantrell's Alpha-NetBSD CPAN test box for revealing
1063 Imager 0.70 - 21 Sep 2009
1068 - release image row and comments memory on all error returns in gif
1071 - handle zero length extensions, previously this would cause a null
1073 Thanks to Krzysztof Wojtaś for the test data and fix for this.
1075 - an integer division meant that preview scaling to below 1 pixel
1076 wide or high (which isn't too useful anyway) was calculating using
1077 NaNs on most platforms, and causing an exception on others.
1078 Thanks to David Cantrell for producing a backtrace of the crash on
1079 his Alpha-NetBSD CPAN test box which made it possible to track this
1082 Imager 0.69 - 08 Sep 2009
1087 - broken test fix - was attempting to call a function skip_all, when
1088 that should be a parameter to plan().
1090 - briefly document apidocs.perl, the tool used to build
1091 Imager::APIRef and make some minor enhancements
1093 - various minor documentation enhancements and fixes.
1095 Imager 0.68 - 07 Sep 2009
1098 - Imager->new(file => $filename) and other similar incantations will
1099 load the given file.
1100 https://rt.cpan.org/Ticket/Display.html?id=48261
1104 - avoid using CHECK as a label in Imager::Test
1105 http://nntp.x.perl.org/group/perl.cpan.testers/5220921
1107 - re-work most image file test files that require a library into
1108 separate library present/not present files to remove stupidly long
1111 - don't treat rubthrough() outside the bounds of the target image as
1113 http://nntp.x.perl.org/group/perl.cpan.testers/5185716
1115 Imager 0.67_01 - 02 Sep 2009
1120 - correct documentation of default of raw image interleave read
1122 https://rt.cpan.org/Ticket/Display.html?id=42074
1124 - add raw_ prefix to raw read parameters, though the original names
1127 - fail the read if an invalid raw_interleave parameter is supplied
1129 - warn if no interleave or raw_interleave parameter is supplied,
1130 since the documented default was wrong, and incompatible with the
1133 - for reading raw images, if raw_storechannels > raw_datachannels,
1134 set the extra channels in the image to 0
1136 - when probing for executables like freetype-config, search for .bat
1137 and .cmd on MSWin32, as well as .exe.
1138 https://rt.cpan.org/Ticket/Display.html?id=49275
1140 - re-work the external libraries section of README:
1141 - list Debian and Redhat package names for each library
1145 - use the new EU::MM META_MERGE facility instead of generating
1146 META.yml from scratch
1147 https://rt.cpan.org/Ticket/Display.html?id=47888
1149 - use Devel::CheckLib (bundled, modified) to check which release of
1150 libtiff is installed and reject 3.9.0
1151 http://bugzilla.maptools.org/show_bug.cgi?id=2088
1152 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543079
1154 Imager 0.67 - 12 Dec 2008
1159 - fix a packaging error
1161 Imager 0.66 - 12 Dec 2008
1164 - 24-bit color .ICO/.CUR files can now be read.
1168 - an optimization skipping 0 src alpha values could cause the
1169 rubthrough() to read past the end of a buffer.
1170 http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1509184.html
1172 - corrected a reference leak where writing GIFs would leak memory.
1173 This could also happen calling to_paletted().
1174 Also documented the underlying long existing feature where the
1175 colors parameter is filled with the generated color table and added
1177 http://rt.cpan.org/Ticket/Display.html?id=41028
1179 - write out the image size in bytes field of a BMP correctly.
1180 http://rt.cpan.org/Ticket/Display.html?id=41406
1182 - add limited tests for Imager::ExtUtils
1184 - make Imager::ExtUtils->includes use an absolute path, since
1185 a relative path could cause failures using Inline::C.
1186 http://rt.cpan.org/Ticket/Display.html?id=37353
1188 - re-arrange the POD for Imager::Font::BBox:
1189 - mark total_width(), pos_width(), end_offset() obsolete, since
1190 they're mostly for backwards compatibility
1191 - group width methods and height methods
1192 https://rt.cpan.org/Ticket/Display.html?id=39999
1194 Imager 0.65 - 20 May 2008
1199 - In some cases when an error occurs reading those parts of a JPEG
1200 file after the image the scan-line buffer could be freed a second
1201 time. In cases where the the error occured while reading the image
1202 data it's possible that the buffer could have leaked.
1203 Thanks to Gabriel Vasseur for reporting this and help in tracking
1206 - the gif_screen_height tag was overriding the screen width and being
1207 ignored for the screen height when present.
1208 https://rt.cpan.org/Public/Bug/Display.html?id=35568
1210 Imager 0.64 - 23 April 2008
1213 This is a bug fix release. This includes a fix for a possible
1218 - Possible security issue: The floating point sample path for image
1219 based fills had a buffer overflow. This would overwrite the end of
1220 a malloc()ed buffer with double precision floats.
1221 http://rt.cpan.org/Ticket/Display.html?id=35324
1224 - check that the result of fileno($fh) is defined rather than simply
1225 true when read() or write() is supplied with an fh parameter.
1226 http://rt.cpan.org/Ticket/Display.html?id=35139
1228 - i_scale_axis() wasn't checking the result of i_img_new_ch()
1229 resulting in a SIGSEGV when attempting to scale an image to a size
1230 too large to fit in memory. This is a NULL pointer access issue,
1231 not a buffer overflow.
1232 Added a check for the failure.
1233 scale_calculate() (and hence scale()) will now fail if any of the
1234 scale size parameters are a reference.
1235 http://rt.cpan.org/Ticket/Display.html?id=35172
1237 - Regression: filling a greyscale image with a hatch used the wrong
1238 color channels from the supplied fg/bg colors.
1239 https://rt.cpan.org/Ticket/Display.html?id=35278
1241 - fixed a related problem for image fills.
1243 Imager 0.63 - 7 April 2008
1246 This release primarily contains changes to improve ease of use -
1247 rather than you having to convert images to the appropriate number of
1248 channels, Imager handles it internally. How to handle drawing colors
1249 and the default combine mode is a thornier problem left for some other
1252 - the font libraries are now only initialized when needed.
1253 http://rt.cpan.org/Ticket/Display.html?id=28825
1255 - moved the imtoc.perl code into Imager::Preprocess
1257 - paste() and rubthrough() now adapt the source image data to the
1258 destination, so you can now safely paste/rubthrough from greyscale
1259 images to color images or back, or from alpha channel images to
1260 noalpha channels or back.
1261 https://rt.cpan.org/Ticket/Display.html?id=30908
1263 - rubthrough() now falls back to pasting when the source doesn't have
1264 an alpha channel. This effectively treats the source as having a
1265 max alpha channel, the right thing to do.
1266 http://rt.cpan.org/Ticket/Display.html?id=29944
1268 - re-worked most of the area filling code to use a common set of
1269 functions when filling.
1270 Corrected normal combine mode.
1271 Rewrote most of the combine modes to match the way the SVG draft
1272 defines them with respect to a translucent source and destination.
1273 Added tests for translucent source and destination.
1274 Added tests to check 8-bit/sample and double/sample combines work
1276 https://rt.cpan.org/Ticket/Display.html?id=29879
1278 - writing a 2 or 4 channel image to a JPEG file will now write that
1279 image as if composited against a background, black by default,
1280 overridable with the i_background tag/parameter.
1281 https://rt.cpan.org/Ticket/Display.html?id=29876
1283 - writing a 2 or 4 channel image to a PGM/PPM file will now write
1284 that image as if composited against a background, black by default,
1285 overridable with the i_background tag/parameter.
1286 http://rt.cpan.org/Ticket/Display.html?id=30074
1288 - writing a 2 or 4 channel image to a BMP file will now write that
1289 image as if composited against a background, black by default,
1290 overridable with the i_background tag/parameter.
1291 http://rt.cpan.org/Ticket/Display.html?id=30075
1295 - Imager::Matrix2d->translate() now only requires one of the x or y
1297 http://rt.cpan.org/Ticket/Display.html?id=29937
1299 - mixing qtype scaling now sets all channels of a pixel to zero if
1300 the pixel has zero coverage (zero alpha). This should produce more
1301 compressible output files.
1302 http://rt.cpan.org/Ticket/Display.html?id=32324
1304 - removed the pointless #! line from lib/Imager/Font/Wrap.pm
1306 https://bugzilla.redhat.com/show_bug.cgi?id=166254
1307 I'm not changing the #! lines of the sample code, since it's sample
1308 code, not intended for installation.
1309 http://rt.cpan.org/Ticket/Display.html?id=33408
1311 - some TGA images weren't being detected correctly as TGA images
1312 https://rt.cpan.org/Ticket/Display.html?id=32925
1314 - handling of the left-over bit for 16-bit/pixel TGA images has been
1315 changed to match the behaviour of the GIMP. Previously the bit
1316 being set was treated as an opaque pixel, but one user reported a
1317 problem with loading such an image. I haven't been able to find any
1318 tools beyond the GIMP that handle alpha-channel 16-bit TGAs, so
1319 I'll match it's behaviour. See issue 114913 in the GIMP's
1321 http://rt.cpan.org/Ticket/Display.html?id=32926
1323 Imager 0.62 - 10 December 2007
1326 - Makefile.PL now expands ~/path supplied to --incpath or --libpath
1327 to /path under your home directory.
1328 http://rt.cpan.org/Ticket/Display.html?id=29484
1330 - the old dynaload code used Mach API functions to load dynamic
1331 libraries on Mac OS X. These APIs have been deprecated in OS X
1332 10.5 and were causing some build problems.
1333 So henceforth Imager uses the dlopen() family of functions, and you
1334 will need version 10.3 or later of OS X.
1336 - added the det() function to the transform2() engine.
1337 added the sample quad_to_square.pl
1338 Courtesy Richard Fairhurst.
1339 http://rt.cpan.org/Ticket/Display.html?id=31244
1343 - samples/gifscale.pl sourced the base value for gif_top from
1345 Thanks to Eleneldil G. Arilou for pointing this out.
1347 - t/t82inline.t no longer loads B at runtime, to work around a bug
1348 in some 5.005_0[45] installations.
1349 http://rt.cpan.org/Ticket/Display.html?id=30508
1351 - work around Module::Depends::Intrusive bug #21229
1352 http://rt.cpan.org/Ticket/Display.html?id=30520
1354 - the hardinvert filter no-longer inverts the alpha channel.
1355 http://rt.cpan.org/Ticket/Display.html?id=30002
1357 - the hardinvert filter now supports large samples
1359 Imager 0.61_02 - 28 November 2007
1362 - major TIFF support re-work
1363 http://rt.cpan.org/Ticket/Display.html?id=20329
1365 - added a C level image interface for accessing samples from 1-32
1366 bits, exposed this at the perl level in getsamples()
1368 - the conv filter now works at floating point precision for high bit
1371 - added is_bilevel method to test whether an image should be written as
1372 a bilevel image if the image format supports it.
1374 - added -log-stderr as an Imager import list option
1376 - added some important types to Imager::APIRef
1378 - added test_image_double() to Imager::Test
1382 - Imager::Fountain couldn't read GIMP gradient files with 10 or more
1385 - the scale() method with qtype mixing now handles images with an
1386 alpha channel correctly.
1388 - fixed a broken link from the "animated GIF" entry in the concept index.
1389 Thanks to Slaven Rezic.
1390 http://rt.cpan.org/Ticket/Display.html?id=30889
1392 - on some perl's the infix expression parser test would fail due to
1393 actions in the grammar returning false. Made sure all actions return
1395 Thanks to Richard Fairhurst for spending a lot of time in tracking
1397 http://rt.cpan.org/Public/Bug/Display.html?id=29562
1399 Imager 0.61 - 5 November 2007
1402 - added samples/gifscale.pl, which adjusts the screen size/position tags
1403 when scaling an animated gif
1404 http://rt.cpan.org/Ticket/Display.html?id=27591
1408 - correct handling of sz in matrix_transform() - this should allow
1409 perspective type transformations to work now.
1410 http://rt.cpan.org/Ticket/Display.html?id=29936
1412 - prevent a cast to integer warning on x64 builds in datatypes.c
1413 also fixed some other type warnings
1414 https://rt.cpan.org/Ticket/Display.html?id=30204
1416 - some sub-directory tests depended on files produced by the parent
1418 http://rt.cpan.org/Ticket/Display.html?id=30203
1420 - Imager::Font::Wrap doesn't correctly set savepos
1421 thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this.
1422 http://rt.cpan.org/Ticket/Display.html?id=29771
1424 - test 171 in t/t01introvert.t was failing on perls configured to
1426 http://rt.cpan.org/Ticket/Display.html?id=29413
1428 - the code for the transform2() uminus operator was missing a break.
1429 Added tests for better code coverage of the ops.
1430 http://rt.cpan.org/Ticket/Display.html?id=29296
1432 - the SGI RLE compression code could overflow its compression buffer
1433 http://rt.cpan.org/Ticket/Display.html?id=30334
1435 - the 32-bit output function used by the SGI code only handled values
1436 under 0x10000. This was most noticable when writing large RLE images.
1437 http://rt.cpan.org/Ticket/Display.html?id=30335
1439 - validate chan_count for chans == NULL for each of the i_gsamp()
1441 http://rt.cpan.org/Ticket/Display.html?id=28985
1443 - attempt to work around the test failure at
1444 http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html
1445 http://rt.cpan.org/Ticket/Display.html?id=29562
1447 - improve the error messages produced when attempting to read or write
1448 an unknown image file format.
1449 http://rt.cpan.org/Ticket/Display.html?id=30103
1451 - improve the transform2() documentation
1452 http://rt.cpan.org/Ticket/Display.html?id=29267
1454 - correctly generate the author key in META.yml
1455 http://rt.cpan.org/Ticket/Display.html?id=30377
1457 - correctly blend a rotated (or matrix_transformed()) image when
1458 performing interpolation in the presence of an alpha channel.
1459 Also corrected the centring of the rotated image on the output
1462 Imager 0.60 - 30 August 2007
1465 - Finished/rewrote Arnar's old SGI RGB file format support, so Imager
1466 now has full SGI RGB image format, including RLE and 16-bit/sample
1468 https://rt.cpan.org/Ticket/Display.html?id=8666
1470 - logging functions are now available in the API
1472 - applied Gabriel Vasseur's patch
1473 added documentation, further tests, and support for greyscale images
1474 Obviously problems are my fault :)
1475 https://rt.cpan.org/Ticket/Display.html?id=28142
1477 - the mask for ICO/CUR images is now applied as an alpha channel to
1478 the returned image. For the old behaviour, supply ico_masked => 0
1479 to read() or read_multi(). This should be less confusing when
1480 using Imager as a general image processor.
1481 https://rt.cpan.org/Ticket/Display.html?id=29001
1485 - in some cases it's possible for giflib/libungif to return color
1486 indexes outside the range of colors defined by the image's palette.
1487 We now expand the palette to match the indexes used.
1488 Thanks to Gabriel Vasseur for reporting this.
1490 - fixed various memory leaks that could occur when failing to read png,
1491 jpeg, bmp or tga files.
1493 - to avoid confusion, channels not present in the image are returned as
1494 zero by getscanline(). This has no effect on the C level i_glin()
1495 and i_glinf() API functions which continue to not set the unused
1498 - the convert() method now returns an image of the same sample size as
1500 https://rt.cpan.org/Ticket/Display.html?id=28492
1502 - remove repeated text in Imager::Files
1503 http://rt.cpan.org/Ticket/Display.html?id=27589
1505 - be even more explicit that scale() and friends don't modify the source
1506 image, but return a new image.
1507 http://rt.cpan.org/Ticket/Display.html?id=28570
1509 - improve the error message from errstr() when you try to load a font
1510 for which the driver hasn't been built in Imager.
1511 http://rt.cpan.org/Ticket/Display.html?id=27571
1513 - transparency is now enabled by default when writing GIF images
1514 http://rt.cpan.org/Ticket/Display.html?id=27615
1516 - Imager would not load on Windows 98
1517 http://rt.cpan.org/Ticket/Display.html?id=27653
1519 Imager 0.59 - 14 June 2007
1524 - fixes a regression introduced by the fixes for RT 11972
1525 http://rt.cpan.org/Ticket/Display.html?id=27546
1527 - cropping outside the image would return an Imager object with
1528 no low-level image object, instead of returning false.
1529 Fixed by: Philip Gwyn (Leolo)
1530 http://rt.cpan.org/Ticket/Display.html?id=27509
1532 Imager 0.58 - 16 May 2007
1535 No significant changes from 0.57_01.
1537 Imager 0.57_01 - 11 May 2007
1540 - added to_rgb16 to produce a 16-bit/sample version of an image
1542 - improve freetype 1.x text output efficiency
1546 - search another place for rgb.txt, and check all the places
1547 Imager::Color checks when deciding whether to skip testing it
1548 http://rt.cpan.org/Ticket/Display.html?id=26064
1550 - use a convolution kernel size based on the stddev rather than a
1551 fixed size when performing a gaussian blur
1552 http://rt.cpan.org/Ticket/Display.html?id=25645
1554 - document the difference() method's mindist parameter, and debug it.
1556 - put the Imager release number in the Inline::C generated code to
1557 regenerate Inline code when a new release of Imager is installed.
1558 http://rt.cpan.org/Ticket/Display.html?id=26278
1560 - fix rendering on alpha channel images for the FreeType 1.x driver.
1561 http://rt.cpan.org/Ticket/Display.html?id=11972
1563 - fix rendering on alpha channel images for the T1lib driver.
1564 http://rt.cpan.org/Ticket/Display.html?id=11972
1566 - reworked library probing, we can now set more than one probe
1567 function for a library. Disabled the default (non-freetype-config)
1568 library probe and added an extra probe function that searches for
1569 both ft2build.h and whatever it includes, and adds -I as needed.
1570 Hopefully this will fix build problems like
1571 http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html
1572 http://rt.cpan.org/Ticket/Display.html?id=26086
1574 Imager 0.57 - 30 Apr 2007
1577 This is a maintenence release fixing a security issue in Imager.
1579 - CRITICAL: a specially crafted compressed BMP file can cause a buffer
1580 overflow in malloced memory. There will be further discussion of
1581 this issue in the ticket below.
1582 http://rt.cpan.org/Ticket/Display.html?id=26811
1583 CVE-2007-2459 CVE-2007-2413
1584 The descriptions at cve.mitre.org varied in quality, please see the
1585 ticket at rt.cpan.org for a more accurate description of the issue.
1587 Imager 0.56 - 1 Apr 2007
1590 - added support for reading 16-bit/sample PGM/PPM images
1592 - added support for writing 16-bit/sample PGM/PPM images
1594 - improved performance of reading PBM/PGM/PPM images
1596 - added support for writing PBM images if the image is paletted and
1597 contains only black and white
1599 - added a new make_colors value - "mono"
1601 - switched from the svn log Changes to a manual Changes to reduce
1604 - new sample code - samples/flasher.pl
1608 - CRITICAL: the "Imager" typemap entry (not used by Imager itself)
1609 was returning an image object with an extra reference, this
1610 resulted in a memory leak.
1611 http://rt.cpan.org/Ticket/Display.html?id=24992
1613 - fix rendering on alpha channel images for the FreeType 2.x driver
1614 http://rt.cpan.org/Ticket/Display.html?id=11972
1616 - reading bmp files now consitently handles short reads. You can now
1617 supply a parameter to treat a short read as successful and set
1619 http://rt.cpan.org/Ticket/Display.html?id=8426
1621 - previously, reading ASCII PBM files required spaces between samples,
1622 even though the format doesn't require that
1624 - improved documentation of the unsharpmask filter (I hope)
1625 http://rt.cpan.org/Ticket/Display.html?id=25531
1627 - force flushing of the output from i_tt_dump_names() and test output
1628 in t/t35ttfont.t to prevent output from being mixed up.
1629 https://rt.cpan.org/Ticket/Display.html?id=24859
1631 - rewrite a conditional expression as an if() to hopefully work around
1632 a bug in the pre-4.0 GCC Apple shipped with OS X 10.4.
1633 https://rt.cpan.org/Ticket/Display.html?id=25561
1635 - avoid Data::Dumper in regops.perl to support older releases of perl
1636 https://rt.cpan.org/Ticket/Display.html?id=24391
1638 Imager 0.55 - 16 Dec 2006
1641 This is primarily a bug fix release.
1643 Note: Test::More is now a pre-requisite for Imager and is no longer bundled.
1645 There is one new feature:
1647 - the Win32 font driver now supports UTF8 (RT 22166)
1648 http://www.cpanforum.com/threads/3276
1649 http://rt.cpan.org/Ticket/Display.html?id=22166
1651 Several bugs were fixed:
1653 - the string() method would not output the string "0"
1654 http://rt.cpan.org/Public/Bug/Display.html?id=21770
1656 - fills.c was failing to compile on Solaris 10 (compiler unknown)
1657 http://rt.cpan.org/Public/Bug/Display.html?id=21944
1659 - the gif_disposal and gif_user_input tags weren't being read from
1661 http://rt.cpan.org/Public/Bug/Display.html?id=22192
1663 - gif.c was failing to build under MSVC
1664 http://rt.cpan.org/Ticket/Display.html?id=23922
1666 - in some cases strings passed to the string() method were treated as
1667 terminated by NUL (chr 0)
1668 http://rt.cpan.org/Public/Bug/Display.html?id=21770
1670 - on "MSWin32" perl builds we now link to -lzlib instead of -lz since
1671 that's the default build name for zlib on Win32.
1672 http://rt.cpan.org/Ticket/Display.html?id=23064
1674 - search $Config{incpath} for headers too, which we should have been
1677 Win32 font driver fixes:
1679 - the global descent value from bounding box was the wrong sign
1680 http://www.cpanforum.com/threads/3276
1682 - if the first or last glyph overflowed the left or right side of the
1683 advance width they would be clipped
1686 Imager 0.54 - 14 Sep 2006
1689 This is primarily a feature release:
1691 - a new qtype value 'mixing' has been added to the scale()
1692 method. This is faster than 'normal', slower than 'preview'. This
1693 is based on the method used by pnmscale, and seems to produce less
1694 blurry results than normal.
1695 http://rt.cpan.org/Public/Bug/Display.html?id=20677
1697 - the rubthrough() method can now render onto images with an alpha
1699 http://rt.cpan.org/Ticket/Display.html?id=20678
1701 - the read_multi() method now falls back to calling doing a single
1702 image read via the read() method and write_multi() will now fall
1703 back to calling write() if a single image is supplied. This means
1704 you can simply call the read_multi() or write_multi() functions
1705 without having to check if the type is formatted by that method.
1706 http://rt.cpan.org/Ticket/Display.html?id=19457
1707 http://rt.cpan.org/Ticket/Display.html?id=19458
1709 - the GIF loop extension can now be written. If you don't have
1710 libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you
1712 http://rt.cpan.org/Ticket/Display.html?id=21185
1714 - getscanline() and setscanline() can now read/write palette index
1715 based data from/to the image for paletted images, by setting type to
1717 http://rt.cpan.org/Ticket/Display.html?id=20338
1719 - we no longer hassle you to disable GIF support
1720 http://rt.cpan.org/Ticket/Display.html?id=20687
1722 - minor documentation fixes
1725 Imager 0.53 - 26 Jul 2006
1728 This is a bugfix release.
1730 Some test code was left in a code path not covered by the test
1731 suite. A test was added to cover this code path and the test code was
1733 http://rt.cpan.org/Public/Bug/Display.html?id=20705
1736 Imager 0.52 - 25 Jul 2006
1739 This is primarily a feature release, but contains a fair few bug
1740 fixes, new features:
1742 - ability to read and write MS Windows ICO and CUR files
1744 - you can now add file format plugins to support new file formats
1746 - add POD coverage tests
1748 - setcolors() and addcolors() now accept color names and so on
1749 instead of requiring Imager::Color objects.
1750 http://rt.cpan.org/Ticket/Display.html?id=20056
1752 - flood_fill() can now fill to a specified border color instead of
1753 just to the area the same color as the seed.
1754 http://rt.cpan.org/Ticket/Display.html?id=19618
1759 - bounding_box for the T1 driver wasn't converting UTF8 to ascii when
1760 calculating the advance width.
1761 http://rt.cpan.org/Public/Bug/Display.html?id=20554
1763 - bounding_box for the T1 driver wasn't including leading and
1764 trailing spaces in the bounding box as the other drivers did, it also
1765 produced strange results for empty strings or strings containing only
1768 - when reading CMYK jpeg images they were being transferred to the
1769 image object as is, producing a four channel image. It only looked ok
1770 due to an old still unfixed Photoshop bug. We now convert from the
1771 inverted CMYK that photoshop (and Corel for example) produce into RGB.
1772 http://rt.cpan.org/Ticket/Display.html?id=20416
1774 - reading a CYMK TIFF would result in a 4 channel image, reading any
1775 image with more than 4 channels (eg. RGB with 2 alpha channels) would
1777 http://rt.cpan.org/Ticket/Display.html?id=20415
1779 - added /usr/local/include to the default include search path, since
1780 we were already searching /usr/local/lib for libraries.
1782 And various minor fixes and documentation updates.
1785 Imager 0.51 - 23 Apr 2006
1788 - fix a validation bug when processing JPEG EXIF data that can cause
1790 http://rt.cpan.org/Public/Bug/Display.html?id=18496
1792 - fix mis-processing of the src_maxx and src_maxy parameters of the
1794 http://rt.cpan.org/Public/Bug/Display.html?id=18712
1796 - fix a problem in Imager's "smart" handling of the color parameter
1798 http://rt.cpan.org/Public/Bug/Display.html?id=18561
1801 Imager 0.50 - 29 Mar 2006
1804 - CRITICAL: fixes a segmentation fault from attempting to write a 2
1805 or 4 channel image to jpeg or a 2 channel image to tga where the
1806 output is an in-memeory buffer.
1807 http://rt.cpan.org/Public/Bug/Display.html?id=18397
1809 - fixes an incorrect pointer parameter in the PNG code
1810 http://rt.cpan.org/Public/Bug/Display.html?id=18051
1812 - skip Inline::C tests when building in a directory with spaces
1813 http://rt.cpan.org/Public/Bug/Display.html?id=18049