]> git.imager.perl.org - imager.git/blob - Changes
0af035282a9913846da6e066a185770954049b43
[imager.git] / Changes
1 Imager release history.  Older releases can be found in Changes.old
2
3 Imager 1.006 - 26 Aug 2017
4 ============
5
6  - the internal i_errors() function now correctly allocates the stack
7    space needed for its result.
8    https://rt.perl.org/rt3/Ticket/Display.html?id=131938
9
10  - t/100-base/020-color.t now uses Imager::Test's test functions
11    instead of its own.
12    https://rt.cpan.org/Ticket/Display.html?id=111993
13
14  - write_multi() now returns an error result (a false value) if called
15    with a non-(Imager image object).  Previously it would typically
16    crash.
17    https://rt.cpan.org/Ticket/Display.html?id=117878
18
19  - improve the documentation of the jpegquality parameter when
20    writing JPEG files.
21
22  - add code to mitigate CVE-2016-1238, Imager will no longer search the
23    default current directory entry in @INC when searching for file
24    format support modules.
25
26 Imager 1.005 - 16 Apr 2016
27 ============
28
29 It's now been ten years since I switched to the new Changes file in
30 release 0.55.
31
32  - revert the ivdformat probes, they don't work as is and trying to
33    fix them is too much work for now.
34
35 Imager 1.004_004 - 15 Apr 2016
36 ================
37
38  - test that the ivdformat from Config is correct and look for a valid
39    one if it isn't.
40    For the strange Win32 failures.
41
42  - fix a copy and paste error in pod in samples/samp-form.cgi
43
44 Imager 1.004_003 - 23 Mar 2016
45 ================
46
47  - add some extra error reporting to the I/O layers tests, this might
48    help catch a failure seen on Win32.
49    http://cpantesters.org/cpan/report/99781689-6bf5-1014-897a-75cb4eee1325
50
51 Imager 1.004_002 - 20 Mar 2016
52 ================
53
54  - don't use the seek() method on opened() handles in
55    t/200-file/400-basic.t.  In older versions of perl such handles are
56    only IO::Handle objects, not IO::File, and don't have a seek()
57    method.
58
59 Imager 1.004_001 - 16 Mar 2016 (Birthday release - but not my birthday)
60 ================
61
62  - re-work the t/200-file/400-basic.t to correctly handle failures
63    It's custom ok() function didn't have a prototype and didn't use scalar().
64    This caused ok() to use the note instead of the value being tested when
65    the method called returned an empty list.  For an example of the problem
66    caused see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812093
67
68  - remove some noise from when Imager tried to work with bugs in old
69    versions of giflib.  I can't do much about the new bugs.
70
71  - the new autolevels filter (Imager 0.99) used an integer for the
72    sample scaling factor which caused the top output level to be too
73    low (depending on the scaling required.)  It now uses a double.
74    https://rt.cpan.org/Ticket/Display.html?id=111871
75
76  - the new autolevels filter had off-by-one errors calculating the
77    minimum and maximum luminance from the histogram.  This slightly
78    reduced the contrast of the output image.
79    https://rt.cpan.org/Ticket/Display.html?id=111871
80
81  - the new autolevels filter now uses a lookup table for 8-bit images
82    to avoid a floating point multiply for each sample.
83    https://rt.cpan.org/Ticket/Display.html?id=111871
84
85  - fixed several memory leaks detected by valgrind:
86
87    - addcolors() leaked the temporary array of colors supplied to the
88      internal API
89
90    - make_palette() leaked the temporary image array (not the images
91      themselves) passed to the internal API.
92
93    - combine()/i_combine() leaked its working row buffers
94
95    - getcolorusage()/i_get_anonymous_color_histo() leaked the sample
96      buffer if there were too many colors
97
98    - getcolorcount()/i_count_colors() leaked the sample buffer if
99      there were too many colors.
100
101    - the nearest_color filter (undocumented until I find a use for it)
102      leaked both temporaries passed to the API and internal buffers
103
104    - the internal process of upgrading a paletted image to a direct
105      color image would leak a context object reference count.
106
107    - a write failure when writing to a GIF file could leak memory.
108
109    - failing to write to a 1-bit/pixel ICO image could leak memory.
110
111  - Imager no longer deliberately leaks the context object from the
112    initial thread.  This was done to ensure there was always a context
113    object available, but the code that needed that now handles the
114    lack correctly,
115
116  - fixed some uninitialized memory usage detected by valgrind:
117
118    - rotate()/i_rotate_exact()/i_rotate_exact_bg()/i_matrix_transform()/
119      i_matrix_transform_bg() didn't initialize a working color value
120      if there was zero pixel coverage.
121
122    - i_ft2_cp() didn't initialize the complete color when producing an
123      intermediate image.  This caused uninitialized value usage when
124      logging the color.
125
126 Imager 1.004 - 8 Nov 2015
127 ============
128
129  - Imager::Color::Table is now pre-loaded by the preload() method.
130    https://rt.cpan.org/Ticket/Display.html?id=104896
131
132  - fix an assertion triggered under perl 5.23.4.
133    Thanks to A. Sinan Unur for the report and the patch.
134
135  - Imager->new can now be used to read raw image files.
136    https://rt.cpan.org/Ticket/Display.html?id=106836
137    Thanks to Richard Kelsch for reporting this.
138
139  - deal with output changes from Pod::Spell
140    https://github.com/perl-pod/Pod-Spell/issues/21
141
142 Imager 1.003 - 12 May 2015
143 ============
144
145  - update 1.002 release notes to include the center change for filled
146    circle drawing.
147
148  - flood_fill() would escape beyond a 4-connected space under some
149    circumstances.
150    Added many more flood_fill() tests.
151    https://rt.cpan.org/Ticket/Display.html?id=103786
152
153 Imager 1.002 - 3 Apr 2015
154 ============
155
156  - drawing anti-aliased filled circles is now 10 to 50 times faster
157    depending on the size of the circle.
158    This also changed the center from being the center of the pixel to
159    being the top left of the pixel to match the filled arcs drawn by
160    arc().
161    https://rt.cpan.org/Ticket/Display.html?id=101682
162
163  - enhancements to polygon filling:
164
165    - added a mode parameter to control how overlapping regions behave
166
167    - added a polypolygon() method to fill more than one polygon at a
168      time
169
170    - polygon filling is now exposed through the API.
171
172  - added colormodel(), alphachannel() and colorchannels() methods.
173    These were added for two reasons:
174
175     - a future version of Imager may allow the number of channels in
176       an image to not directly represent the color model of an image.
177       eg. a greyscale TIFF image with multiple alpha channels.
178
179     - a future version of Imager may allow an image to be read without
180       translation, for example a TIFF file that contains measurements
181       from an instrument.  Currently Imager transforms the samples into
182       the range 0.0 ... 1.0 which may means the user has to translate
183       the value back.
184
185       An untranslated image would be unusable as image data, so
186       colormodel() would return "unknown" in this case.
187
188       Similarly a CMYK image might be returned as an "unknown" color
189       model image, if the caller chooses to disable translation to
190       RGB.
191
192 Imager 1.001 - 2 Jan 2015
193 ============
194
195  - both Imager and perl 5.21.3 define my_strerror(), prevent a conflict
196    Thanks to Slaven Rezic for the report and the patch.
197    https://rt.cpan.org/Public/Bug/Display.html?id=98234
198
199  - GIF: clean-up a test file if the test for the giflib 4.2.0 file
200    version bug fails.
201
202  - fix Imager::Matrix2d::rotate()'s centre point handling
203    https://rt.cpan.org/Public/Bug/Display.html?id=99959
204
205  - ICO: don't apply the icon mask to images with an alpha channel by
206    default
207    https://rt.cpan.org/Public/Bug/Display.html?id=99507
208
209  - make verbose probing output more verbose
210
211  - use Imager::Probe to probe for freetype 1.x
212    https://rt.cpan.org/Ticket/Display.html?id=100502
213
214  - The --enable and --disable parameters to the top-level Makefile.PL
215    work again.
216
217  - update the bundled/modified Devel::CheckLib to handle the gcc-4
218    symlink on Cygwin
219
220 Imager 1.000 - 28 Jul 2014
221 ============
222
223 There's nothing special about Imager 1.000, it's just another release.
224
225  - fix the skip check for the iolayer qr// buffer test
226
227  - improve error reporting for the iolayer test failing on a small
228    number of Win32 CPAN testers
229
230 Imager 0.99_02 - 21 Jul 2014
231 ==============
232
233  - Imager::Filter::Mandelbrot (and dynfilt/mandelbrot.c) - initialize
234    the blue channel in the generated palette, and allow each color
235    component to be in the range 100..255 instead of just 100..254.
236    Thanks to Ralf Neubauer.
237    https://rt.cpan.org/Ticket/Display.html?id=97086
238
239  - revert "improved the XS for i_io_read() and i_io_raw_read()"
240    This caused problems with older perls and didn't provide much of a
241    performance improvement.
242
243  - support Inline 0.57 and later.
244    Inline 0.57 changed the "with" interface.
245    https://rt.cpan.org/Ticket/Display.html?id=97108
246
247  - don't define our own MAXINT macro, it conflicts with windows header
248    files and in a few places it was the wrong value to use anyway.
249    https://rt.cpan.org/Ticket/Display.html?id=96425
250
251 Imager 0.99_01 - 29 Jun 2014
252 ==============
253
254  - GIF: add support for giflib 5.1.0, which added error code pointer
255    parameters to EGifCloseFile() and DGifCloseFile().
256    https://rt.cpan.org/Ticket/Display.html?id=96756
257
258  - GIF: avoid a double-free when do_write() fails.
259
260  - fix SV type probing to work on perl before 5.12.  Broken in 0.99.
261    https://rt.cpan.org/Ticket/Display.html?id=96761
262
263  - PNG: skip the benign error test before libpng 1.6.0, since the
264    error we're testing didn't exist before 1.6.0.
265    https://rt.cpan.org/Ticket/Display.html?id=94717 (continued)
266
267 Imager 0.99 - 25 Jun 2014
268 ===========
269
270  - Imager::IO->new_buffer() (and hence Imager->read()'s data
271    parameter) now accepts a reference to a scalar as well as just a
272    plain scalar.
273    https://rt.cpan.org/Ticket/Display.html?id=92785
274
275  - Imager::IO->new_buffer() now always makes a copy of the passed in
276    buffer to avoid problems with temporary objects used for the return
277    value of SvPVbyte().
278    https://rt.cpan.org/Ticket/Display.html?id=92785
279
280  - improved the XS for i_io_read() and i_io_raw_read()
281    https://rt.cpan.org/Ticket/Display.html?id=92738
282
283  - load plugins from absolute paths on Android
284    Thanks to Brian Fraser.
285    https://rt.cpan.org/Ticket/Display.html?id=93272
286
287  - added the jpeg_optimize parameter for writing JPEG files.  This can
288    significantly reduce file sizes, but uses more memory and time.
289    https://rt.cpan.org/Ticket/Display.html?id=94292
290
291  - the autolevels filter now works on the luminosity of the image
292    rather then working per channel.  The old autolevels filter is
293    still available as "autolevels_skew".
294    https://rt.cpan.org/Ticket/Display.html?id=94413
295
296  - Imager::File::PNG now supports libpng 1.6.10.
297    1.6.10 changed CRC errors from benign errors to normal errors,
298    which broke the test which used CRC errors to check for benign
299    error support.  Switched to using a 1-bit grey-scale image with a
300    palette to test for benign errors.
301    https://rt.cpan.org/Ticket/Display.html?id=94717
302
303 Imager 0.98 - 3 Jan 2014
304 ===========
305
306 Incompatible changes:
307
308  - the return value of setpixel() has changed.
309
310    Previously the return values for undrawable pixels vs caller errors
311    changed depending on whether you used the multiple pixel calling
312    mechanism, or the single pixel mechanism.
313
314    Now:
315
316     - for an invalid parameter, such as an unknown colour, or missing
317       parameter, an empty list (or undef in scalar context) is
318       returned, and errstr() is set,
319
320     - otherwise the number of pixels drawn is returned.  If none of
321       the pixels could be drawn (they were all outside the image), "0
322       but true" is returned.
323
324    https://rt.cpan.org/Ticket/Display.html?id=87650
325
326 Other changes:
327
328  - when drawing on an image with an alpha channel where the source
329    minimum is greater than zero, Imager would read from beyond the end
330    of a malloc() allocated buffer.  In rare circumstances this could
331    lead to some of the source image not being written to the target
332    image, or possibly to a segmentation fault.
333    I don't believe this has any security concerns beyond that.
334
335  - if the first text drawn with Imager::Font::T1 is not anti-aliased,
336    text drawn would be nonsense.  This would also read beyond the end
337    of a malloced buffer.
338
339  - non-AA text drawn with an Imager::Font::TT (Truetype 1) font would be
340    truncated early.
341    https://rt.cpan.org/Ticket/Display.html?id=88993
342
343  - Imager::Font::Wrap no longer requires the image parameter.
344    https://rt.cpan.org/Ticket/Display.html?id=87338
345
346  - a documentation typo fix in Imager::Transformations
347    Thanks to Adrian Yee.
348    https://rt.cpan.org/Ticket/Display.html?id=88598
349
350  - Image::Probe, Imager's internal module for probing library
351    locations now searches the directories specified by LD_RUN_PATH,
352    LD_LIBRARY_PATH, DYLD_LIBRARY_PATH and LIBRARY_PATH for libraries,
353    and the corresponing s/\blib$/include/ directories for header
354    files.
355    https://rt.cpan.org/Ticket/Display.html?id=86428
356
357 Imager 0.97 - 15 Jul 2013
358 ===========
359
360 No changes from 0.96_02.
361
362 Imager 0.96_02 - 8 Jul 2013
363 ==============
364
365  - PNG: treat a version mismatch between headers and library as a
366    probe failure.
367    https://rt.cpan.org/Ticket/Display.html?id=86659
368
369  - PNG: the check for benign error support is more complex than a
370    simple library version check, check for the appropriate macro.
371    Thanks for Slaven Rezic for following up on my CPAN Testers result
372    queries.
373    https://rt.cpan.org/Ticket/Display.html?id=86659
374
375  - W32: add a missing head1 AUTHORS to the old Win32.pm
376    https://rt.cpan.org/Ticket/Display.html?id=86658
377
378 Imager 0.96_01 - 1 Jul 2013
379 ==============
380
381  - TIFF: handle SampleFormat = 2 by translating the signed integer
382    values to unsigned by flipping their sign bits.
383
384    Handle SampleFormat = 3 where possible.
385
386    SampleFormat is ignored for paletted images.
387
388    Mixed SampleFormat are handled incorrectly, since libtiff returns
389    only the first SampleFormat value, and an image with both an alpha
390    channel and SampleFormat = 2 for color channels probably has a
391    different SampleFormat for the alpha channel.
392
393    https://rt.cpan.org/Ticket/Display.html?id=74540
394
395  - XS clean up:
396      https://rt.cpan.org/Ticket/Display.html?id=69243
397
398    - Imager::Color's rgba() method now returns its values as integers
399      instead of floating point. (IV instead of NV).
400
401    - The XS for i_map() and i_matrix_transform() now use the AV *
402      typemap instead of rolling their own.
403
404    - The XS for DSO_call() now uses the HV * typemap instead of
405      rolling it's own.
406
407    - The XS for i_poly_aa(), i_poly_aa_cfill(), i_transform() and
408      i_gradgen() now use a new T_AVARRAY typemap that greatly
409      simplifies the XS code.
410
411    - many other minor XS changes
412
413    - some XS code formatting
414
415  - TT (Freetype 1.x) and FT2 (Freetype 2.x) non-antialiased rendering
416    now renders in alpha-combining mode, to match antialiased output.
417    https://rt.cpan.org/Ticket/Display.html?id=73359
418
419  - add sample code and cookbook notes for drawing a blurred drop-shadow.
420
421  - add support for libpng 1.6, which changed the defaults for
422    reporting some types of error.
423    https://rt.cpan.org/Ticket/Display.html?id=85746
424
425  - FT2: use gsamp/psamp() to transfer pixels from the work image to
426    the output image instead of gpix/ppix.
427    https://rt.cpan.org/Ticket/Display.html?id=83478
428
429  - eliminate various GCC warnings, mostly initialized but otherwise
430    unused variables.
431
432 Imager 0.96 - 19 May 2013
433 ===========
434
435  - rearrange Imager's test files.
436    https://rt.cpan.org/Ticket/Display.html?id=84596
437
438  - Imager::Probe::_gcc_lib_paths now forces C locale.
439    A sufficiently recent gcc prints localized keys for the search
440    paths, which avoids that localization.
441    https://rt.cpan.org/Ticket/Display.html?id=84963
442
443  - fix a pod error detected by Pod::Simple 3.27 and laterm and skip
444    pod tests unless AUTOMATED_TESTING or IMAGER_AUTHOR_TESTING is set
445    and true.
446    https://rt.cpan.org/Ticket/Display.html?id=85262
447    reported by Andreas König
448
449  - add a test for unclosed POD in C source, and fix the errors it
450    found.
451    https://rt.cpan.org/Ticket/Display.html?id=74875
452
453  - fix some spelling errors detected by the newer aspell in Debian
454    Wheezy.
455
456  - remove a trailing ' from lib/Imager/Font/Test.pm's POD
457    thanks to gregor herrmann <gregoa@debian.org>
458    https://rt.cpan.org/Ticket/Display.html?id=85413
459
460  - add a test for standard =head1 commands and fix the errors found
461
462 Imager 0.95 - 19 Apr 2013
463 ===========
464
465  - handle the SVf_UTF8 flag correctly on magic strings passed to
466    Imager::IO's write() and raw_write() methods.
467    This may misbehave in perl 5.6.x since the UTF8 flag may not be
468    visible in the main SV after SvGETMAGIC().
469    https://rt.cpan.org/Ticket/Display.html?id=83438
470
471  - document that bounding_box() ignores the transformation matrix
472    supplied to tranform() for fonts.
473    https://rt.cpan.org/Ticket/Display.html?id=84106
474
475 Imager 0.94_02 - 5 Apr 2013
476 ==============
477
478  - enable debug logging for the standard font tests
479
480  - skip the overloaded UTF-8 text output checks on 5.6.x and earlier,
481    due to a bug in that version of perl.
482
483  - don't test for read() failing on a write-only handle in 5.8.x and
484    earlier, this was fixed in change 862083f7e4 in perl.
485
486  - report the version of Inline found during testing (an attempt to
487    diagnose some intermittent failures.)
488
489 Imager 0.94_01 - 2 Mar 2013
490 ==============
491
492  - NOTE: possibly backward incompatible:
493    support reading from/writing to perl filehandes that aren't raw
494    files.
495
496    This allows Imager's I/O to honour handles with layers such as
497    gzip, scalar file handles or tied file handles.
498
499    This is backward incompatible in that previous Imager would simply
500    use fileno() to retrieve the fd for the file and call write(2) etc
501    on it directly.
502    https://rt.cpan.org/Ticket/Display.html?id=78843
503
504  - moved most of README to lib/Imager/Install.pod which should make it
505    more accessible to the "web" generation, also significantly updated
506    and re-worked it.
507
508  - updated README's for the separately distributed modules to refer to
509    Imager::Install, and that they need -dev versions of packages
510    https://rt.cpan.org/Ticket/Display.html?id=81265
511
512  - the JPEG test code now reports the compile-time library version
513
514  - avoid a possible compiler optimization issue on CentOS 5.9 i386 by
515    rearranging (and mildly optimizing) some code.
516    https://rt.cpan.org/Ticket/Display.html?id=83212
517
518  - fix a POD error in Imager::Fill (detected on new Pod-Simple)
519    https://rt.cpan.org/Ticket/Display.html?id=83434
520
521  - fix a broken link to Graphics::Magick
522    https://rt.cpan.org/Ticket/Display.html?id=82743
523
524  - drawing text to a channel with FT2 would draw with random coverage
525    due to an uninitialized alpha channel.
526
527  - marked the function pointer underlying the mm_log() API with the
528    correct gcc magic and fixed the resulting warnings.
529
530  - fixed some other compiler warnings
531
532  - Imager::Font::W32 now properly reports text drawing errors
533    https://rt.cpan.org/Ticket/Display.html?id=70098
534
535  - handle the SVf_UTF8 flag correctly on magic (eg. overloaded)
536    strings passed as text to draw(), bounding_box(), has_chars(),
537    glyph_names() (where supported) in each of the font drivers.
538    This may misbehave in perl 5.6.x since the UTF8 flag may not be
539    visible in the main SV after SvGETMAGIC().
540    https://rt.cpan.org/Ticket/Display.html?id=83438 (partial)
541
542 Imager 0.94 - 15 Dec 2012
543 =========================
544
545 Variations on some of these changes were included in development
546 releases.
547
548  - improved thread safety
549    - the internal error stack and log file handle are now in a per-thread
550      context object
551    - JPEG now captures IPTC information in a thread-safe way
552    - avoid globals where possible for warning capture in libtiff
553    - use a mutex to avoid re-entering thread-unsafe giflib
554    - use a mutex to avoid re-entering thread-unsafe tifflib
555    - use a mutex to avoid re-entering thread-unsafe T1Lib
556    - use a library handle per thread for freetype 2.
557    - use an engine handle per thread for freetype 1.x.
558    - originally these changes broke ABI compatibility, this has been
559      restored.
560
561  - clarify the return value of getpixel();
562    https://rt.cpan.org/Ticket/Display.html?id=81198
563
564  - fixed a race condition in parallel testing for T1
565
566  - fixed a bug in handling yoff for untransformed image-based fills
567
568  - documentation improvements for Imager::Fill
569
570  - FT2: report the library version while testing.
571
572 Imager 0.93 - 15 Oct 2012
573 ===========
574
575 Bug fixes:
576
577  - previously a transparency enabled GIF write (the default) would
578    always use a GIF89a header even if none of the images were
579    transparent.
580
581  - previously the probe step for freetype-config would fail on cygwin
582
583  - catch an invalid matrix parameter to convert() instead of crashing
584    https://rt.cpan.org/Ticket/Display.html?id=79922
585
586  - remove the 16-bit/sample limitation from the documentation for
587    setsamples(), it hasn't applied for many releases.
588    https://rt.cpan.org/Ticket/Display.html?id=79989
589
590  - don't copy setsamples() data parameter, it may be a large scalar
591    https://rt.cpan.org/Ticket/Display.html?id=79990
592
593  - clean up .dSYM directories generated performing probes on OS X
594    Mountain Lion.
595
596  - pass the --verbose command-line option through to Imager::Probe in
597    sub-module's Makefile.PLs
598    https://rt.cpan.org/Ticket/Display.html?id=75878
599
600 Enhancements:
601
602  - support for giflib 5.0. (5.0.1 and later)
603    https://rt.cpan.org/Ticket/Display.html?id=79029
604    The giflib API Imager uses doesn't have a mechanism to set the
605    header version in 5.0.0.
606
607  - update the GIF library probe code to check for the new giflib 5.0.1
608    EGifSetGifVersion() function, and to check for the giflib 4.2.0
609    uninitialized gif89 bug.
610    https://rt.cpan.org/Ticket/Display.html?id=79679
611    http://sourceforge.net/tracker/?func=detail&aid=3574283&group_id=102202&atid=631304
612
613  - avoid static variables when capturing IPTC data from JPEG files
614
615  - match Imager::Font::T1's error message translations to those from
616    later versions of T1Lib.
617
618  - for libtiff versions that support extended warning handlers (3.8.0
619    or later), use them to avoid some global variables.
620
621  - note Image::ExifTool for better metadata support.
622    https://rt.cpan.org/Ticket/Display.html?id=79251
623
624 Imager 0.92 - 14 Aug 2012
625 ===========
626
627  - giflib 4.2 eliminates the GIF_LIB_VERSION macro, handle that
628    correctly for both probing and runtime.
629    https://rt.cpan.org/Ticket/Display.html?id=77672
630
631  - allow building JPEG/imexif.c on C89 compilers.
632
633  - allow building GIF/imgif.c on C89 compilers.
634
635 Imager 0.91 - 4 Jun 2012
636 ===========
637
638 Bug fixes:
639
640  - The size of rotated images is no longer rounded up so aggressively.
641    Added rounding to the linear interpolation done for rotate() and
642    matrix_transform() for 1 and 3 channel 8-bit images.
643    Adjusted the two tranlate matrices used to build the final rotation
644    matrix to use the distance between the outlier pixels rather than
645    the pixel dimensions (ie. dimension-1).
646    With all of this the output of rotate(degrees => 270) on an 8-bit
647    image exactly matches the output of rotate(right => 270).
648    https://rt.cpan.org/Ticket/Display.html?id=77063
649
650 Other changes:
651
652  - eliminate the old IIM_new(), IIM_DESTROY() names from Imager's
653    internals, those names only matter for the XS interface.
654
655  - improve error reporting when PERL_INITIALIZE_IMAGER_CALLBACKS finds
656    the API level compiled into a loadable module such as
657    Imager::File::GIF doesn't match that of Imager.  Previously it
658    could be difficult to determine exactly which module was failing to
659    load.
660    https://rt.cpan.org/Ticket/Display.html?id=77173
661
662  - added Imager->check_file_limits() as an interface to the
663    i_int_check_image_file_limits() API.
664
665  - Imager->set_file_limits(reset => 1) now resets the limits to the
666    defaults rather than setting them all to unlimited.
667
668  - wrote a brief security note as Imager::Security
669    https://rt.cpan.org/Ticket/Display.html?id=68910
670
671 Imager 0.90 - 30 Apr 2012
672 ===========
673
674 Bug fixes:
675
676  - Imager::Test::is_imaged() attempted to process an "epsilon"
677    parameter but the prototype didn't allow for the extra parameter.
678    Corrected the prototype.
679
680  - when downconverting samples (eg. from floating point to 8 bit)
681    Imager now rounds the sample value rather than attempting to
682    allocate input values over output values equally.  The old
683    behaviour had the probably surprising effect of converting a
684    floating point 2.1/255.0 into an 8-bit 3 rather than the expected
685    2.
686    This may result in slightly different 8 or 16-bit output images.
687
688  - BI_BITFIELD BMP images were handled incorrectly, both in
689    incorrectly calculating the space required for the masks and in
690    processing the image data itself.
691    https://rt.cpan.org/Ticket/Display.html?id=76736
692
693  - some odd width BMP BI_RLE4 images use run lengths that run one off
694    the edge of the image.  Imager now allows this, discarding the
695    extra column.
696
697  - odd length RLE4 runs in BMP images were decoded incorrectly.
698
699  - pkg-config could sometimes return a library that was in a directory
700    EU::MM / $Config{libpth} doesn't know about, but the compiler did.
701    If no -L is included in the pkg-config library information check if
702    EU::MM can find the library, and if not, search our configured
703    directories and insert that into the library flags.
704    https://rt.cpan.org/Ticket/Display.html?id=75869
705
706  - Imager::Probe can now probe for libraries with dependent libraries,
707    common for static linking, eg. libpng requires libz.
708    https://rt.cpan.org/Ticket/Display.html?id=74043
709
710  - libpng 1.5 specific probes were looking for libpng 1.4 filenames.
711
712  - added alternative probe configurations that try to link libz, to
713    handle a statically linked libpng.
714    https://rt.cpan.org/Ticket/Display.html?id=74043
715
716  - if a probe includes testcode, Imager::Probe now checks that code as
717    part of the process of checking each configuration rather than as a
718    post test of the found configuration.  This allows alternate
719    configurations to be checked if a matching but non-working
720    configuration is found.
721    https://rt.cpan.org/Ticket/Display.html?id=74043
722
723 Other changes:
724
725  - when reading or writing images via callbacks, the default callbacks
726    now push an error message indicating that a required callback was
727    called but not supplied.
728    https://rt.cpan.org/Ticket/Display.html?id=76782
729
730  - clarify which callbacks are required for reading and writing TIFF
731    images.
732
733  - improve logging for creation of callback I/O layers.
734
735  - a little more documentation for Imager::Probe.
736
737  - the i_get_file_background() and i_get_file_backgroundf() APIs now
738    return int to indicate whether the i_background tag was found.
739
740  - PNG rework
741    - improve error reporting
742    - add png_interlace, png_bits tags
743    - read paletted images as paletted images, including transparency
744    - read 1 bit greyscale images as a type suitable for other file
745      handlers to write as bilevel
746    - read 16 bit/sample PNG as 16-bit/sample Imager images
747    - write "bilevel" paletted images as 1 bit grayscale images
748    - write paletted images as paletted images
749    - write 16-bit (or higher)/sample images as 16-bit/sample PNG
750      images
751    - improved metadata support
752    https://rt.cpan.org/Ticket/Display.html?id=29268
753
754 Imager 0.89 - 18 Mar 2012
755 ===========
756
757 Bug fixes:
758
759  - getpixel(..., type => "float") and the API i_gpixf() have been
760    broken on paletted images since they were implemented.
761    https://rt.cpan.org/Ticket/Display.html?id=75258
762
763 Other changes:
764
765  - links in the METHOD INDEX now point at the method documentation
766    rather than the heading you can find them under.
767    https://rt.cpan.org/Ticket/Display.html?id=71495
768
769  - Imager (and the bundled dynamic modules) no longer fallback to
770    using DynaLoader if loading via XSLoader fails.
771    For the bundled modules this could hide useful error messages.
772    https://rt.cpan.org/Ticket/Display.html?id=75560
773
774  - IM_DEBUG_MALLOC mymalloc() no longer sn?printfs() a string to a
775    buffer in the array of allocations, but just stores the filename
776    pointer and line number.
777    https://rt.cpan.org/Ticket/Display.html?id=70388
778
779 Imager 0.88 - 22 Feb 2012
780 ===========
781
782  - describe how to build libgif etc on OS X in such a way as to be
783    compatible with a fat binary perl (such as the system perl), in
784    README.
785    https://rt.cpan.org/Ticket/Display.html?id=73371
786
787  - update the change notes for 0.77_01 to indicate that libungif
788    support was removed.
789
790  - add some other imaging modules to SEE ALSO
791    https://rt.cpan.org/Ticket/Display.html?id=73906
792
793  - note that the generator of the apparently non-DFSG-free postscript
794    in MMOne.pfb is a Debian package.
795
796  - setsamples() is now a true complement to getsamples() - it can
797    write 8-bit or floating point samples from a scalar or array
798    reference.  This adds i_psamp() and i_psampf() to the C level API.
799
800  - the XS interfaces to i_gsamp(), i_gsampf() and i_gsamp_bits() have
801    changed to make better use of the typemap, but these aren't part of
802    the perl level API anyway.  There were no changes to the C level
803    interfaces to these functions.
804
805  - getpixel() and setpixel() now accept a mix of scalar and array
806    references for the x and y parameters, and unequal array lengths is
807    no longer an error.
808    https://rt.cpan.org/Ticket/Display.html?id=73697
809
810 Bug fixes:
811
812  - correctly calculate the size of a rotated image
813    https://rt.cpan.org/Ticket/Display.html?id=69261
814
815  - fix incorrect rounding of color values for matrix_transform() and
816    rotate().
817    https://rt.cpan.org/Ticket/Display.html?id=69261
818
819  - Win32 text output is now done in normal combine mode, the alpha
820    component of the color is now significant.
821    https://rt.cpan.org/Ticket/Display.html?id=70014
822
823  - remove long unused gif case from read()
824    https://rt.cpan.org/Ticket/Display.html?id=69244 (partial)
825
826  - the getsamples() target parameter was being treated as a hashref
827    when it's meant to be an array reference.
828    https://rt.cpan.org/Ticket/Display.html?id=74882
829
830  - getpixel() and setpixel() now returns an empty list when invalid
831    parameters are supplied.
832    Invalid values for type now result in an error for getpixel().
833    https://rt.cpan.org/Ticket/Display.html?id=73697
834
835 Imager 0.87 - 03 Jan 2012
836 ===========
837
838  - document the return value of the filter() method.
839    https://rt.cpan.org/Ticket/Display.html?id=72369
840
841  - document i_gsamp_bits() and i_psamp_bits().
842    https://rt.cpan.org/Ticket/Display.html?id=68815
843
844  - properly increment the Imager::Matrix2d $VERSION.
845
846  - actually include the Imager::Test tests in the dist
847
848  - correctly read and write 256x256 pixel ICO files
849    https://rt.cpan.org/Ticket/Display.html?id=69599
850
851  - make the error message from read() or read_multi() when they can't
852    identify the file type match reality.
853    https://rt.cpan.org/Ticket/Display.html?id=72475
854
855  - read() now uses $FORMATGUESS if it can't determine the file type
856    based on the file header, to match read_multi().
857
858  - re-work and add tests for def_guess_type().  def_guess_type() no
859    longer returns any random file extension as the file type.
860
861  - add gray4, gray16 and gray as presets for make_colors.
862    https://rt.cpan.org/Ticket/Display.html?id=67911
863
864  - add make_palette() method that produces a palette from one or more
865    images.
866
867  - fix the Imager dependency for the separately distributed font
868    drivers.
869    https://rt.cpan.org/Ticket/Display.html?id=72643
870
871  - fix i_render_color() to properly draw in "normal" mode - ie. when
872    writing to a 1 or 3 channel image the second or fourth channel of
873    the source color was being ignored, it is now significant.
874    https://rt.cpan.org/Ticket/Display.html?id=71564
875
876 Imager 0.86 - 31 Oct 2011
877 ===========
878
879  - improve error reporting for W32 tests
880
881 Imager 0.85_02 - 24 Oct 2011
882 ==============
883
884 Bug fixes:
885
886  - eliminate unused i_gif_opts type (clean-up)
887    https://rt.cpan.org/Ticket/Display.html?id=69245
888
889  - fix combine=0 fill color anti-aliasing on the double/sample path
890    https://rt.cpan.org/Ticket/Display.html?id=71309
891
892  - make default text color non-transparent
893    https://rt.cpan.org/Ticket/Display.html?id=71469
894
895  - apply the last of the Debian unforwarded spelling fixes
896    https://rt.cpan.org/Ticket/Display.html?id=70656
897
898  - the log() method used its message parameter as a C level format
899    string.
900    https://rt.cpan.org/Ticket/Display.html?id=71653
901
902  - provide our own STRLEN typemap entry for older perls.
903    https://rt.cpan.org/Ticket/Display.html?id=71641
904
905  - add extra ppport.h configuration to support older perls.
906
907  - depend on Scalar::Util, since we use it and older perls don't have
908    it.
909
910  - add overloaded eq to Imager::Matrix2d, since older perls don't seem
911    to synthesize it from overloaded "".
912
913   - use T1_StrError() for error messages on modern libt1
914     https://rt.cpan.org/Ticket/Display.html?id=69879
915
916  - actually load the font rather than just adding it to the catalog on
917    creation.
918
919  - Imager::Font->new now produces better error messages for the T1
920    engine.
921
922  - the font has_chars() method now returns perl's true and false
923    values in list context rather than integers, which should be more
924    efficient.
925    https://rt.cpan.org/Ticket/Display.html?id=69158
926
927  - the btm data structure used by the flood_fill code is now
928    initialized more efficiently.
929    https://rt.cpan.org/Ticket/Display.html?id=68994
930
931  - updated the Thanks list in README
932    https://rt.cpan.org/Ticket/Display.html?id=71607
933
934  - check there's at least one coefficient for the convolution filter
935    https://rt.cpan.org/Ticket/Display.html?id=68993
936
937  - make the APIRef synopsis ordering consistent, older versions of
938    perl could order it differently.
939    https://rt.cpan.org/Ticket/Display.html?id=71675
940
941  - we rely on Config.pm's d_vsnprintf as to whether we use
942    vsnprintf/snprintf, which is defined in the Win32 Config.pm even
943    though it only has _ prefixed versions of these.  Define our own
944    prefixed names on Win32.
945    https://rt.cpan.org/Ticket/Display.html?id=71642
946
947  - fix library detection with MSVC
948
949  - search a few more library directories, so EU::MM doesn't discard
950    them.  Hopefully fixes:
951    https://rt.cpan.org/Ticket/Display.html?id=71643
952
953 Imager 0.85_01 - 10 Oct 2011
954 ==============
955
956  - add simple tests for the Imager::Test test_image generators
957
958  - io_glue I/O buffering re-work:
959
960    - reorganize io_glue to do it's own buffering by default
961
962    - the unbuffered functions are available as i_io_raw_read() (or
963      raw_read() from perl) etc but are not recommended for typical
964      use.
965
966    - use the new i_io_peekn() when checking for file magic to avoid
967      seek, allowing Imager to detect the file type and read the file
968      from an unseekable stream (for formats that don't use random
969      access)
970
971    - added several new I/O layer API functions.
972
973    - fix the TGA performance problem, most noticably on Win32
974      https://rt.cpan.org/Ticket/Display.html?id=70037
975
976    - TIFF now uses wrapper functions of the correct types to avoid casts
977      https://rt.cpan.org/Ticket/Display.html?id=69912
978
979    - the callback IO object did its own buffering, controlled by the
980      maxbuffer parameter supplied to the read() and write() methods.
981      This buffering has been removed, to avoid redundancy with the
982      common io_glue buffering.  This also avoids a bug in that code
983      which could rarely pass a zero length to the read callback and
984      then panic about the result.
985
986    - the callback IO object now tests the result of calling the close
987      callback, which should return true for success.
988
989    - the PNM reader did its own buffering.  This buffering has been
990      removed to avoid redundancy with the common io_glue buffering.
991
992    - previously the read handlers for fd and callback I/O layers would
993      call the underlying interface (POSIX read or your supplied callback)
994      until it filled the buffer.  It now only makes one call.
995
996    - added public constructors for I/O layer objects (see Imager::IO)
997
998    - all core file handlers now use the i_io_foo() wrappers to gain
999      access to buffered I/O rather than calling the I/O layer
1000      callbacks directly.
1001
1002    - all core file handlers now check for error on close.
1003
1004    - Backward compatibility: if you hava custom file handlers, you can
1005      use i_io_write() etc since they're available as macros in older
1006      versions of Imager.
1007
1008    - eliminate the final remnants of io_glue_commit_types().
1009
1010    - bump IMAGER_API_VERSION, since the above may break assumptions.
1011
1012  - removed the long unused i_gen_reader() and i_gen_writer() utility
1013    functions.
1014
1015 Imager 0.85 - 29 Aug 2011
1016 ===========
1017
1018 The main changes in the release versus 0.84 are:
1019
1020  - on 64-bit systems, 64-bit types are consistently used for image
1021    dimensions and co-ordinated, and for memory block sizes.
1022
1023  - handle IFD loops in TIFF files correctly.  Previously this would
1024    lead to an infinite loop.
1025
1026 Bug fixes:
1027
1028  - fix the link in the getheight() entry in the method index
1029
1030 Imager 0.84_02 - 22 Aug 2011
1031 ==============
1032
1033 Development release, this will become 0.85 if CPAN testers is
1034 favourable.
1035
1036 Bug fixes:
1037
1038  - the image file limits set by set_file_limits() weren't being
1039    checked when reading TIFF files.
1040    https://rt.cpan.org/Ticket/Display.html?id=69915
1041
1042  - Provide more information about file format module load errors on a
1043    failed image file read() or write().
1044    https://rt.cpan.org/Ticket/Display.html?id=69194
1045
1046  - use TIFFReadDirectory() instead of TIFFSetDirectory() to iterate
1047    through TIFF images, since it checks for IFD loops.
1048    https://rt.cpan.org/Ticket/Display.html?id=69914
1049
1050  - don't leak memory when out of range palette indexes are supplied to
1051    setscanline().
1052    https://rt.cpan.org/Ticket/Display.html?id=69242
1053
1054  - require a later version of CPAN::Meta to ensure JSON::PP and
1055    CPAN::Meta::YAML are available.
1056    https://rt.cpan.org/Ticket/Display.html?id=69008
1057
1058  - hoist the per-line calculations for the flines implementations, and
1059    modernize the tests a bit.
1060    https://rt.cpan.org/Ticket/Display.html?id=70126
1061
1062  - detect snprintf()/vsnprintf() (cheat by using Config.pm) and use
1063    them when available.
1064    https://rt.cpan.org/Ticket/Display.html?id=69147
1065
1066  - if t1lib failed to reinitialize it would be left as marked
1067    initialized.
1068    https://rt.cpan.org/Ticket/Display.html?id=69877
1069
1070  - update the bundled (and still modified) Devel::CheckLib
1071    https://rt.cpan.org/Ticket/Display.html?id=69170
1072
1073 Imager 0.84_01 - 8 Aug 2011
1074 ==============
1075
1076 Development release as a sanity check for the types re-work.
1077
1078 Massive types re-work:
1079
1080  - the type used internally for pixel co-ordinates and image sizes is
1081    now 64-bit on 64-bit platforms (at least sane ones).
1082
1083  - size_t is now used consistently for memory block sizes.
1084
1085  - since this changes the binary interface, the Imager API version has
1086    been incremented.  Any module that uses the API will need to be
1087    rebuilt.  In most cases that will be enough, but calls to any APIs
1088    that take a pointer to image sizes may need source changes.
1089
1090  - you should be able to create very large images on 64-bit systems,
1091    if you have enough memory.  Successfully created a 32768 x 49192 x
1092    3 channel image, filled with a tiled image and scaled it.  The
1093    unscaled image was also successfully saved to a JPEG.
1094
1095  - check the image size before attempting to write BMP, GIF, JPEG,
1096    PNG, SGI, TGA, TIFF images.
1097
1098  - correctly handle reading TGA images over 32767 pixels wide or tall.
1099
1100 Incidental changes:
1101
1102  - the gif_left and gif_top tags are now clamped to non-negative
1103    values when writing a GIF image.
1104
1105  - removed dead callback read/write code
1106
1107 The default maximum memory size when reading files is now 1G.
1108
1109 Imager 0.84 - 20 Jun 2011
1110 ===========
1111
1112  - Imager no longer inherits from Exporter (unless you're running an
1113    old, old perl.
1114
1115  - Imager can now write progressive JPEGs (it could always read them).
1116    https://rt.cpan.org/Ticket/Display.html?id=68691
1117
1118 Bug fixes:
1119
1120  - re-work, document and test Imager's logging facility.
1121    https://rt.cpan.org/Ticket/Display.html?id=65227
1122
1123  - fix META.yml testing and the generated META.yml
1124    https://rt.cpan.org/Ticket/Display.html?id=65235
1125
1126  - test and add error reporting to to_*() family methods
1127
1128  - add to_rgb_double() method.
1129    https://rt.cpan.org/Ticket/Display.html?id=65101
1130
1131  - Imager no longer exports anything by default
1132    https://rt.cpan.org/Ticket/Display.html?id=65228
1133
1134  - convert colors to grayscale if the supplied (or generated) palette
1135    contains only grays when performing error diffusion color
1136    translation.
1137    https://rt.cpan.org/Ticket/Display.html?id=68508
1138
1139  - writing a paletted image to GIF wouldn't always use the colors
1140    supplied (or generated, eg. via make_colors => "mono"), which was
1141    confusing at best.
1142    https://rt.cpan.org/Ticket/Display.html?id=67912
1143
1144  - replace (imager|tony)@imager.perl.org in the doc, since I don't
1145    plan to continue receiving mail at that address.
1146    https://rt.cpan.org/Ticket/Display.html?id=68591
1147
1148 Imager 0.83 - 21 May 2011
1149 ===========
1150
1151 Bug fixes:
1152
1153  - diag() the error message on failure for some TIFF tests that are
1154    failing on a Solaris smoker.
1155    http://www.cpantesters.org/cpan/report/6396db1e-8090-11e0-9682-112b785ebe45
1156
1157 Imager 0.82_01 - 17 May 2011
1158 ==============
1159
1160 Dev release, in case the compose tests are too sensitive.
1161
1162 Bug fixes:
1163
1164  - Imager::Font::T1 incorrectly checked for absolute filename under
1165    Win32.  Thanks to kmx for the report and fix.
1166    https://rt.cpan.org/Ticket/Display.html?id=67963
1167
1168  - compose() with the target, source or mask position off the top or
1169    left of the target image didn't clip the source image correctly.
1170    https://rt.cpan.org/Ticket/Display.html?id=67220
1171
1172  - compose() now returns a useful error message on a non-positive
1173    opacity.
1174
1175  - compose.im now at 100% test coverage. (As opposed to, umm, much,
1176    much less.)
1177
1178 Imager 0.82 - 14 Mar 2011
1179 ===========
1180
1181 Bug fixes:
1182
1183  - eliminate calls to i_has_format() from the test suite, since it's
1184    no longer a useful way to check for file format support.  Eliminate
1185    i_has_format() from the functions exposed via XS.
1186    https://rt.cpan.org/Ticket/Display.html?id=65863
1187
1188  - eliminate calls to note(), which isn't in the (very old) version of
1189    Test::More we have as a pre-requisite.  note() is modern enough
1190    that I don't feel a need to require a Test::More upgrade for it.
1191    https://rt.cpan.org/Ticket/Display.html?id=65864
1192
1193  - skip the threads tests on Test::More 2.00_*
1194    https://rt.cpan.org/Ticket/Display.html?id=65812
1195
1196  - add an (unshipped) test to check Imager's internal POD links
1197    https://rt.cpan.org/Ticket/Display.html?id=65749
1198
1199  - improve the library detection summary
1200    https://rt.cpan.org/Ticket/Display.html?id=9675
1201
1202  - increase the version of Imager::Font::Type1 so that upgrades don't
1203    downgrade the version in this file.
1204    https://rt.cpan.org/Ticket/Display.html?id=66250
1205
1206  - if we see an -rpath (or -R) option in $Config{lddlflags} supply
1207    that option for the directories that would normally go in
1208    LD_RUN_PATH.  Typically an explicit -rpath overrides LD_RUN_PATH.
1209    https://rt.cpan.org/Ticket/Display.html?id=65955
1210
1211 Imager 0.81 - 14 Feb 2011
1212 ===========
1213
1214  - added coverage tests for masked images (maskimg.c @100% test coverage)
1215
1216  - add hsv() method to Imager::Color
1217    Thanks to Leolo (Philip Gwyn)
1218    https://rt.cpan.org/Ticket/Display.html?id=65385
1219
1220  - split libt1 Type 1 font support into a sub-module
1221    https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
1222
1223  - add a preload() class method for use in forking servers, and to
1224    work around limitations in PAR.
1225    https://rt.cpan.org/Ticket/Display.html?id=65665
1226
1227 Bug fixes:
1228
1229  - paletted writes to a masked image are now masked correctly.
1230    Revealed by new coverage tests.
1231
1232  - update the filter plugin documentation.
1233    https://rt.cpan.org/Ticket/Display.html?id=56513
1234
1235  - add the matrix() method to Imager::Matrix2d to allow creation of a
1236    matrix with specified co-efficients.  You can now multiple an
1237    Imager::Matrix2d object by a 9 element array ref or a number.
1238    https://rt.cpan.org/Ticket/Display.html?id=29938
1239
1240  - really fix loading TTF fonts with FT2 when FT1 isn't available.
1241    Thanks to Leolo (Philip Gwyn)
1242    https://rt.cpan.org/Ticket/Display.html?id=65386
1243    https://rt.cpan.org/Ticket/Display.html?id=62855
1244
1245  - make sure each test script that needs testout/ creates it.
1246    https://rt.cpan.org/Ticket/Display.html?id=65088
1247
1248  - handle a slightly different warning from libtiff 4.x
1249    https://rt.cpan.org/Ticket/Display.html?id=65268
1250
1251  - the sat transform2() op returned an incorrect saturation.
1252    https://rt.cpan.org/Ticket/Display.html?id=65391
1253
1254 Imager 0.80 - 17 Jan 2011
1255 ===========
1256
1257  - added coverage tests for Imager::Fountain and Imager::Color::Float
1258
1259  - Imager is now maintained in git
1260    http://git.imager.perl.org/imager.git
1261    git://git.imager.perl.org/imager.git
1262
1263 Bug fixes:
1264
1265  - images with an translucent alpha channel were not scaled correctly
1266    by the default (qtype=normal) scaling method.
1267    https://rt.cpan.org/Public/Bug/Display.html?id=63922
1268
1269  - Imager::Color::Float now translates "#FFFFFF" to white instead of
1270    just a little darker.
1271
1272  - make the default color map build algorithm "mediancut".  This
1273    changes the default color map builder for writing GIFs back to what
1274    it was in 0.77, reverting a performance regression.
1275    https://rt.cpan.org/Ticket/Display.html?id=64785
1276
1277  - handle failure to create a masked image correctly
1278
1279 Imager 0.79 - 10 Dec 2010
1280 ===========
1281
1282  - add Imager::Test to the POD coverage tests and document the missing
1283    functions.
1284
1285  - the convert() method now optimizes the case where all output
1286    channels are either 0, sourced from a single input channel or 1.
1287    This significantly speeds up presets like "addalpha", "green".
1288    https://rt.cpan.org/Ticket/Display.html?id=51254
1289
1290  - add wiggle.pl sample, as suggested by Dan Oppenheim.
1291
1292  - add the combine() method to combine channels from multiple source
1293    images into a new image
1294    https://rt.cpan.org/Ticket/Display.html?id=11872
1295
1296 Bug fixes:
1297
1298  - treat the co-efficients for convert() as doubles instead of floats.
1299
1300  - If a higher (earlier) priority font handler failed to load, that
1301    would crash preventing loading of later font handlers.
1302    https://rt.cpan.org/Ticket/Display.html?id=62855
1303
1304  - parse defines from the options returned by pkg-config --cflags
1305    https://rt.cpan.org/Ticket/Display.html?id=63223
1306
1307  - a regen of the MANIFEST revealed that GIF and FT2 tests weren't
1308    included in the tarball.  They are now included.
1309
1310 Imager 0.78 - 4 Oct 2010
1311 ===========
1312
1313 Bug fixes:
1314
1315  - don't access deprecated members of the png_structp.
1316    https://rt.cpan.org/Ticket/Display.html?id=60242
1317
1318  - document that using color objects is faster than supplying colors
1319    by name, etc.
1320    https://rt.cpan.org/Ticket/Display.html?id=61047
1321
1322  - Imager::Probe now accepts array references for incpath and libpath.
1323    https://rt.cpan.org/Ticket/Display.html?id=60244
1324
1325 Imager 0.77_02 - 27 Sep 2010
1326 ==============
1327
1328  - moved Win32, FreeType 2 font support into sub-modules.
1329    https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
1330    Uses Imager::Probe now.
1331    https://rt.cpan.org/Public/Bug/Display.html?id=61328
1332
1333  - tested successfully with jpeg-8b
1334    https://rt.cpan.org/Ticket/Display.html?id=60221
1335
1336 Bug fixes:
1337
1338  - from _01: look for missing file support test files in the right
1339    places.
1340
1341  - flood_fill() wouldn't fill the right side of a single scan-line
1342    fill area.
1343    Thanks to Nicolas Roggli for reporting this.
1344
1345  - flood_fill wouldn't fill to the left edge of the image if the
1346    starting line didn't reach the left edge.
1347    Thanks to Nicolas Roggli for reporting this.
1348
1349 Imager 0.77_01 - 13 Sep 2010
1350 ==============
1351
1352  - add each library-directory/pkgconfig/ to the pkg-config search path
1353    in Imager::Probe.
1354    Thanks to Justin Davis.
1355    https://rt.cpan.org/Ticket/Display.html?id=60491
1356
1357  - moved GIF, TIFF, JPEG file handling code into sub-modules in
1358    preparation for separate distribution.
1359    https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
1360
1361    Note: this removed support for libungif from Imager.
1362
1363  - optimize filled box drawing (color, not fill)
1364
1365 Bug fixes:
1366
1367  - Imager::Probe was calling ExtUtils::Liblist to initialize
1368    LD_RUN_PATH supplying an undefined value rather than the found
1369    directory.  Thanks to Justin Davis.
1370    https://rt.cpan.org/Ticket/Display.html?id=60491
1371
1372  - only prepend ./ to font filenames when passing them to T1Lib and
1373    then only when it would use its search mechanisms.
1374    https://rt.cpan.org/Ticket/Display.html?id=60509
1375
1376  - fix the cache check for the X rgb.txt loader.  This is typically
1377    used for color translation on Unix-like systems, and the fix
1378    improves performance of supplying colors by name by about 80 times.
1379    Test code that managed 3400 10x10 pixel boxes/second sped up to
1380    25700 boxes/second.
1381
1382  - clarify that Imager doesn't write EXIF metadata to images.
1383    https://rt.cpan.org/Ticket/Display.html?id=60637
1384
1385  - Imager::Probe can now search subdirectories under its include path.
1386    Used by the PNG Makefile.PL to find headers and libraries when they
1387    aren't in the base directory, as in cygwin.
1388    https://rt.cpan.org/Ticket/Display.html?id=60635
1389
1390 Imager 0.77 - 11 Aug 2010
1391 ===========
1392
1393 I don't want Imager::File::PNG indexed as part of Imager, but forgot
1394 to update the META.yml before updating the version.
1395
1396  - don't index Imager::File::PNG as part of Imager
1397
1398  - add resources to META.yml
1399
1400 Imager 0.76 - not released
1401 ===========
1402
1403 Bug fixes:
1404
1405  - the align_string() method would ignore a string of "0" due to a
1406    mis-use of C< ||= >.
1407    Thanks to Maurice Height for reporting this.
1408    https://rt.cpan.org/Ticket/Display.html?id=60199
1409
1410 Imager 0.75_03 - 09 Aug 2010
1411 ==============
1412
1413 Bug fixes:
1414
1415  - read_types() and write_types() would include png when it wasn't
1416    available due to a problem with the %formats tie
1417
1418  - handle dependent libraries correctly (eg -lpng requiring -lz) in
1419    the code run phase of library probing.
1420
1421 Imager 0.75_02 - 07 Aug 2010
1422 ==============
1423
1424 Bug fixes:
1425
1426  - add file missing from MANIFEST, which was causing TIFF failures.
1427
1428 Imager 0.75_01 - 06 Aug 2010
1429 ==============
1430
1431 Test release for the new PNG probe.
1432
1433  - added the ability to read multiple-image PNM files.
1434    Note that unlike the pbm/pgm/ppm specification this accepts mixed
1435    format files and allows white space padding between files.
1436    Thanks to Philip Gwyn (Leolo) for this patch.
1437
1438  - moved the PNG file handling code into a sub-module in preparation
1439    for separate distribution.
1440    https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
1441    Also helps avoid complications from -I/-L compile/link options from
1442    other libraries.
1443
1444 Bugs:
1445
1446  - Imager->new(data => $data) didn't try to process image file data in
1447    $data
1448    https://rt.cpan.org/Ticket/Display.html?id=58761
1449
1450  - t/t50basicoo.t no longer depends on the other tests to generate its 
1451    input files.
1452    https://rt.cpan.org/Ticket/Display.html?id=9798
1453    Also, it wasn't testing pnm (pnm vs ppm mix-up)
1454
1455  - update the documentation of hardinvert to match the change in 0.62.
1456    https://rt.cpan.org/Ticket/Display.html?id=59785
1457
1458  - added hardinvertall filter which also inverts the alpha channel
1459    (sorry for the mess)
1460
1461  - when probing for TIFF, set LD_RUN_PATH just as the Makefile does so
1462    the probe can find the library for the test run.
1463    https://rt.cpan.org/Ticket/Display.html?id=57518
1464
1465 Imager 0.75 - 20 Jun 2010
1466 ===========
1467
1468  - use PERL_NO_GET_CONTEXT to slightly improve performance on threaded
1469    perls (not measured)
1470
1471 Bugs:
1472
1473  - an opacity fill based on a fountain fill would segfault when
1474    filling an 8-bit/sample image.
1475
1476  - merge thickline branch polygon fix
1477    https://rt.cpan.org/Ticket/Display.html?id=43518
1478
1479 Imager 0.74 - 7 May 2010
1480 ===========
1481
1482 Bug fixes:
1483
1484  - read_multi() didn't handle a missing file format library correctly,
1485    aborting on failing to call i_readgif_multi_wiol() or
1486    i_readtiff_multi_wiol().
1487
1488  - fix spelling errors patched by Debian
1489    http://svn.debian.org/viewsvn/pkg-perl/trunk/libimager-perl/debian/patches/spelling.patch?revision=54839&view=markup
1490
1491  - add an (unshipped) author test to spellcheck Imager's POD.
1492
1493  - update the TIFF file format documentation
1494    https://rt.cpan.org/Ticket/Display.html?id=56510
1495
1496  - lib/Imager/IO.pod was written almost 4 years ago but never shipped.
1497
1498 Imager 0.73 - 15 Mar 2010
1499 ===========
1500
1501  - implement outline circles, both anti-aliased and not
1502    https://rt.cpan.org/Ticket/Display.html?id=19755
1503
1504  - a combine => "none" fill to a 1 or 3 channel image would produce
1505    the incorrect colour.
1506
1507 Imager 0.72 - 09 Dec 2009
1508 ===========
1509
1510 Bump version for release, since 0.71_03 is stable with CPAN testers.
1511
1512 Imager 0.71_03 - 5 Dec 2009
1513 ==============
1514
1515  - further adjust the threads test so it only performs the tests on
1516    perls where it's expected to work, and only if the threads module
1517    can be loaded.
1518
1519 Imager 0.71_02 - 1 Dec 2009
1520 ==============
1521
1522  - adjust the way we load the threads module for the threads test so
1523    it works with non-threaded perls
1524
1525 Imager 0.71_01 - 30 Nov 2009
1526 ===========
1527
1528 Bug fixes:
1529
1530  - use scanline oriented operations to flip images instead of pixel
1531    operations
1532    https://rt.cpan.org/Ticket/Display.html?id=39278
1533
1534  - use double/sample operations to flip large sample images instead of
1535    8-bit sample operations.
1536    https://rt.cpan.org/Ticket/Display.html?id=39280
1537
1538  - fix POD nits
1539    https://rt.cpan.org/Ticket/Display.html?id=51874
1540
1541  - prevent double-frees when someone creates Imager objects and then
1542    creates a thread.  Note: this just handles some simple cases,
1543    Imager doesn't support perl threads, and isn't likely to.
1544    https://rt.cpan.org/Ticket/Display.html?id=52268
1545
1546 Imager 0.71 - 16 Nov 2009
1547 ===========
1548
1549  - add the opacity fill type - an adaptor that modifies the opacity of
1550    another fill.
1551
1552 Bug fixes:
1553
1554  - the conv filter now enforces that the sum of the coefficients is
1555    non-zero.  Also, rather than skipping pixels off the edge off the
1556    edge of the image, the closest edge pixel is used.  Previously
1557    dividing by the zero sum of coefficients could cause invalid
1558    results or runtime exceptions.
1559    Thanks to David Cantrell's Alpha-NetBSD CPAN test box for revealing
1560    this bug.
1561
1562 Imager 0.70 - 21 Sep 2009
1563 ===========
1564
1565 Bug fixes:
1566
1567  - release image row and comments memory on all error returns in gif
1568    reader
1569
1570  - handle zero length extensions, previously this would cause a null
1571    pointer dereference
1572    Thanks to Krzysztof Wojtaś for the test data and fix for this.
1573
1574  - an integer division meant that preview scaling to below 1 pixel
1575    wide or high (which isn't too useful anyway) was calculating using
1576    NaNs on most platforms, and causing an exception on others.
1577    Thanks to David Cantrell for producing a backtrace of the crash on
1578    his Alpha-NetBSD CPAN test box which made it possible to track this
1579    down.
1580
1581 Imager 0.69 - 08 Sep 2009
1582 ===========
1583
1584 Bug fixes:
1585
1586  - broken test fix - was attempting to call a function skip_all, when
1587    that should be a parameter to plan().
1588
1589  - briefly document apidocs.perl, the tool used to build
1590    Imager::APIRef and make some minor enhancements
1591
1592  - various minor documentation enhancements and fixes.
1593
1594 Imager 0.68 - 07 Sep 2009
1595 ===========
1596
1597  - Imager->new(file => $filename) and other similar incantations will
1598    load the given file.
1599    https://rt.cpan.org/Ticket/Display.html?id=48261
1600
1601 Bug fixes:
1602
1603  - avoid using CHECK as a label in Imager::Test
1604    http://nntp.x.perl.org/group/perl.cpan.testers/5220921
1605
1606  - re-work most image file test files that require a library into
1607    separate library present/not present files to remove stupidly long
1608    conditionals
1609
1610  - don't treat rubthrough() outside the bounds of the target image as
1611    an error.
1612    http://nntp.x.perl.org/group/perl.cpan.testers/5185716
1613
1614 Imager 0.67_01 - 02 Sep 2009
1615 ==============
1616
1617 Bug fixes:
1618
1619  - correct documentation of default of raw image interleave read
1620    parameter
1621    https://rt.cpan.org/Ticket/Display.html?id=42074
1622
1623  - add raw_ prefix to raw read parameters, though the original names
1624    still work.
1625
1626  - fail the read if an invalid raw_interleave parameter is supplied
1627
1628  - warn if no interleave or raw_interleave parameter is supplied,
1629    since the documented default was wrong, and incompatible with the
1630    write format
1631
1632  - for reading raw images, if raw_storechannels > raw_datachannels,
1633    set the extra channels in the image to 0
1634
1635  - when probing for executables like freetype-config, search for .bat
1636    and .cmd on MSWin32, as well as .exe.
1637    https://rt.cpan.org/Ticket/Display.html?id=49275
1638
1639  - re-work the external libraries section of README:
1640    - list Debian and Redhat package names for each library
1641    - reformatting
1642    - update URLs
1643
1644  - use the new EU::MM META_MERGE facility instead of generating
1645    META.yml from scratch
1646    https://rt.cpan.org/Ticket/Display.html?id=47888
1647
1648  - use Devel::CheckLib (bundled, modified) to check which release of
1649    libtiff is installed and reject 3.9.0
1650    http://bugzilla.maptools.org/show_bug.cgi?id=2088
1651    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543079
1652
1653 Imager 0.67 - 12 Dec 2008
1654 ===========
1655
1656 Bug fixes:
1657
1658  - fix a packaging error
1659
1660 Imager 0.66 - 12 Dec 2008
1661 ===========
1662
1663  - 24-bit color .ICO/.CUR files can now be read.
1664
1665 Bug fixes:
1666
1667  - an optimization skipping 0 src alpha values could cause the
1668    rubthrough() to read past the end of a buffer.
1669    http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1509184.html
1670
1671  - corrected a reference leak where writing GIFs would leak memory.
1672    This could also happen calling to_paletted().
1673    Also documented the underlying long existing feature where the
1674    colors parameter is filled with the generated color table and added
1675    tests for it.
1676    http://rt.cpan.org/Ticket/Display.html?id=41028
1677
1678  - write out the image size in bytes field of a BMP correctly.
1679    http://rt.cpan.org/Ticket/Display.html?id=41406
1680
1681  - add limited tests for Imager::ExtUtils
1682
1683  - make Imager::ExtUtils->includes use an absolute path, since
1684    a relative path could cause failures using Inline::C.
1685    http://rt.cpan.org/Ticket/Display.html?id=37353
1686
1687  - re-arrange the POD for Imager::Font::BBox:
1688    - mark total_width(), pos_width(), end_offset() obsolete, since
1689      they're mostly for backwards compatibility
1690    - group width methods and height methods
1691    https://rt.cpan.org/Ticket/Display.html?id=39999
1692
1693 Imager 0.65 - 20 May 2008
1694 ===========
1695
1696 Bug fixes:
1697
1698  - In some cases when an error occurs reading those parts of a JPEG
1699    file after the image the scan-line buffer could be freed a second
1700    time.  In cases where the the error occured while reading the image
1701    data it's possible that the buffer could have leaked.
1702    Thanks to Gabriel Vasseur for reporting this and help in tracking
1703    it down.
1704
1705  - the gif_screen_height tag was overriding the screen width and being
1706    ignored for the screen height when present.
1707    https://rt.cpan.org/Public/Bug/Display.html?id=35568
1708
1709 Imager 0.64 - 23 April 2008
1710 ===========
1711
1712 This is a bug fix release.  This includes a fix for a possible
1713 security issue.
1714
1715 Bug fixes:
1716
1717  - Possible security issue: The floating point sample path for image
1718    based fills had a buffer overflow.  This would overwrite the end of
1719    a malloc()ed buffer with double precision floats.
1720    http://rt.cpan.org/Ticket/Display.html?id=35324
1721    CVE-2008-1928
1722
1723  - check that the result of fileno($fh) is defined rather than simply
1724    true when read() or write() is supplied with an fh parameter.
1725    http://rt.cpan.org/Ticket/Display.html?id=35139
1726
1727  - i_scale_axis() wasn't checking the result of i_img_new_ch()
1728    resulting in a SIGSEGV when attempting to scale an image to a size
1729    too large to fit in memory.  This is a NULL pointer access issue,
1730    not a buffer overflow.
1731    Added a check for the failure.
1732    scale_calculate() (and hence scale()) will now fail if any of the
1733    scale size parameters are a reference.
1734    http://rt.cpan.org/Ticket/Display.html?id=35172
1735
1736  - Regression: filling a greyscale image with a hatch used the wrong
1737    color channels from the supplied fg/bg colors.
1738    https://rt.cpan.org/Ticket/Display.html?id=35278
1739
1740  - fixed a related problem for image fills.
1741
1742 Imager 0.63 - 7 April 2008
1743 ===========
1744
1745 This release primarily contains changes to improve ease of use -
1746 rather than you having to convert images to the appropriate number of
1747 channels, Imager handles it internally.  How to handle drawing colors
1748 and the default combine mode is a thornier problem left for some other
1749 release.
1750
1751  - the font libraries are now only initialized when needed.
1752    http://rt.cpan.org/Ticket/Display.html?id=28825
1753
1754  - moved the imtoc.perl code into Imager::Preprocess
1755
1756  - paste() and rubthrough() now adapt the source image data to the
1757    destination, so you can now safely paste/rubthrough from greyscale
1758    images to color images or back, or from alpha channel images to
1759    noalpha channels or back.
1760    https://rt.cpan.org/Ticket/Display.html?id=30908
1761
1762  - rubthrough() now falls back to pasting when the source doesn't have
1763    an alpha channel.  This effectively treats the source as having a
1764    max alpha channel, the right thing to do.
1765    http://rt.cpan.org/Ticket/Display.html?id=29944
1766
1767  - re-worked most of the area filling code to use a common set of
1768    functions when filling.
1769    Corrected normal combine mode.
1770    Rewrote most of the combine modes to match the way the SVG draft
1771    defines them with respect to a translucent source and destination.
1772    Added tests for translucent source and destination.
1773    Added tests to check 8-bit/sample and double/sample combines work
1774    similarly.
1775    https://rt.cpan.org/Ticket/Display.html?id=29879
1776
1777  - writing a 2 or 4 channel image to a JPEG file will now write that
1778    image as if composited against a background, black by default,
1779    overridable with the i_background tag/parameter.
1780    https://rt.cpan.org/Ticket/Display.html?id=29876
1781
1782  - writing a 2 or 4 channel image to a PGM/PPM file will now write
1783    that image as if composited against a background, black by default,
1784    overridable with the i_background tag/parameter.
1785    http://rt.cpan.org/Ticket/Display.html?id=30074
1786
1787  - writing a 2 or 4 channel image to a BMP file will now write that
1788    image as if composited against a background, black by default,
1789    overridable with the i_background tag/parameter.
1790    http://rt.cpan.org/Ticket/Display.html?id=30075
1791
1792 Bug fixes:
1793
1794  - Imager::Matrix2d->translate() now only requires one of the x or y
1795    parameters.
1796    http://rt.cpan.org/Ticket/Display.html?id=29937
1797
1798  - mixing qtype scaling now sets all channels of a pixel to zero if
1799    the pixel has zero coverage (zero alpha).  This should produce more
1800    compressible output files.
1801    http://rt.cpan.org/Ticket/Display.html?id=32324
1802
1803  - removed the pointless #! line from lib/Imager/Font/Wrap.pm
1804    Noticed when I saw:
1805    https://bugzilla.redhat.com/show_bug.cgi?id=166254
1806    I'm not changing the #! lines of the sample code, since it's sample
1807    code, not intended for installation.
1808    http://rt.cpan.org/Ticket/Display.html?id=33408
1809
1810  - some TGA images weren't being detected correctly as TGA images
1811    https://rt.cpan.org/Ticket/Display.html?id=32925
1812
1813  - handling of the left-over bit for 16-bit/pixel TGA images has been
1814    changed to match the behaviour of the GIMP.  Previously the bit
1815    being set was treated as an opaque pixel, but one user reported a
1816    problem with loading such an image.  I haven't been able to find any
1817    tools beyond the GIMP that handle alpha-channel 16-bit TGAs, so
1818    I'll match it's behaviour.  See issue 114913 in the GIMP's
1819    bugzilla.
1820    http://rt.cpan.org/Ticket/Display.html?id=32926
1821
1822 Imager 0.62 - 10 December 2007
1823 ===========
1824
1825  - Makefile.PL now expands ~/path supplied to --incpath or --libpath
1826    to /path under your home directory.
1827    http://rt.cpan.org/Ticket/Display.html?id=29484
1828
1829  - the old dynaload code used Mach API functions to load dynamic
1830    libraries on Mac OS X.  These APIs have been deprecated in OS X
1831    10.5 and were causing some build problems.
1832    So henceforth Imager uses the dlopen() family of functions, and you 
1833    will need version 10.3 or later of OS X.
1834
1835  - added the det() function to the transform2() engine.
1836    added the sample quad_to_square.pl
1837    Courtesy Richard Fairhurst.
1838    http://rt.cpan.org/Ticket/Display.html?id=31244
1839
1840 Bug fixes:
1841
1842  - samples/gifscale.pl sourced the base value for gif_top from
1843    gif_left.
1844    Thanks to Eleneldil G. Arilou for pointing this out.
1845
1846  - t/t82inline.t no longer loads B at runtime, to work around a bug
1847    in some 5.005_0[45] installations.
1848    http://rt.cpan.org/Ticket/Display.html?id=30508
1849
1850  - work around Module::Depends::Intrusive bug #21229
1851    http://rt.cpan.org/Ticket/Display.html?id=30520
1852
1853  - the hardinvert filter no-longer inverts the alpha channel.
1854    http://rt.cpan.org/Ticket/Display.html?id=30002
1855
1856  - the hardinvert filter now supports large samples
1857
1858 Imager 0.61_02 - 28 November 2007
1859 ==============
1860
1861  - major TIFF support re-work
1862    http://rt.cpan.org/Ticket/Display.html?id=20329
1863
1864  - added a C level image interface for accessing samples from 1-32
1865    bits, exposed this at the perl level in getsamples()
1866
1867  - the conv filter now works at floating point precision for high bit
1868    images
1869
1870  - added is_bilevel method to test whether an image should be written as
1871    a bilevel image if the image format supports it.
1872
1873  - added -log-stderr as an Imager import list option
1874
1875  - added some important types to Imager::APIRef
1876
1877  - added test_image_double() to Imager::Test
1878
1879 Bug fixes:
1880
1881  - Imager::Fountain couldn't read GIMP gradient files with 10 or more
1882    segments
1883
1884  - the scale() method with qtype mixing now handles images with an
1885    alpha channel correctly.
1886
1887  - fixed a broken link from the "animated GIF" entry in the concept index.
1888    Thanks to Slaven Rezic.
1889    http://rt.cpan.org/Ticket/Display.html?id=30889
1890
1891  - on some perl's the infix expression parser test would fail due to
1892    actions in the grammar returning false.  Made sure all actions return
1893    a true value.
1894    Thanks to Richard Fairhurst for spending a lot of time in tracking
1895    down this problem.
1896    http://rt.cpan.org/Public/Bug/Display.html?id=29562
1897
1898 Imager 0.61 - 5 November 2007
1899 ===========
1900
1901  - added samples/gifscale.pl, which adjusts the screen size/position tags
1902    when scaling an animated gif
1903    http://rt.cpan.org/Ticket/Display.html?id=27591
1904
1905 Bug fixes:
1906
1907  - correct handling of sz in matrix_transform() - this should allow
1908    perspective type transformations to work now.
1909    http://rt.cpan.org/Ticket/Display.html?id=29936
1910
1911  - prevent a cast to integer warning on x64 builds in datatypes.c
1912    also fixed some other type warnings
1913    https://rt.cpan.org/Ticket/Display.html?id=30204
1914
1915  - some sub-directory tests depended on files produced by the parent
1916    directory tests
1917    http://rt.cpan.org/Ticket/Display.html?id=30203
1918
1919  - Imager::Font::Wrap doesn't correctly set savepos
1920    thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this.
1921    http://rt.cpan.org/Ticket/Display.html?id=29771
1922
1923  - test 171 in t/t01introvert.t was failing on perls configured to
1924    use long double.
1925    http://rt.cpan.org/Ticket/Display.html?id=29413
1926
1927  - the code for the transform2() uminus operator was missing a break.
1928    Added tests for better code coverage of the ops.
1929    http://rt.cpan.org/Ticket/Display.html?id=29296
1930
1931  - the SGI RLE compression code could overflow its compression buffer
1932    http://rt.cpan.org/Ticket/Display.html?id=30334
1933
1934  - the 32-bit output function used by the SGI code only handled values
1935    under 0x10000.  This was most noticable when writing large RLE images.
1936    http://rt.cpan.org/Ticket/Display.html?id=30335
1937
1938  - validate chan_count for chans == NULL for each of the i_gsamp()
1939    implementations.
1940    http://rt.cpan.org/Ticket/Display.html?id=28985
1941
1942  - attempt to work around the test failure at 
1943    http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html
1944    http://rt.cpan.org/Ticket/Display.html?id=29562
1945
1946  - improve the error messages produced when attempting to read or write
1947    an unknown image file format.
1948    http://rt.cpan.org/Ticket/Display.html?id=30103
1949
1950  - improve the transform2() documentation
1951    http://rt.cpan.org/Ticket/Display.html?id=29267
1952
1953  - correctly generate the author key in META.yml
1954    http://rt.cpan.org/Ticket/Display.html?id=30377
1955
1956  - correctly blend a rotated (or matrix_transformed()) image when
1957    performing interpolation in the presence of an alpha channel.
1958    Also corrected the centring of the rotated image on the output
1959    image.
1960
1961 Imager 0.60 - 30 August 2007
1962 ===========
1963
1964  - Finished/rewrote Arnar's old SGI RGB file format support, so Imager
1965    now has full SGI RGB image format, including RLE and 16-bit/sample
1966    images.
1967    https://rt.cpan.org/Ticket/Display.html?id=8666
1968
1969  - logging functions are now available in the API
1970
1971  - applied Gabriel Vasseur's patch
1972    added documentation, further tests, and support for greyscale images
1973    Obviously problems are my fault :)
1974    https://rt.cpan.org/Ticket/Display.html?id=28142
1975
1976  - the mask for ICO/CUR images is now applied as an alpha channel to
1977    the returned image.  For the old behaviour, supply ico_masked => 0
1978    to read() or read_multi().  This should be less confusing when
1979    using Imager as a general image processor.
1980    https://rt.cpan.org/Ticket/Display.html?id=29001
1981
1982 Bug fixes:
1983
1984  - in some cases it's possible for giflib/libungif to return color 
1985    indexes outside the range of colors defined by the image's palette.
1986    We now expand the palette to match the indexes used.
1987    Thanks to Gabriel Vasseur for reporting this.
1988
1989  - fixed various memory leaks that could occur when failing to read png,
1990    jpeg, bmp or tga files.
1991
1992  - to avoid confusion, channels not present in the image are returned as
1993    zero by getscanline().  This has no effect on the C level i_glin()
1994    and i_glinf() API functions which continue to not set the unused
1995    channels.
1996
1997  - the convert() method now returns an image of the same sample size as
1998    the source image.
1999    https://rt.cpan.org/Ticket/Display.html?id=28492
2000
2001  - remove repeated text in Imager::Files
2002    http://rt.cpan.org/Ticket/Display.html?id=27589
2003
2004  - be even more explicit that scale() and friends don't modify the source
2005    image, but return a new image.
2006    http://rt.cpan.org/Ticket/Display.html?id=28570
2007
2008  - improve the error message from errstr() when you try to load a font
2009    for which the driver hasn't been built in Imager.
2010    http://rt.cpan.org/Ticket/Display.html?id=27571
2011
2012  - transparency is now enabled by default when writing GIF images
2013    http://rt.cpan.org/Ticket/Display.html?id=27615
2014
2015  - Imager would not load on Windows 98
2016    http://rt.cpan.org/Ticket/Display.html?id=27653
2017
2018 Imager 0.59 - 14 June 2007
2019 ===========
2020
2021 Bug fixes:
2022
2023  - fixes a regression introduced by the fixes for RT 11972
2024    http://rt.cpan.org/Ticket/Display.html?id=27546
2025
2026  - cropping outside the image would return an Imager object with
2027    no low-level image object, instead of returning false.
2028    Fixed by: Philip Gwyn (Leolo)
2029    http://rt.cpan.org/Ticket/Display.html?id=27509
2030
2031 Imager 0.58 - 16 May 2007
2032 ===========
2033
2034 No significant changes from 0.57_01.
2035
2036 Imager 0.57_01 - 11 May 2007
2037 ==============
2038
2039  - added to_rgb16 to produce a 16-bit/sample version of an image
2040
2041  - improve freetype 1.x text output efficiency
2042
2043 Bug fixes:
2044
2045  - search another place for rgb.txt, and check all the places 
2046    Imager::Color checks when deciding whether to skip testing it
2047    http://rt.cpan.org/Ticket/Display.html?id=26064
2048
2049  - use a convolution kernel size based on the stddev rather than a
2050    fixed size when performing a gaussian blur
2051    http://rt.cpan.org/Ticket/Display.html?id=25645
2052
2053  - document the difference() method's mindist parameter, and debug it.
2054
2055  - put the Imager release number in the Inline::C generated code to
2056    regenerate Inline code when a new release of Imager is installed.
2057    http://rt.cpan.org/Ticket/Display.html?id=26278
2058
2059  - fix rendering on alpha channel images for the FreeType 1.x driver.
2060    http://rt.cpan.org/Ticket/Display.html?id=11972
2061
2062  - fix rendering on alpha channel images for the T1lib driver.
2063    http://rt.cpan.org/Ticket/Display.html?id=11972
2064
2065  - reworked library probing, we can now set more than one probe
2066    function for a library.  Disabled the default (non-freetype-config)
2067    library probe and added an extra probe function that searches for
2068    both ft2build.h and whatever it includes, and adds -I as needed.
2069    Hopefully this will fix build problems like
2070    http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html
2071    http://rt.cpan.org/Ticket/Display.html?id=26086
2072
2073 Imager 0.57 - 30 Apr 2007
2074 ===========
2075
2076 This is a maintenence release fixing a security issue in Imager.
2077
2078  - CRITICAL: a specially crafted compressed BMP file can cause a buffer
2079    overflow in malloced memory.  There will be further discussion of
2080    this issue in the ticket below.
2081    http://rt.cpan.org/Ticket/Display.html?id=26811
2082    CVE-2007-2459  CVE-2007-2413
2083    The descriptions at cve.mitre.org varied in quality, please see the
2084    ticket at rt.cpan.org for a more accurate description of the issue.
2085
2086 Imager 0.56 - 1 Apr 2007
2087 ===========
2088
2089  - added support for reading 16-bit/sample PGM/PPM images
2090
2091  - added support for writing 16-bit/sample PGM/PPM images
2092
2093  - improved performance of reading PBM/PGM/PPM images
2094
2095  - added support for writing PBM images if the image is paletted and
2096    contains only black and white
2097
2098  - added a new make_colors value - "mono"
2099
2100  - switched from the svn log Changes to a manual Changes to reduce
2101    noise
2102
2103  - new sample code - samples/flasher.pl
2104
2105 Bug fixes:
2106
2107  - CRITICAL: the "Imager" typemap entry (not used by Imager itself)
2108    was returning an image object with an extra reference, this
2109    resulted in a memory leak.
2110    http://rt.cpan.org/Ticket/Display.html?id=24992
2111
2112  - fix rendering on alpha channel images for the FreeType 2.x driver
2113    http://rt.cpan.org/Ticket/Display.html?id=11972
2114
2115  - reading bmp files now consitently handles short reads.  You can now
2116    supply a parameter to treat a short read as successful and set
2117    i_incomplete
2118    http://rt.cpan.org/Ticket/Display.html?id=8426
2119
2120  - previously, reading ASCII PBM files required spaces between samples,
2121    even though the format doesn't require that
2122
2123  - improved documentation of the unsharpmask filter (I hope)
2124    http://rt.cpan.org/Ticket/Display.html?id=25531
2125
2126  - force flushing of the output from i_tt_dump_names() and test output
2127    in t/t35ttfont.t to prevent output from being mixed up.
2128    https://rt.cpan.org/Ticket/Display.html?id=24859
2129
2130  - rewrite a conditional expression as an if() to hopefully work around
2131    a bug in the pre-4.0 GCC Apple shipped with OS X 10.4.
2132    https://rt.cpan.org/Ticket/Display.html?id=25561
2133
2134  - avoid Data::Dumper in regops.perl to support older releases of perl
2135    https://rt.cpan.org/Ticket/Display.html?id=24391
2136
2137 Imager 0.55 - 16 Dec 2006
2138 ===========
2139
2140 This is primarily a bug fix release.
2141
2142 Note: Test::More is now a pre-requisite for Imager and is no longer bundled.
2143
2144 There is one new feature:
2145
2146  - the Win32 font driver now supports UTF8 (RT 22166)
2147    http://www.cpanforum.com/threads/3276
2148    http://rt.cpan.org/Ticket/Display.html?id=22166
2149
2150 Several bugs were fixed:
2151
2152  - the string() method would not output the string "0"
2153    http://rt.cpan.org/Public/Bug/Display.html?id=21770
2154
2155  - fills.c was failing to compile on Solaris 10 (compiler unknown)
2156    http://rt.cpan.org/Public/Bug/Display.html?id=21944
2157
2158  - the gif_disposal and gif_user_input tags weren't being read from
2159    the file correctly
2160    http://rt.cpan.org/Public/Bug/Display.html?id=22192
2161
2162  - gif.c was failing to build under MSVC
2163    http://rt.cpan.org/Ticket/Display.html?id=23922
2164
2165  - in some cases strings passed to the string() method were treated as
2166    terminated by NUL (chr 0)
2167    http://rt.cpan.org/Public/Bug/Display.html?id=21770
2168
2169  - on "MSWin32" perl builds we now link to -lzlib instead of -lz since
2170    that's the default build name for zlib on Win32.
2171    http://rt.cpan.org/Ticket/Display.html?id=23064
2172
2173  - search $Config{incpath} for headers too, which we should have been
2174    doing all along.
2175
2176 Win32 font driver fixes:
2177
2178  - the global descent value from bounding box was the wrong sign
2179    http://www.cpanforum.com/threads/3276
2180
2181  - if the first or last glyph overflowed the left or right side of the
2182    advance width they would be clipped
2183
2184
2185 Imager 0.54 - 14 Sep 2006
2186 ===========
2187
2188 This is primarily a feature release:
2189
2190  - a new qtype value 'mixing' has been added to the scale()
2191    method. This is faster than 'normal', slower than 'preview'. This
2192    is based on the method used by pnmscale, and seems to produce less
2193    blurry results than normal.
2194    http://rt.cpan.org/Public/Bug/Display.html?id=20677
2195
2196  - the rubthrough() method can now render onto images with an alpha
2197    channel.
2198    http://rt.cpan.org/Ticket/Display.html?id=20678
2199
2200  - the read_multi() method now falls back to calling doing a single
2201    image read via the read() method and write_multi() will now fall
2202    back to calling write() if a single image is supplied. This means
2203    you can simply call the read_multi() or write_multi() functions
2204    without having to check if the type is formatted by that method.
2205    http://rt.cpan.org/Ticket/Display.html?id=19457
2206    http://rt.cpan.org/Ticket/Display.html?id=19458
2207
2208  - the GIF loop extension can now be written. If you don't have
2209    libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you
2210    should upgrade.
2211    http://rt.cpan.org/Ticket/Display.html?id=21185
2212
2213  - getscanline() and setscanline() can now read/write palette index
2214    based data from/to the image for paletted images, by setting type to
2215    'index'.
2216    http://rt.cpan.org/Ticket/Display.html?id=20338
2217
2218  - we no longer hassle you to disable GIF support
2219    http://rt.cpan.org/Ticket/Display.html?id=20687
2220
2221  - minor documentation fixes
2222
2223
2224 Imager 0.53 - 26 Jul 2006
2225 ===========
2226
2227 This is a bugfix release.
2228
2229 Some test code was left in a code path not covered by the test
2230 suite. A test was added to cover this code path and the test code was
2231 removed.
2232 http://rt.cpan.org/Public/Bug/Display.html?id=20705
2233
2234
2235 Imager 0.52 - 25 Jul 2006
2236 ===========
2237
2238 This is primarily a feature release, but contains a fair few bug
2239 fixes, new features:
2240
2241  - ability to read and write MS Windows ICO and CUR files
2242
2243  - you can now add file format plugins to support new file formats
2244
2245  - add POD coverage tests
2246
2247  - setcolors() and addcolors() now accept color names and so on
2248    instead of requiring Imager::Color objects.
2249    http://rt.cpan.org/Ticket/Display.html?id=20056
2250
2251  - flood_fill() can now fill to a specified border color instead of
2252    just to the area the same color as the seed.
2253    http://rt.cpan.org/Ticket/Display.html?id=19618
2254
2255
2256 Bug fixes:
2257
2258  - bounding_box for the T1 driver wasn't converting UTF8 to ascii when
2259    calculating the advance width.
2260    http://rt.cpan.org/Public/Bug/Display.html?id=20554
2261
2262  - bounding_box for the T1 driver wasn't including leading and
2263    trailing spaces in the bounding box as the other drivers did, it also
2264    produced strange results for empty strings or strings containing only
2265    spaces
2266
2267  - when reading CMYK jpeg images they were being transferred to the
2268    image object as is, producing a four channel image. It only looked ok
2269    due to an old still unfixed Photoshop bug. We now convert from the
2270    inverted CMYK that photoshop (and Corel for example) produce into RGB.
2271    http://rt.cpan.org/Ticket/Display.html?id=20416
2272
2273  - reading a CYMK TIFF would result in a 4 channel image, reading any
2274    image with more than 4 channels (eg. RGB with 2 alpha channels) would
2275    result in an error.
2276    http://rt.cpan.org/Ticket/Display.html?id=20415
2277
2278  - added /usr/local/include to the default include search path, since
2279    we were already searching /usr/local/lib for libraries.
2280
2281 And various minor fixes and documentation updates.
2282
2283
2284 Imager 0.51 - 23 Apr 2006
2285 ===========
2286
2287  - fix a validation bug when processing JPEG EXIF data that can cause
2288    a crash
2289    http://rt.cpan.org/Public/Bug/Display.html?id=18496
2290
2291  - fix mis-processing of the src_maxx and src_maxy parameters of the
2292    paste() method
2293    http://rt.cpan.org/Public/Bug/Display.html?id=18712
2294
2295  - fix a problem in Imager's "smart" handling of the color parameter
2296    to various methods.
2297    http://rt.cpan.org/Public/Bug/Display.html?id=18561
2298
2299
2300 Imager 0.50 - 29 Mar 2006
2301 ===========
2302
2303  - CRITICAL: fixes a segmentation fault from attempting to write a 2
2304    or 4 channel image to jpeg or a 2 channel image to tga where the
2305    output is an in-memeory buffer.
2306    http://rt.cpan.org/Public/Bug/Display.html?id=18397
2307
2308  - fixes an incorrect pointer parameter in the PNG code
2309    http://rt.cpan.org/Public/Bug/Display.html?id=18051
2310
2311  - skip Inline::C tests when building in a directory with spaces
2312    http://rt.cpan.org/Public/Bug/Display.html?id=18049