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