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