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