]> git.imager.perl.org - imager.git/blob - Changes
merge the thickline branch polygon fix
[imager.git] / Changes
1 Imager release history.  Older releases can be found in Changes.old
2
3 Imager 0.75
4 ===========
5
6  - use PERL_NO_GET_CONTEXT to slightly improve performance on threaded
7    perls (not measured)
8
9 Bugs:
10
11  - an opacity fill based on a fountain fill would segfault when
12    filling an 8-bit/sample image.
13
14  - merge thickline branch polygon fix
15    https://rt.cpan.org/Ticket/Display.html?id=43518
16
17 Imager 0.74 - 7 May 2010
18 ===========
19
20 Bug fixes:
21
22  - read_multi() didn't handle a missing file format library correctly,
23    aborting on failing to call i_readgif_multi_wiol() or
24    i_readtiff_multi_wiol().
25
26  - fix spelling errors patched by Debian
27    http://svn.debian.org/viewsvn/pkg-perl/trunk/libimager-perl/debian/patches/spelling.patch?revision=54839&view=markup
28
29  - add an (unshipped) author test to spellcheck Imager's POD.
30
31  - update the TIFF file format documentation
32    https://rt.cpan.org/Ticket/Display.html?id=56510
33
34  - lib/Imager/IO.pod was written almost 4 years ago but never shipped.
35
36 Imager 0.73 - 15 Mar 2010
37 ===========
38
39  - implement outline circles, both anti-aliased and not
40    https://rt.cpan.org/Ticket/Display.html?id=19755
41
42  - a combine => "none" fill to a 1 or 3 channel image would produce
43    the incorrect colour.
44
45 Imager 0.72 - 09 Dec 2009
46 ===========
47
48 Bump version for release, since 0.71_03 is stable with CPAN testers.
49
50 Imager 0.71_03 - 5 Dec 2009
51 ==============
52
53  - further adjust the threads test so it only performs the tests on
54    perls where it's expected to work, and only if the threads module
55    can be loaded.
56
57 Imager 0.71_02 - 1 Dec 2009
58 ==============
59
60  - adjust the way we load the threads module for the threads test so
61    it works with non-threaded perls
62
63 Imager 0.71_01 - 30 Nov 2009
64 ===========
65
66 Bug fixes:
67
68  - use scanline oriented operations to flip images instead of pixel
69    operations
70    https://rt.cpan.org/Ticket/Display.html?id=39278
71
72  - use double/sample operations to flip large sample images instead of
73    8-bit sample operations.
74    https://rt.cpan.org/Ticket/Display.html?id=39280
75
76  - fix POD nits
77    https://rt.cpan.org/Ticket/Display.html?id=51874
78
79  - prevent double-frees when someone creates Imager objects and then
80    creates a thread.  Note: this just handles some simple cases,
81    Imager doesn't support perl threads, and isn't likely to.
82    https://rt.cpan.org/Ticket/Display.html?id=52268
83
84 Imager 0.71 - 16 Nov 2009
85 ===========
86
87  - add the opacity fill type - an adaptor that modifies the opacity of
88    another fill.
89
90 Bug fixes:
91
92  - the conv filter now enforces that the sum of the coefficients is
93    non-zero.  Also, rather than skipping pixels off the edge off the
94    edge of the image, the closest edge pixel is used.  Previously
95    dividing by the zero sum of coefficients could cause invalid
96    results or runtime exceptions.
97    Thanks to David Cantrell's Alpha-NetBSD CPAN test box for revealing
98    this bug.
99
100 Imager 0.70 - 21 Sep 2009
101 ===========
102
103 Bug fixes:
104
105  - release image row and comments memory on all error returns in gif
106    reader
107
108  - handle zero length extensions, previously this would cause a null
109    pointer dereference
110    Thanks to Krzysztof Wojtaś for the test data and fix for this.
111
112  - an integer division meant that preview scaling to below 1 pixel
113    wide or high (which isn't too useful anyway) was calculating using
114    NaNs on most platforms, and causing an exception on others.
115    Thanks to David Cantrell for producing a backtrace of the crash on
116    his Alpha-NetBSD CPAN test box which made it possible to track this
117    down.
118
119 Imager 0.69 - 08 Sep 2009
120 ===========
121
122 Bug fixes:
123
124  - broken test fix - was attempting to call a function skip_all, when
125    that should be a parameter to plan().
126
127  - briefly document apidocs.perl, the tool used to build
128    Imager::APIRef and make some minor enhancements
129
130  - various minor documentation enhancements and fixes.
131
132 Imager 0.68 - 07 Sep 2009
133 ===========
134
135  - Imager->new(file => $filename) and other similar incantations will
136    load the given file.
137    https://rt.cpan.org/Ticket/Display.html?id=48261
138
139 Bug fixes:
140
141  - avoid using CHECK as a label in Imager::Test
142    http://nntp.x.perl.org/group/perl.cpan.testers/5220921
143
144  - re-work most image file test files that require a library into
145    separate library present/not present files to remove stupidly long
146    conditionals
147
148  - don't treat rubthrough() outside the bounds of the target image as
149    an error.
150    http://nntp.x.perl.org/group/perl.cpan.testers/5185716
151
152 Imager 0.67_01 - 02 Sep 2009
153 ==============
154
155 Bug fixes:
156
157  - correct documentation of default of raw image interleave read
158    parameter
159    https://rt.cpan.org/Ticket/Display.html?id=42074
160
161  - add raw_ prefix to raw read parameters, though the original names
162    still work.
163
164  - fail the read if an invalid raw_interleave parameter is supplied
165
166  - warn if no interleave or raw_interleave parameter is supplied,
167    since the documented default was wrong, and incompatible with the
168    write format
169
170  - for reading raw images, if raw_storechannels > raw_datachannels,
171    set the extra channels in the image to 0
172
173  - when probing for executables like freetype-config, search for .bat
174    and .cmd on MSWin32, as well as .exe.
175    https://rt.cpan.org/Ticket/Display.html?id=49275
176
177  - re-work the external libraries section of README:
178    - list Debian and Redhat package names for each library
179    - reformatting
180    - update URLs
181
182  - use the new EU::MM META_MERGE facility instead of generating
183    META.yml from scratch
184    https://rt.cpan.org/Ticket/Display.html?id=47888
185
186  - use Devel::CheckLib (bundled, modified) to check which release of
187    libtiff is installed and reject 3.9.0
188    http://bugzilla.maptools.org/show_bug.cgi?id=2088
189    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543079
190
191 Imager 0.67 - 12 Dec 2008
192 ===========
193
194 Bug fixes:
195
196  - fix a packaging error
197
198 Imager 0.66 - 12 Dec 2008
199 ===========
200
201  - 24-bit color .ICO/.CUR files can now be read.
202
203 Bug fixes:
204
205  - an optimization skipping 0 src alpha values could cause the
206    rubthrough() to read past the end of a buffer.
207    http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1509184.html
208
209  - corrected a reference leak where writing GIFs would leak memory.
210    This could also happen calling to_paletted().
211    Also documented the underlying long existing feature where the
212    colors parameter is filled with the generated color table and added
213    tests for it.
214    http://rt.cpan.org/Ticket/Display.html?id=41028
215
216  - write out the image size in bytes field of a BMP correctly.
217    http://rt.cpan.org/Ticket/Display.html?id=41406
218
219  - add limited tests for Imager::ExtUtils
220
221  - make Imager::ExtUtils->includes use an absolute path, since
222    a relative path could cause failures using Inline::C.
223    http://rt.cpan.org/Ticket/Display.html?id=37353
224
225  - re-arrange the POD for Imager::Font::BBox:
226    - mark total_width(), pos_width(), end_offset() obsolete, since
227      they're mostly for backwards compatibility
228    - group width methods and height methods
229    https://rt.cpan.org/Ticket/Display.html?id=39999
230
231 Imager 0.65 - 20 May 2008
232 ===========
233
234 Bug fixes:
235
236  - In some cases when an error occurs reading those parts of a JPEG
237    file after the image the scan-line buffer could be freed a second
238    time.  In cases where the the error occured while reading the image
239    data it's possible that the buffer could have leaked.
240    Thanks to Gabriel Vasseur for reporting this and help in tracking
241    it down.
242
243  - the gif_screen_height tag was overriding the screen width and being
244    ignored for the screen height when present.
245    https://rt.cpan.org/Public/Bug/Display.html?id=35568
246
247 Imager 0.64 - 23 April 2008
248 ===========
249
250 This is a bug fix release.  This includes a fix for a possible
251 security issue.
252
253 Bug fixes:
254
255  - Possible security issue: The floating point sample path for image
256    based fills had a buffer overflow.  This would overwrite the end of
257    a malloc()ed buffer with double precision floats.
258    http://rt.cpan.org/Ticket/Display.html?id=35324
259    CVE-2008-1928
260
261  - check that the result of fileno($fh) is defined rather than simply
262    true when read() or write() is supplied with an fh parameter.
263    http://rt.cpan.org/Ticket/Display.html?id=35139
264
265  - i_scale_axis() wasn't checking the result of i_img_new_ch()
266    resulting in a SIGSEGV when attempting to scale an image to a size
267    too large to fit in memory.  This is a NULL pointer access issue,
268    not a buffer overflow.
269    Added a check for the failure.
270    scale_calculate() (and hence scale()) will now fail if any of the
271    scale size parameters are a reference.
272    http://rt.cpan.org/Ticket/Display.html?id=35172
273
274  - Regression: filling a greyscale image with a hatch used the wrong
275    color channels from the supplied fg/bg colors.
276    https://rt.cpan.org/Ticket/Display.html?id=35278
277
278  - fixed a related problem for image fills.
279
280 Imager 0.63 - 7 April 2008
281 ===========
282
283 This release primarily contains changes to improve ease of use -
284 rather than you having to convert images to the appropriate number of
285 channels, Imager handles it internally.  How to handle drawing colors
286 and the default combine mode is a thornier problem left for some other
287 release.
288
289  - the font libraries are now only initialized when needed.
290    http://rt.cpan.org/Ticket/Display.html?id=28825
291
292  - moved the imtoc.perl code into Imager::Preprocess
293
294  - paste() and rubthrough() now adapt the source image data to the
295    destination, so you can now safely paste/rubthrough from greyscale
296    images to color images or back, or from alpha channel images to
297    noalpha channels or back.
298    https://rt.cpan.org/Ticket/Display.html?id=30908
299
300  - rubthrough() now falls back to pasting when the source doesn't have
301    an alpha channel.  This effectively treats the source as having a
302    max alpha channel, the right thing to do.
303    http://rt.cpan.org/Ticket/Display.html?id=29944
304
305  - re-worked most of the area filling code to use a common set of
306    functions when filling.
307    Corrected normal combine mode.
308    Rewrote most of the combine modes to match the way the SVG draft
309    defines them with respect to a translucent source and destination.
310    Added tests for translucent source and destination.
311    Added tests to check 8-bit/sample and double/sample combines work
312    similarly.
313    https://rt.cpan.org/Ticket/Display.html?id=29879
314
315  - writing a 2 or 4 channel image to a JPEG file will now write that
316    image as if composited against a background, black by default,
317    overridable with the i_background tag/parameter.
318    https://rt.cpan.org/Ticket/Display.html?id=29876
319
320  - writing a 2 or 4 channel image to a PGM/PPM file will now write
321    that image as if composited against a background, black by default,
322    overridable with the i_background tag/parameter.
323    http://rt.cpan.org/Ticket/Display.html?id=30074
324
325  - writing a 2 or 4 channel image to a BMP file will now write that
326    image as if composited against a background, black by default,
327    overridable with the i_background tag/parameter.
328    http://rt.cpan.org/Ticket/Display.html?id=30075
329
330 Bug fixes:
331
332  - Imager::Matrix2d->translate() now only requires one of the x or y
333    parameters.
334    http://rt.cpan.org/Ticket/Display.html?id=29937
335
336  - mixing qtype scaling now sets all channels of a pixel to zero if
337    the pixel has zero coverage (zero alpha).  This should produce more
338    compressible output files.
339    http://rt.cpan.org/Ticket/Display.html?id=32324
340
341  - removed the pointless #! line from lib/Imager/Font/Wrap.pm
342    Noticed when I saw:
343    https://bugzilla.redhat.com/show_bug.cgi?id=166254
344    I'm not changing the #! lines of the sample code, since it's sample
345    code, not intended for installation.
346    http://rt.cpan.org/Ticket/Display.html?id=33408
347
348  - some TGA images weren't being detected correctly as TGA images
349    https://rt.cpan.org/Ticket/Display.html?id=32925
350
351  - handling of the left-over bit for 16-bit/pixel TGA images has been
352    changed to match the behaviour of the GIMP.  Previously the bit
353    being set was treated as an opaque pixel, but one user reported a
354    problem with loading such an image.  I haven't been able to find any
355    tools beyond the GIMP that handle alpha-channel 16-bit TGAs, so
356    I'll match it's behaviour.  See issue 114913 in the GIMP's
357    bugzilla.
358    http://rt.cpan.org/Ticket/Display.html?id=32926
359
360 Imager 0.62 - 10 December 2007
361 ===========
362
363  - Makefile.PL now expands ~/path supplied to --incpath or --libpath
364    to /path under your home directory.
365    http://rt.cpan.org/Ticket/Display.html?id=29484
366
367  - the old dynaload code used Mach API functions to load dynamic
368    libraries on Mac OS X.  These APIs have been deprecated in OS X
369    10.5 and were causing some build problems.
370    So henceforth Imager uses the dlopen() family of functions, and you 
371    will need version 10.3 or later of OS X.
372
373  - added the det() function to the transform2() engine.
374    added the sample quad_to_square.pl
375    Courtesy Richard Fairhurst.
376    http://rt.cpan.org/Ticket/Display.html?id=31244
377
378 Bug fixes:
379
380  - samples/gifscale.pl sourced the base value for gif_top from
381    gif_left.
382    Thanks to Eleneldil G. Arilou for pointing this out.
383
384  - t/t82inline.t no longer loads B at runtime, to work around a bug
385    in some 5.005_0[45] installations.
386    http://rt.cpan.org/Ticket/Display.html?id=30508
387
388  - work around Module::Depends::Intrusive bug #21229
389    http://rt.cpan.org/Ticket/Display.html?id=30520
390
391  - the hardinvert filter no-longer inverts the alpha channel.
392    http://rt.cpan.org/Ticket/Display.html?id=30002
393
394  - the hardinvert filter now supports large samples
395
396 Imager 0.61_02 - 28 November 2007
397 ==============
398
399  - major TIFF support re-work
400    http://rt.cpan.org/Ticket/Display.html?id=20329
401
402  - added a C level image interface for accessing samples from 1-32
403    bits, exposed this at the perl level in getsamples()
404
405  - the conv filter now works at floating point precision for high bit
406    images
407
408  - added is_bilevel method to test whether an image should be written as
409    a bilevel image if the image format supports it.
410
411  - added -log-stderr as an Imager import list option
412
413  - added some important types to Imager::APIRef
414
415  - added test_image_double() to Imager::Test
416
417 Bug fixes:
418
419  - Imager::Fountain couldn't read GIMP gradient files with 10 or more
420    segments
421
422  - the scale() method with qtype mixing now handles images with an
423    alpha channel correctly.
424
425  - fixed a broken link from the "animated GIF" entry in the concept index.
426    Thanks to Slaven Rezic.
427    http://rt.cpan.org/Ticket/Display.html?id=30889
428
429  - on some perl's the infix expression parser test would fail due to
430    actions in the grammar returning false.  Made sure all actions return
431    a true value.
432    Thanks to Richard Fairhurst for spending a lot of time in tracking
433    down this problem.
434    http://rt.cpan.org/Public/Bug/Display.html?id=29562
435
436 Imager 0.61 - 5 November 2007
437 ===========
438
439  - added samples/gifscale.pl, which adjusts the screen size/position tags
440    when scaling an animated gif
441    http://rt.cpan.org/Ticket/Display.html?id=27591
442
443 Bug fixes:
444
445  - correct handling of sz in matrix_transform() - this should allow
446    perspective type transformations to work now.
447    http://rt.cpan.org/Ticket/Display.html?id=29936
448
449  - prevent a cast to integer warning on x64 builds in datatypes.c
450    also fixed some other type warnings
451    https://rt.cpan.org/Ticket/Display.html?id=30204
452
453  - some sub-directory tests depended on files produced by the parent
454    directory tests
455    http://rt.cpan.org/Ticket/Display.html?id=30203
456
457  - Imager::Font::Wrap doesn't correctly set savepos
458    thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this.
459    http://rt.cpan.org/Ticket/Display.html?id=29771
460
461  - test 171 in t/t01introvert.t was failing on perls configured to
462    use long double.
463    http://rt.cpan.org/Ticket/Display.html?id=29413
464
465  - the code for the transform2() uminus operator was missing a break.
466    Added tests for better code coverage of the ops.
467    http://rt.cpan.org/Ticket/Display.html?id=29296
468
469  - the SGI RLE compression code could overflow its compression buffer
470    http://rt.cpan.org/Ticket/Display.html?id=30334
471
472  - the 32-bit output function used by the SGI code only handled values
473    under 0x10000.  This was most noticable when writing large RLE images.
474    http://rt.cpan.org/Ticket/Display.html?id=30335
475
476  - validate chan_count for chans == NULL for each of the i_gsamp()
477    implementations.
478    http://rt.cpan.org/Ticket/Display.html?id=28985
479
480  - attempt to work around the test failure at 
481    http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html
482    http://rt.cpan.org/Ticket/Display.html?id=29562
483
484  - improve the error messages produced when attempting to read or write
485    an unknown image file format.
486    http://rt.cpan.org/Ticket/Display.html?id=30103
487
488  - improve the transform2() documentation
489    http://rt.cpan.org/Ticket/Display.html?id=29267
490
491  - correctly generate the author key in META.yml
492    http://rt.cpan.org/Ticket/Display.html?id=30377
493
494  - correctly blend a rotated (or matrix_transformed()) image when
495    performing interpolation in the presence of an alpha channel.
496    Also corrected the centring of the rotated image on the output
497    image.
498
499 Imager 0.60 - 30 August 2007
500 ===========
501
502  - Finished/rewrote Arnar's old SGI RGB file format support, so Imager
503    now has full SGI RGB image format, including RLE and 16-bit/sample
504    images.
505    https://rt.cpan.org/Ticket/Display.html?id=8666
506
507  - logging functions are now available in the API
508
509  - applied Gabriel Vasseur's patch
510    added documentation, further tests, and support for greyscale images
511    Obviously problems are my fault :)
512    https://rt.cpan.org/Ticket/Display.html?id=28142
513
514  - the mask for ICO/CUR images is now applied as an alpha channel to
515    the returned image.  For the old behaviour, supply ico_masked => 0
516    to read() or read_multi().  This should be less confusing when
517    using Imager as a general image processor.
518    https://rt.cpan.org/Ticket/Display.html?id=29001
519
520 Bug fixes:
521
522  - in some cases it's possible for giflib/libungif to return color 
523    indexes outside the range of colors defined by the image's palette.
524    We now expand the palette to match the indexes used.
525    Thanks to Gabriel Vasseur for reporting this.
526
527  - fixed various memory leaks that could occur when failing to read png,
528    jpeg, bmp or tga files.
529
530  - to avoid confusion, channels not present in the image are returned as
531    zero by getscanline().  This has no effect on the C level i_glin()
532    and i_glinf() API functions which continue to not set the unused
533    channels.
534
535  - the convert() method now returns an image of the same sample size as
536    the source image.
537    https://rt.cpan.org/Ticket/Display.html?id=28492
538
539  - remove repeated text in Imager::Files
540    http://rt.cpan.org/Ticket/Display.html?id=27589
541
542  - be even more explicit that scale() and friends don't modify the source
543    image, but return a new image.
544    http://rt.cpan.org/Ticket/Display.html?id=28570
545
546  - improve the error message from errstr() when you try to load a font
547    for which the driver hasn't been built in Imager.
548    http://rt.cpan.org/Ticket/Display.html?id=27571
549
550  - transparency is now enabled by default when writing GIF images
551    http://rt.cpan.org/Ticket/Display.html?id=27615
552
553  - Imager would not load on Windows 98
554    http://rt.cpan.org/Ticket/Display.html?id=27653
555
556 Imager 0.59 - 14 June 2007
557 ===========
558
559 Bug fixes:
560
561  - fixes a regression introduced by the fixes for RT 11972
562    http://rt.cpan.org/Ticket/Display.html?id=27546
563
564  - cropping outside the image would return an Imager object with
565    no low-level image object, instead of returning false.
566    Fixed by: Philip Gwyn (Leolo)
567    http://rt.cpan.org/Ticket/Display.html?id=27509
568
569 Imager 0.58 - 16 May 2007
570 ===========
571
572 No significant changes from 0.57_01.
573
574 Imager 0.57_01 - 11 May 2007
575 ==============
576
577  - added to_rgb16 to produce a 16-bit/sample version of an image
578
579  - improve freetype 1.x text output efficiency
580
581 Bug fixes:
582
583  - search another place for rgb.txt, and check all the places 
584    Imager::Color checks when deciding whether to skip testing it
585    http://rt.cpan.org/Ticket/Display.html?id=26064
586
587  - use a convolution kernel size based on the stddev rather than a
588    fixed size when performing a gaussian blur
589    http://rt.cpan.org/Ticket/Display.html?id=25645
590
591  - document the difference() method's mindist parameter, and debug it.
592
593  - put the Imager release number in the Inline::C generated code to
594    regenerate Inline code when a new release of Imager is installed.
595    http://rt.cpan.org/Ticket/Display.html?id=26278
596
597  - fix rendering on alpha channel images for the FreeType 1.x driver.
598    http://rt.cpan.org/Ticket/Display.html?id=11972
599
600  - fix rendering on alpha channel images for the T1lib driver.
601    http://rt.cpan.org/Ticket/Display.html?id=11972
602
603  - reworked library probing, we can now set more than one probe
604    function for a library.  Disabled the default (non-freetype-config)
605    library probe and added an extra probe function that searches for
606    both ft2build.h and whatever it includes, and adds -I as needed.
607    Hopefully this will fix build problems like
608    http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html
609    http://rt.cpan.org/Ticket/Display.html?id=26086
610
611 Imager 0.57 - 30 Apr 2007
612 ===========
613
614 This is a maintenence release fixing a security issue in Imager.
615
616  - CRITICAL: a specially crafted compressed BMP file can cause a buffer
617    overflow in malloced memory.  There will be further discussion of
618    this issue in the ticket below.
619    http://rt.cpan.org/Ticket/Display.html?id=26811
620    CVE-2007-2459  CVE-2007-2413
621    The descriptions at cve.mitre.org varied in quality, please see the
622    ticket at rt.cpan.org for a more accurate description of the issue.
623
624 Imager 0.56 - 1 Apr 2007
625 ===========
626
627  - added support for reading 16-bit/sample PGM/PPM images
628
629  - added support for writing 16-bit/sample PGM/PPM images
630
631  - improved performance of reading PBM/PGM/PPM images
632
633  - added support for writing PBM images if the image is paletted and
634    contains only black and white
635
636  - added a new make_colors value - "mono"
637
638  - switched from the svn log Changes to a manual Changes to reduce
639    noise
640
641  - new sample code - samples/flasher.pl
642
643 Bug fixes:
644
645  - CRITICAL: the "Imager" typemap entry (not used by Imager itself)
646    was returning an image object with an extra reference, this
647    resulted in a memory leak.
648    http://rt.cpan.org/Ticket/Display.html?id=24992
649
650  - fix rendering on alpha channel images for the FreeType 2.x driver
651    http://rt.cpan.org/Ticket/Display.html?id=11972
652
653  - reading bmp files now consitently handles short reads.  You can now
654    supply a parameter to treat a short read as successful and set
655    i_incomplete
656    http://rt.cpan.org/Ticket/Display.html?id=8426
657
658  - previously, reading ASCII PBM files required spaces between samples,
659    even though the format doesn't require that
660
661  - improved documentation of the unsharpmask filter (I hope)
662    http://rt.cpan.org/Ticket/Display.html?id=25531
663
664  - force flushing of the output from i_tt_dump_names() and test output
665    in t/t35ttfont.t to prevent output from being mixed up.
666    https://rt.cpan.org/Ticket/Display.html?id=24859
667
668  - rewrite a conditional expression as an if() to hopefully work around
669    a bug in the pre-4.0 GCC Apple shipped with OS X 10.4.
670    https://rt.cpan.org/Ticket/Display.html?id=25561
671
672  - avoid Data::Dumper in regops.perl to support older releases of perl
673    https://rt.cpan.org/Ticket/Display.html?id=24391
674
675 Imager 0.55 - 16 Dec 2006
676 ===========
677
678 This is primarily a bug fix release.
679
680 Note: Test::More is now a pre-requisite for Imager and is no longer bundled.
681
682 There is one new feature:
683
684  - the Win32 font driver now supports UTF8 (RT 22166)
685    http://www.cpanforum.com/threads/3276
686    http://rt.cpan.org/Ticket/Display.html?id=22166
687
688 Several bugs were fixed:
689
690  - the string() method would not output the string "0"
691    http://rt.cpan.org/Public/Bug/Display.html?id=21770
692
693  - fills.c was failing to compile on Solaris 10 (compiler unknown)
694    http://rt.cpan.org/Public/Bug/Display.html?id=21944
695
696  - the gif_disposal and gif_user_input tags weren't being read from
697    the file correctly
698    http://rt.cpan.org/Public/Bug/Display.html?id=22192
699
700  - gif.c was failing to build under MSVC
701    http://rt.cpan.org/Ticket/Display.html?id=23922
702
703  - in some cases strings passed to the string() method were treated as
704    terminated by NUL (chr 0)
705    http://rt.cpan.org/Public/Bug/Display.html?id=21770
706
707  - on "MSWin32" perl builds we now link to -lzlib instead of -lz since
708    that's the default build name for zlib on Win32.
709    http://rt.cpan.org/Ticket/Display.html?id=23064
710
711  - search $Config{incpath} for headers too, which we should have been
712    doing all along.
713
714 Win32 font driver fixes:
715
716  - the global descent value from bounding box was the wrong sign
717    http://www.cpanforum.com/threads/3276
718
719  - if the first or last glyph overflowed the left or right side of the
720    advance width they would be clipped
721
722
723 Imager 0.54 - 14 Sep 2006
724 ===========
725
726 This is primarily a feature release:
727
728  - a new qtype value 'mixing' has been added to the scale()
729    method. This is faster than 'normal', slower than 'preview'. This
730    is based on the method used by pnmscale, and seems to produce less
731    blurry results than normal.
732    http://rt.cpan.org/Public/Bug/Display.html?id=20677
733
734  - the rubthrough() method can now render onto images with an alpha
735    channel.
736    http://rt.cpan.org/Ticket/Display.html?id=20678
737
738  - the read_multi() method now falls back to calling doing a single
739    image read via the read() method and write_multi() will now fall
740    back to calling write() if a single image is supplied. This means
741    you can simply call the read_multi() or write_multi() functions
742    without having to check if the type is formatted by that method.
743    http://rt.cpan.org/Ticket/Display.html?id=19457
744    http://rt.cpan.org/Ticket/Display.html?id=19458
745
746  - the GIF loop extension can now be written. If you don't have
747    libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you
748    should upgrade.
749    http://rt.cpan.org/Ticket/Display.html?id=21185
750
751  - getscanline() and setscanline() can now read/write palette index
752    based data from/to the image for paletted images, by setting type to
753    'index'.
754    http://rt.cpan.org/Ticket/Display.html?id=20338
755
756  - we no longer hassle you to disable GIF support
757    http://rt.cpan.org/Ticket/Display.html?id=20687
758
759  - minor documentation fixes
760
761
762 Imager 0.53 - 26 Jul 2006
763 ===========
764
765 This is a bugfix release.
766
767 Some test code was left in a code path not covered by the test
768 suite. A test was added to cover this code path and the test code was
769 removed.
770 http://rt.cpan.org/Public/Bug/Display.html?id=20705
771
772
773 Imager 0.52 - 25 Jul 2006
774 ===========
775
776 This is primarily a feature release, but contains a fair few bug
777 fixes, new features:
778
779  - ability to read and write MS Windows ICO and CUR files
780
781  - you can now add file format plugins to support new file formats
782
783  - add POD coverage tests
784
785  - setcolors() and addcolors() now accept color names and so on
786    instead of requiring Imager::Color objects.
787    http://rt.cpan.org/Ticket/Display.html?id=20056
788
789  - flood_fill() can now fill to a specified border color instead of
790    just to the area the same color as the seed.
791    http://rt.cpan.org/Ticket/Display.html?id=19618
792
793
794 Bug fixes:
795
796  - bounding_box for the T1 driver wasn't converting UTF8 to ascii when
797    calculating the advance width.
798    http://rt.cpan.org/Public/Bug/Display.html?id=20554
799
800  - bounding_box for the T1 driver wasn't including leading and
801    trailing spaces in the bounding box as the other drivers did, it also
802    produced strange results for empty strings or strings containing only
803    spaces
804
805  - when reading CMYK jpeg images they were being transferred to the
806    image object as is, producing a four channel image. It only looked ok
807    due to an old still unfixed Photoshop bug. We now convert from the
808    inverted CMYK that photoshop (and Corel for example) produce into RGB.
809    http://rt.cpan.org/Ticket/Display.html?id=20416
810
811  - reading a CYMK TIFF would result in a 4 channel image, reading any
812    image with more than 4 channels (eg. RGB with 2 alpha channels) would
813    result in an error.
814    http://rt.cpan.org/Ticket/Display.html?id=20415
815
816  - added /usr/local/include to the default include search path, since
817    we were already searching /usr/local/lib for libraries.
818
819 And various minor fixes and documentation updates.
820
821
822 Imager 0.51 - 23 Apr 2006
823 ===========
824
825  - fix a validation bug when processing JPEG EXIF data that can cause
826    a crash
827    http://rt.cpan.org/Public/Bug/Display.html?id=18496
828
829  - fix mis-processing of the src_maxx and src_maxy parameters of the
830    paste() method
831    http://rt.cpan.org/Public/Bug/Display.html?id=18712
832
833  - fix a problem in Imager's "smart" handling of the color parameter
834    to various methods.
835    http://rt.cpan.org/Public/Bug/Display.html?id=18561
836
837
838 Imager 0.50 - 29 Mar 2006
839 ===========
840
841  - CRITICAL: fixes a segmentation fault from attempting to write a 2
842    or 4 channel image to jpeg or a 2 channel image to tga where the
843    output is an in-memeory buffer.
844    http://rt.cpan.org/Public/Bug/Display.html?id=18397
845
846  - fixes an incorrect pointer parameter in the PNG code
847    http://rt.cpan.org/Public/Bug/Display.html?id=18051
848
849  - skip Inline::C tests when building in a directory with spaces
850    http://rt.cpan.org/Public/Bug/Display.html?id=18049