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