]> git.imager.perl.org - imager.git/blob - Changes
070a5680d2ae1dc22fa6a7fb4fc90d5f446fa22b
[imager.git] / Changes
1 Imager release history.  Older releases can be found in Changes.old
2
3  - clarify the return value of getpixel();
4    https://rt.cpan.org/Ticket/Display.html?id=81198
5
6  - fixed a race condition in parallel testing for T1
7
8  - fixed a bug in handling yoff for untransformed image-based fills
9
10  - documentation improvements for Imager::Fill
11
12  - FT2: report the library version while testing.
13
14 Imager 0.93 - 15 Oct 2012
15 ===========
16
17 Bug fixes:
18
19  - previously a transparency enabled GIF write (the default) would
20    always use a GIF89a header even if none of the images were
21    transparent.
22
23  - previously the probe step for freetype-config would fail on cygwin
24
25  - catch an invalid matrix parameter to convert() instead of crashing
26    https://rt.cpan.org/Ticket/Display.html?id=79922
27
28  - remove the 16-bit/sample limitation from the documentation for
29    setsamples(), it hasn't applied for many releases.
30    https://rt.cpan.org/Ticket/Display.html?id=79989
31
32  - don't copy setsamples() data parameter, it may be a large scalar
33    https://rt.cpan.org/Ticket/Display.html?id=79990
34
35  - clean up .dSYM directories generated performing probes on OS X
36    Mountain Lion.
37
38  - pass the --verbose command-line option through to Imager::Probe in
39    sub-module's Makefile.PLs
40    https://rt.cpan.org/Ticket/Display.html?id=75878
41
42 Enhancements:
43
44  - support for giflib 5.0. (5.0.1 and later)
45    https://rt.cpan.org/Ticket/Display.html?id=79029
46    The giflib API Imager uses doesn't have a mechanism to set the
47    header version in 5.0.0.
48
49  - update the GIF library probe code to check for the new giflib 5.0.1
50    EGifSetGifVersion() function, and to check for the giflib 4.2.0
51    uninitialized gif89 bug.
52    https://rt.cpan.org/Ticket/Display.html?id=79679
53    http://sourceforge.net/tracker/?func=detail&aid=3574283&group_id=102202&atid=631304
54
55  - avoid static variables when capturing IPTC data from JPEG files
56
57  - match Imager::Font;:T1's error message translations to those from
58    later versions of T1Lib.
59
60  - for libtiff versions that support extended warning handlers (3.8.0
61    or later), use them to avoid some global variables.
62
63  - note Image::ExifTool for better metadata support.
64    https://rt.cpan.org/Ticket/Display.html?id=79251
65
66 Imager 0.92 - 14 Aug 2012
67 ===========
68
69  - giflib 4.2 eliminates the GIF_LIB_VERSION macro, handle that
70    correctly for both probing and runtime.
71    https://rt.cpan.org/Ticket/Display.html?id=77672
72
73  - allow building JPEG/imexif.c on C89 compilers.
74
75  - allow building GIF/imgif.c on C89 compilers.
76
77 Imager 0.91 - 4 Jun 2012
78 ===========
79
80 Bug fixes:
81
82  - The size of rotated images is no longer rounded up so aggressively.
83    Added rounding to the linear interpolation done for rotate() and
84    matrix_transform() for 1 and 3 channel 8-bit images.
85    Adjusted the two tranlate matrices used to build the final rotation
86    matrix to use the distance between the outlier pixels rather than
87    the pixel dimensions (ie. dimension-1).
88    With all of this the output of rotate(degrees => 270) on an 8-bit
89    image exactly matches the output of rotate(right => 270).
90    https://rt.cpan.org/Ticket/Display.html?id=77063
91
92 Other changes:
93
94  - eliminate the old IIM_new(), IIM_DESTROY() names from Imager's
95    internals, those names only matter for the XS interface.
96
97  - improve error reporting when PERL_INITIALIZE_IMAGER_CALLBACKS finds
98    the API level compiled into a loadable module such as
99    Imager::File::GIF doesn't match that of Imager.  Previously it
100    could be difficult to determine exactly which module was failing to
101    load.
102    https://rt.cpan.org/Ticket/Display.html?id=77173
103
104  - added Imager->check_file_limits() as an interface to the
105    i_int_check_image_file_limits() API.
106
107  - Imager->set_file_limits(reset => 1) now resets the limits to the
108    defaults rather than setting them all to unlimited.
109
110  - wrote a brief security note as Imager::Security
111    https://rt.cpan.org/Ticket/Display.html?id=68910
112
113 Imager 0.90 - 30 Apr 2012
114 ===========
115
116 Bug fixes:
117
118  - Imager::Test::is_imaged() attempted to process an "epsilon"
119    parameter but the prototype didn't allow for the extra parameter.
120    Corrected the prototype.
121
122  - when downconverting samples (eg. from floating point to 8 bit)
123    Imager now rounds the sample value rather than attempting to
124    allocate input values over output values equally.  The old
125    behaviour had the probably surprising effect of converting a
126    floating point 2.1/255.0 into an 8-bit 3 rather than the expected
127    2.
128    This may result in slightly different 8 or 16-bit output images.
129
130  - BI_BITFIELD BMP images were handled incorrectly, both in
131    incorrectly calculating the space required for the masks and in
132    processing the image data itself.
133    https://rt.cpan.org/Ticket/Display.html?id=76736
134
135  - some odd width BMP BI_RLE4 images use run lengths that run one off
136    the edge of the image.  Imager now allows this, discarding the
137    extra column.
138
139  - odd length RLE4 runs in BMP images were decoded incorrectly.
140
141  - pkg-config could sometimes return a library that was in a directory
142    EU::MM / $Config{libpth} doesn't know about, but the compiler did.
143    If no -L is included in the pkg-config library information check if
144    EU::MM can find the library, and if not, search our configured
145    directories and insert that into the library flags.
146    https://rt.cpan.org/Ticket/Display.html?id=75869
147
148  - Imager::Probe can now probe for libraries with dependent libraries,
149    common for static linking, eg. libpng requires libz.
150    https://rt.cpan.org/Ticket/Display.html?id=74043
151
152  - libpng 1.5 specific probes were looking for libpng 1.4 filenames.
153
154  - added alternative probe configurations that try to link libz, to
155    handle a statically linked libpng.
156    https://rt.cpan.org/Ticket/Display.html?id=74043
157
158  - if a probe includes testcode, Imager::Probe now checks that code as
159    part of the process of checking each configuration rather than as a
160    post test of the found configuration.  This allows alternate
161    configurations to be checked if a matching but non-working
162    configuration is found.
163    https://rt.cpan.org/Ticket/Display.html?id=74043
164
165 Other changes:
166
167  - when reading or writing images via callbacks, the default callbacks
168    now push an error message indicating that a required callback was
169    called but not supplied.
170    https://rt.cpan.org/Ticket/Display.html?id=76782
171
172  - clarify which callbacks are required for reading and writing TIFF
173    images.
174
175  - improve logging for creation of callback I/O layers.
176
177  - a little more documentation for Imager::Probe.
178
179  - the i_get_file_background() and i_get_file_backgroundf() APIs now
180    return int to indicate whether the i_background tag was found.
181
182  - PNG rework
183    - improve error reporting
184    - add png_interlace, png_bits tags
185    - read paletted images as paletted images, including transparency
186    - read 1 bit greyscale images as a type suitable for other file
187      handlers to write as bilevel
188    - read 16 bit/sample PNG as 16-bit/sample Imager images
189    - write "bilevel" paletted images as 1 bit grayscale images
190    - write paletted images as paletted images
191    - write 16-bit (or higher)/sample images as 16-bit/sample PNG
192      images
193    - improved metadata support
194    https://rt.cpan.org/Ticket/Display.html?id=29268
195
196 Imager 0.89 - 18 Mar 2012
197 ===========
198
199 Bug fixes:
200
201  - getpixel(..., type => "float") and the API i_gpixf() have been
202    broken on paletted images since they were implemented.
203    https://rt.cpan.org/Ticket/Display.html?id=75258
204
205 Other changes:
206
207  - links in the METHOD INDEX now point at the method documentation
208    rather than the heading you can find them under.
209    https://rt.cpan.org/Ticket/Display.html?id=71495
210
211  - Imager (and the bundled dynamic modules) no longer fallback to
212    using DynaLoader if loading via XSLoader fails.
213    For the bundled modules this could hide useful error messages.
214    https://rt.cpan.org/Ticket/Display.html?id=75560
215
216  - IM_DEBUG_MALLOC mymalloc() no longer sn?printfs() a string to a
217    buffer in the array of allocations, but just stores the filename
218    pointer and line number.
219    https://rt.cpan.org/Ticket/Display.html?id=70388
220
221 Imager 0.88 - 22 Feb 2012
222 ===========
223
224  - describe how to build libgif etc on OS X in such a way as to be
225    compatible with a fat binary perl (such as the system perl), in
226    README.
227    https://rt.cpan.org/Ticket/Display.html?id=73371
228
229  - update the change notes for 0.77_01 to indicate that libungif
230    support was removed.
231
232  - add some other imaging modules to SEE ALSO
233    https://rt.cpan.org/Ticket/Display.html?id=73906
234
235  - note that the generator of the apparently non-DFSG-free postscript
236    in MMOne.pfb is a Debian package.
237
238  - setsamples() is now a true complement to getsamples() - it can
239    write 8-bit or floating point samples from a scalar or array
240    reference.  This adds i_psamp() and i_psampf() to the C level API.
241
242  - the XS interfaces to i_gsamp(), i_gsampf() and i_gsamp_bits() have
243    changed to make better use of the typemap, but these aren't part of
244    the perl level API anyway.  There were no changes to the C level
245    interfaces to these functions.
246
247  - getpixel() and setpixel() now accept a mix of scalar and array
248    references for the x and y parameters, and unequal array lengths is
249    no longer an error.
250    https://rt.cpan.org/Ticket/Display.html?id=73697
251
252 Bug fixes:
253
254  - correctly calculate the size of a rotated image
255    https://rt.cpan.org/Ticket/Display.html?id=69261
256
257  - fix incorrect rounding of color values for matrix_transform() and
258    rotate().
259    https://rt.cpan.org/Ticket/Display.html?id=69261
260
261  - Win32 text output is now done in normal combine mode, the alpha
262    component of the color is now significant.
263    https://rt.cpan.org/Ticket/Display.html?id=70014
264
265  - remove long unused gif case from read()
266    https://rt.cpan.org/Ticket/Display.html?id=69244 (partial)
267
268  - the getsamples() target parameter was being treated as a hashref
269    when it's meant to be an array reference.
270    https://rt.cpan.org/Ticket/Display.html?id=74882
271
272  - getpixel() and setpixel() now returns an empty list when invalid
273    parameters are supplied.
274    Invalid values for type now result in an error for getpixel().
275    https://rt.cpan.org/Ticket/Display.html?id=73697
276
277 Imager 0.87 - 03 Jan 2012
278 ===========
279
280  - document the return value of the filter() method.
281    https://rt.cpan.org/Ticket/Display.html?id=72369
282
283  - document i_gsamp_bits() and i_psamp_bits().
284    https://rt.cpan.org/Ticket/Display.html?id=68815
285
286  - properly increment the Imager::Matrix2d $VERSION.
287
288  - actually include the Imager::Test tests in the dist
289
290  - correctly read and write 256x256 pixel ICO files
291    https://rt.cpan.org/Ticket/Display.html?id=69599
292
293  - make the error message from read() or read_multi() when they can't
294    identify the file type match reality.
295    https://rt.cpan.org/Ticket/Display.html?id=72475
296
297  - read() now uses $FORMATGUESS if it can't determine the file type
298    based on the file header, to match read_multi().
299
300  - re-work and add tests for def_guess_type().  def_guess_type() no
301    longer returns any random file extension as the file type.
302
303  - add gray4, gray16 and gray as presets for make_colors.
304    https://rt.cpan.org/Ticket/Display.html?id=67911
305
306  - add make_palette() method that produces a palette from one or more
307    images.
308
309  - fix the Imager dependency for the separately distributed font
310    drivers.
311    https://rt.cpan.org/Ticket/Display.html?id=72643
312
313  - fix i_render_color() to properly draw in "normal" mode - ie. when
314    writing to a 1 or 3 channel image the second or fourth channel of
315    the source color was being ignored, it is now significant.
316    https://rt.cpan.org/Ticket/Display.html?id=71564
317
318 Imager 0.86 - 31 Oct 2011
319 ===========
320
321  - improve error reporting for W32 tests
322
323 Imager 0.85_02 - 24 Oct 2011
324 ==============
325
326 Bug fixes:
327
328  - eliminate unused i_gif_opts type (clean-up)
329    https://rt.cpan.org/Ticket/Display.html?id=69245
330
331  - fix combine=0 fill color anti-aliasing on the double/sample path
332    https://rt.cpan.org/Ticket/Display.html?id=71309
333
334  - make default text color non-transparent
335    https://rt.cpan.org/Ticket/Display.html?id=71469
336
337  - apply the last of the Debian unforwarded spelling fixes
338    https://rt.cpan.org/Ticket/Display.html?id=70656
339
340  - the log() method used its message parameter as a C level format
341    string.
342    https://rt.cpan.org/Ticket/Display.html?id=71653
343
344  - provide our own STRLEN typemap entry for older perls.
345    https://rt.cpan.org/Ticket/Display.html?id=71641
346
347  - add extra ppport.h configuration to support older perls.
348
349  - depend on Scalar::Util, since we use it and older perls don't have
350    it.
351
352  - add overloaded eq to Imager::Matrix2d, since older perls don't seem
353    to synthesize it from overloaded "".
354
355   - use T1_StrError() for error messages on modern libt1
356     https://rt.cpan.org/Ticket/Display.html?id=69879
357
358  - actually load the font rather than just adding it to the catalog on
359    creation.
360
361  - Imager::Font->new now produces better error messages for the T1
362    engine.
363
364  - the font has_chars() method now returns perl's true and false
365    values in list context rather than integers, which should be more
366    efficient.
367    https://rt.cpan.org/Ticket/Display.html?id=69158
368
369  - the btm data structure used by the flood_fill code is now
370    initialized more efficiently.
371    https://rt.cpan.org/Ticket/Display.html?id=68994
372
373  - updated the Thanks list in README
374    https://rt.cpan.org/Ticket/Display.html?id=71607
375
376  - check there's at least one coefficient for the convolution filter
377    https://rt.cpan.org/Ticket/Display.html?id=68993
378
379  - make the APIRef synopsis ordering consistent, older versions of
380    perl could order it differently.
381    https://rt.cpan.org/Ticket/Display.html?id=71675
382
383  - we rely on Config.pm's d_vsnprintf as to whether we use
384    vsnprintf/snprintf, which is defined in the Win32 Config.pm even
385    though it only has _ prefixed versions of these.  Define our own
386    prefixed names on Win32.
387    https://rt.cpan.org/Ticket/Display.html?id=71642
388
389  - fix library detection with MSVC
390
391  - search a few more library directories, so EU::MM doesn't discard
392    them.  Hopefully fixes:
393    https://rt.cpan.org/Ticket/Display.html?id=71643
394
395 Imager 0.85_01 - 10 Oct 2011
396 ==============
397
398  - add simple tests for the Imager::Test test_image generators
399
400  - io_glue I/O buffering re-work:
401
402    - reorganize io_glue to do it's own buffering by default
403
404    - the unbuffered functions are available as i_io_raw_read() (or
405      raw_read() from perl) etc but are not recommended for typical
406      use.
407
408    - use the new i_io_peekn() when checking for file magic to avoid
409      seek, allowing Imager to detect the file type and read the file
410      from an unseekable stream (for formats that don't use random
411      access)
412
413    - added several new I/O layer API functions.
414
415    - fix the TGA performance problem, most noticably on Win32
416      https://rt.cpan.org/Ticket/Display.html?id=70037
417
418    - TIFF now uses wrapper functions of the correct types to avoid casts
419      https://rt.cpan.org/Ticket/Display.html?id=69912
420
421    - the callback IO object did its own buffering, controlled by the
422      maxbuffer parameter supplied to the read() and write() methods.
423      This buffering has been removed, to avoid redundancy with the
424      common io_glue buffering.  This also avoids a bug in that code
425      which could rarely pass a zero length to the read callback and
426      then panic about the result.
427
428    - the callback IO object now tests the result of calling the close
429      callback, which should return true for success.
430
431    - the PNM reader did its own buffering.  This buffering has been
432      removed to avoid redundancy with the common io_glue buffering.
433
434    - previously the read handlers for fd and callback I/O layers would
435      call the underlying interface (POSIX read or your supplied callback)
436      until it filled the buffer.  It now only makes one call.
437
438    - added public constructors for I/O layer objects (see Imager::IO)
439
440    - all core file handlers now use the i_io_foo() wrappers to gain
441      access to buffered I/O rather than calling the I/O layer
442      callbacks directly.
443
444    - all core file handlers now check for error on close.
445
446    - Backward compatibility: if you hava custom file handlers, you can
447      use i_io_write() etc since they're available as macros in older
448      versions of Imager.
449
450    - eliminate the final remnants of io_glue_commit_types().
451
452    - bump IMAGER_API_VERSION, since the above may break assumptions.
453
454  - removed the long unused i_gen_reader() and i_gen_writer() utility
455    functions.
456
457 Imager 0.85 - 29 Aug 2011
458 ===========
459
460 The main changes in the release versus 0.84 are:
461
462  - on 64-bit systems, 64-bit types are consistently used for image
463    dimensions and co-ordinated, and for memory block sizes.
464
465  - handle IFD loops in TIFF files correctly.  Previously this would
466    lead to an infinite loop.
467
468 Bug fixes:
469
470  - fix the link in the getheight() entry in the method index
471
472 Imager 0.84_02 - 22 Aug 2011
473 ==============
474
475 Development release, this will become 0.85 if CPAN testers is
476 favourable.
477
478 Bug fixes:
479
480  - the image file limits set by set_file_limits() weren't being
481    checked when reading TIFF files.
482    https://rt.cpan.org/Ticket/Display.html?id=69915
483
484  - Provide more information about file format module load errors on a
485    failed image file read() or write().
486    https://rt.cpan.org/Ticket/Display.html?id=69194
487
488  - use TIFFReadDirectory() instead of TIFFSetDirectory() to iterate
489    through TIFF images, since it checks for IFD loops.
490    https://rt.cpan.org/Ticket/Display.html?id=69914
491
492  - don't leak memory when out of range palette indexes are supplied to
493    setscanline().
494    https://rt.cpan.org/Ticket/Display.html?id=69242
495
496  - require a later version of CPAN::Meta to ensure JSON::PP and
497    CPAN::Meta::YAML are available.
498    https://rt.cpan.org/Ticket/Display.html?id=69008
499
500  - hoist the per-line calculations for the flines implementations, and
501    modernize the tests a bit.
502    https://rt.cpan.org/Ticket/Display.html?id=70126
503
504  - detect snprintf()/vsnprintf() (cheat by using Config.pm) and use
505    them when available.
506    https://rt.cpan.org/Ticket/Display.html?id=69147
507
508  - if t1lib failed to reinitialize it would be left as marked
509    initialized.
510    https://rt.cpan.org/Ticket/Display.html?id=69877
511
512  - update the bundled (and still modified) Devel::CheckLib
513    https://rt.cpan.org/Ticket/Display.html?id=69170
514
515 Imager 0.84_01 - 8 Aug 2011
516 ==============
517
518 Development release as a sanity check for the types re-work.
519
520 Massive types re-work:
521
522  - the type used internally for pixel co-ordinates and image sizes is
523    now 64-bit on 64-bit platforms (at least sane ones).
524
525  - size_t is now used consistently for memory block sizes.
526
527  - since this changes the binary interface, the Imager API version has
528    been incremented.  Any module that uses the API will need to be
529    rebuilt.  In most cases that will be enough, but calls to any APIs
530    that take a pointer to image sizes may need source changes.
531
532  - you should be able to create very large images on 64-bit systems,
533    if you have enough memory.  Successfully created a 32768 x 49192 x
534    3 channel image, filled with a tiled image and scaled it.  The
535    unscaled image was also successfully saved to a JPEG.
536
537  - check the image size before attempting to write BMP, GIF, JPEG,
538    PNG, SGI, TGA, TIFF images.
539
540  - correctly handle reading TGA images over 32767 pixels wide or tall.
541
542 Incidental changes:
543
544  - the gif_left and gif_top tags are now clamped to non-negative
545    values when writing a GIF image.
546
547  - removed dead callback read/write code
548
549 The default maximum memory size when reading files is now 1G.
550
551 Imager 0.84 - 20 Jun 2011
552 ===========
553
554  - Imager no longer inherits from Exporter (unless you're running an
555    old, old perl.
556
557  - Imager can now write progressive JPEGs (it could always read them).
558    https://rt.cpan.org/Ticket/Display.html?id=68691
559
560 Bug fixes:
561
562  - re-work, document and test Imager's logging facility.
563    https://rt.cpan.org/Ticket/Display.html?id=65227
564
565  - fix META.yml testing and the generated META.yml
566    https://rt.cpan.org/Ticket/Display.html?id=65235
567
568  - test and add error reporting to to_*() family methods
569
570  - add to_rgb_double() method.
571    https://rt.cpan.org/Ticket/Display.html?id=65101
572
573  - Imager no longer exports anything by default
574    https://rt.cpan.org/Ticket/Display.html?id=65228
575
576  - convert colors to grayscale if the supplied (or generated) palette
577    contains only grays when performing error diffusion color
578    translation.
579    https://rt.cpan.org/Ticket/Display.html?id=68508
580
581  - writing a paletted image to GIF wouldn't always use the colors
582    supplied (or generated, eg. via make_colors => "mono"), which was
583    confusing at best.
584    https://rt.cpan.org/Ticket/Display.html?id=67912
585
586  - replace (imager|tony)@imager.perl.org in the doc, since I don't
587    plan to continue receiving mail at that address.
588    https://rt.cpan.org/Ticket/Display.html?id=68591
589
590 Imager 0.83 - 21 May 2011
591 ===========
592
593 Bug fixes:
594
595  - diag() the error message on failure for some TIFF tests that are
596    failing on a Solaris smoker.
597    http://www.cpantesters.org/cpan/report/6396db1e-8090-11e0-9682-112b785ebe45
598
599 Imager 0.82_01 - 17 May 2011
600 ==============
601
602 Dev release, in case the compose tests are too sensitive.
603
604 Bug fixes:
605
606  - Imager::Font::T1 incorrectly checked for absolute filename under
607    Win32.  Thanks to kmx for the report and fix.
608    https://rt.cpan.org/Ticket/Display.html?id=67963
609
610  - compose() with the target, source or mask position off the top or
611    left of the target image didn't clip the source image correctly.
612    https://rt.cpan.org/Ticket/Display.html?id=67220
613
614  - compose() now returns a useful error message on a non-positive
615    opacity.
616
617  - compose.im now at 100% test coverage. (As opposed to, umm, much,
618    much less.)
619
620 Imager 0.82 - 14 Mar 2011
621 ===========
622
623 Bug fixes:
624
625  - eliminate calls to i_has_format() from the test suite, since it's
626    no longer a useful way to check for file format support.  Eliminate
627    i_has_format() from the functions exposed via XS.
628    https://rt.cpan.org/Ticket/Display.html?id=65863
629
630  - eliminate calls to note(), which isn't in the (very old) version of
631    Test::More we have as a pre-requisite.  note() is modern enough
632    that I don't feel a need to require a Test::More upgrade for it.
633    https://rt.cpan.org/Ticket/Display.html?id=65864
634
635  - skip the threads tests on Test::More 2.00_*
636    https://rt.cpan.org/Ticket/Display.html?id=65812
637
638  - add an (unshipped) test to check Imager's internal POD links
639    https://rt.cpan.org/Ticket/Display.html?id=65749
640
641  - improve the library detection summary
642    https://rt.cpan.org/Ticket/Display.html?id=9675
643
644  - increase the version of Imager::Font::Type1 so that upgrades don't
645    downgrade the version in this file.
646    https://rt.cpan.org/Ticket/Display.html?id=66250
647
648  - if we see an -rpath (or -R) option in $Config{lddlflags} supply
649    that option for the directories that would normally go in
650    LD_RUN_PATH.  Typically an explicit -rpath overrides LD_RUN_PATH.
651    https://rt.cpan.org/Ticket/Display.html?id=65955
652
653 Imager 0.81 - 14 Feb 2011
654 ===========
655
656  - added coverage tests for masked images (maskimg.c @100% test coverage)
657
658  - add hsv() method to Imager::Color
659    Thanks to Leolo (Philip Gwyn)
660    https://rt.cpan.org/Ticket/Display.html?id=65385
661
662  - split libt1 Type 1 font support into a sub-module
663    https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
664
665  - add a preload() class method for use in forking servers, and to
666    work around limitations in PAR.
667    https://rt.cpan.org/Ticket/Display.html?id=65665
668
669 Bug fixes:
670
671  - paletted writes to a masked image are now masked correctly.
672    Revealed by new coverage tests.
673
674  - update the filter plugin documentation.
675    https://rt.cpan.org/Ticket/Display.html?id=56513
676
677  - add the matrix() method to Imager::Matrix2d to allow creation of a
678    matrix with specified co-efficients.  You can now multiple an
679    Imager::Matrix2d object by a 9 element array ref or a number.
680    https://rt.cpan.org/Ticket/Display.html?id=29938
681
682  - really fix loading TTF fonts with FT2 when FT1 isn't available.
683    Thanks to Leolo (Philip Gwyn)
684    https://rt.cpan.org/Ticket/Display.html?id=65386
685    https://rt.cpan.org/Ticket/Display.html?id=62855
686
687  - make sure each test script that needs testout/ creates it.
688    https://rt.cpan.org/Ticket/Display.html?id=65088
689
690  - handle a slightly different warning from libtiff 4.x
691    https://rt.cpan.org/Ticket/Display.html?id=65268
692
693  - the sat transform2() op returned an incorrect saturation.
694    https://rt.cpan.org/Ticket/Display.html?id=65391
695
696 Imager 0.80 - 17 Jan 2011
697 ===========
698
699  - added coverage tests for Imager::Fountain and Imager::Color::Float
700
701  - Imager is now maintained in git
702    http://git.imager.perl.org/imager.git
703    git://git.imager.perl.org/imager.git
704
705 Bug fixes:
706
707  - images with an translucent alpha channel were not scaled correctly
708    by the default (qtype=normal) scaling method.
709    https://rt.cpan.org/Public/Bug/Display.html?id=63922
710
711  - Imager::Color::Float now translates "#FFFFFF" to white instead of
712    just a little darker.
713
714  - make the default color map build algorithm "mediancut".  This
715    changes the default color map builder for writing GIFs back to what
716    it was in 0.77, reverting a performance regression.
717    https://rt.cpan.org/Ticket/Display.html?id=64785
718
719  - handle failure to create a masked image correctly
720
721 Imager 0.79 - 10 Dec 2010
722 ===========
723
724  - add Imager::Test to the POD coverage tests and document the missing
725    functions.
726
727  - the convert() method now optimizes the case where all output
728    channels are either 0, sourced from a single input channel or 1.
729    This significantly speeds up presets like "addalpha", "green".
730    https://rt.cpan.org/Ticket/Display.html?id=51254
731
732  - add wiggle.pl sample, as suggested by Dan Oppenheim.
733
734  - add the combine() method to combine channels from multiple source
735    images into a new image
736    https://rt.cpan.org/Ticket/Display.html?id=11872
737
738 Bug fixes:
739
740  - treat the co-efficients for convert() as doubles instead of floats.
741
742  - If a higher (earlier) priority font handler failed to load, that
743    would crash preventing loading of later font handlers.
744    https://rt.cpan.org/Ticket/Display.html?id=62855
745
746  - parse defines from the options returned by pkg-config --cflags
747    https://rt.cpan.org/Ticket/Display.html?id=63223
748
749  - a regen of the MANIFEST revealed that GIF and FT2 tests weren't
750    included in the tarball.  They are now included.
751
752 Imager 0.78 - 4 Oct 2010
753 ===========
754
755 Bug fixes:
756
757  - don't access deprecated members of the png_structp.
758    https://rt.cpan.org/Ticket/Display.html?id=60242
759
760  - document that using color objects is faster than supplying colors
761    by name, etc.
762    https://rt.cpan.org/Ticket/Display.html?id=61047
763
764  - Imager::Probe now accepts array references for incpath and libpath.
765    https://rt.cpan.org/Ticket/Display.html?id=60244
766
767 Imager 0.77_02 - 27 Sep 2010
768 ==============
769
770  - moved Win32, FreeType 2 font support into sub-modules.
771    https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
772    Uses Imager::Probe now.
773    https://rt.cpan.org/Public/Bug/Display.html?id=61328
774
775  - tested successfully with jpeg-8b
776    https://rt.cpan.org/Ticket/Display.html?id=60221
777
778 Bug fixes:
779
780  - from _01: look for missing file support test files in the right
781    places.
782
783  - flood_fill() wouldn't fill the right side of a single scan-line
784    fill area.
785    Thanks to Nicolas Roggli for reporting this.
786
787  - flood_fill wouldn't fill to the left edge of the image if the
788    starting line didn't reach the left edge.
789    Thanks to Nicolas Roggli for reporting this.
790
791 Imager 0.77_01 - 13 Sep 2010
792 ==============
793
794  - add each library-directory/pkgconfig/ to the pkg-config search path
795    in Imager::Probe.
796    Thanks to Justin Davis.
797    https://rt.cpan.org/Ticket/Display.html?id=60491
798
799  - moved GIF, TIFF, JPEG file handling code into sub-modules in
800    preparation for separate distribution.
801    https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
802
803    Note: this removed support for libungif from Imager.
804
805  - optimize filled box drawing (color, not fill)
806
807 Bug fixes:
808
809  - Imager::Probe was calling ExtUtils::Liblist to initialize
810    LD_RUN_PATH supplying an undefined value rather than the found
811    directory.  Thanks to Justin Davis.
812    https://rt.cpan.org/Ticket/Display.html?id=60491
813
814  - only prepend ./ to font filenames when passing them to T1Lib and
815    then only when it would use its search mechanisms.
816    https://rt.cpan.org/Ticket/Display.html?id=60509
817
818  - fix the cache check for the X rgb.txt loader.  This is typically
819    used for color translation on Unix-like systems, and the fix
820    improves performance of supplying colors by name by about 80 times.
821    Test code that managed 3400 10x10 pixel boxes/second sped up to
822    25700 boxes/second.
823
824  - clarify that Imager doesn't write EXIF metadata to images.
825    https://rt.cpan.org/Ticket/Display.html?id=60637
826
827  - Imager::Probe can now search subdirectories under its include path.
828    Used by the PNG Makefile.PL to find headers and libraries when they
829    aren't in the base directory, as in cygwin.
830    https://rt.cpan.org/Ticket/Display.html?id=60635
831
832 Imager 0.77 - 11 Aug 2010
833 ===========
834
835 I don't want Imager::File::PNG indexed as part of Imager, but forgot
836 to update the META.yml before updating the version.
837
838  - don't index Imager::File::PNG as part of Imager
839
840  - add resources to META.yml
841
842 Imager 0.76 - not released
843 ===========
844
845 Bug fixes:
846
847  - the align_string() method would ignore a string of "0" due to a
848    mis-use of C< ||= >.
849    Thanks to Maurice Height for reporting this.
850    https://rt.cpan.org/Ticket/Display.html?id=60199
851
852 Imager 0.75_03 - 09 Aug 2010
853 ==============
854
855 Bug fixes:
856
857  - read_types() and write_types() would include png when it wasn't
858    available due to a problem with the %formats tie
859
860  - handle dependent libraries correctly (eg -lpng requiring -lz) in
861    the code run phase of library probing.
862
863 Imager 0.75_02 - 07 Aug 2010
864 ==============
865
866 Bug fixes:
867
868  - add file missing from MANIFEST, which was causing TIFF failures.
869
870 Imager 0.75_01 - 06 Aug 2010
871 ==============
872
873 Test release for the new PNG probe.
874
875  - added the ability to read multiple-image PNM files.
876    Note that unlike the pbm/pgm/ppm specification this accepts mixed
877    format files and allows white space padding between files.
878    Thanks to Philip Gwyn (Leolo) for this patch.
879
880  - moved the PNG file handling code into a sub-module in preparation
881    for separate distribution.
882    https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
883    Also helps avoid complications from -I/-L compile/link options from
884    other libraries.
885
886 Bugs:
887
888  - Imager->new(data => $data) didn't try to process image file data in
889    $data
890    https://rt.cpan.org/Ticket/Display.html?id=58761
891
892  - t/t50basicoo.t no longer depends on the other tests to generate its 
893    input files.
894    https://rt.cpan.org/Ticket/Display.html?id=9798
895    Also, it wasn't testing pnm (pnm vs ppm mix-up)
896
897  - update the documentation of hardinvert to match the change in 0.62.
898    https://rt.cpan.org/Ticket/Display.html?id=59785
899
900  - added hardinvertall filter which also inverts the alpha channel
901    (sorry for the mess)
902
903  - when probing for TIFF, set LD_RUN_PATH just as the Makefile does so
904    the probe can find the library for the test run.
905    https://rt.cpan.org/Ticket/Display.html?id=57518
906
907 Imager 0.75 - 20 Jun 2010
908 ===========
909
910  - use PERL_NO_GET_CONTEXT to slightly improve performance on threaded
911    perls (not measured)
912
913 Bugs:
914
915  - an opacity fill based on a fountain fill would segfault when
916    filling an 8-bit/sample image.
917
918  - merge thickline branch polygon fix
919    https://rt.cpan.org/Ticket/Display.html?id=43518
920
921 Imager 0.74 - 7 May 2010
922 ===========
923
924 Bug fixes:
925
926  - read_multi() didn't handle a missing file format library correctly,
927    aborting on failing to call i_readgif_multi_wiol() or
928    i_readtiff_multi_wiol().
929
930  - fix spelling errors patched by Debian
931    http://svn.debian.org/viewsvn/pkg-perl/trunk/libimager-perl/debian/patches/spelling.patch?revision=54839&view=markup
932
933  - add an (unshipped) author test to spellcheck Imager's POD.
934
935  - update the TIFF file format documentation
936    https://rt.cpan.org/Ticket/Display.html?id=56510
937
938  - lib/Imager/IO.pod was written almost 4 years ago but never shipped.
939
940 Imager 0.73 - 15 Mar 2010
941 ===========
942
943  - implement outline circles, both anti-aliased and not
944    https://rt.cpan.org/Ticket/Display.html?id=19755
945
946  - a combine => "none" fill to a 1 or 3 channel image would produce
947    the incorrect colour.
948
949 Imager 0.72 - 09 Dec 2009
950 ===========
951
952 Bump version for release, since 0.71_03 is stable with CPAN testers.
953
954 Imager 0.71_03 - 5 Dec 2009
955 ==============
956
957  - further adjust the threads test so it only performs the tests on
958    perls where it's expected to work, and only if the threads module
959    can be loaded.
960
961 Imager 0.71_02 - 1 Dec 2009
962 ==============
963
964  - adjust the way we load the threads module for the threads test so
965    it works with non-threaded perls
966
967 Imager 0.71_01 - 30 Nov 2009
968 ===========
969
970 Bug fixes:
971
972  - use scanline oriented operations to flip images instead of pixel
973    operations
974    https://rt.cpan.org/Ticket/Display.html?id=39278
975
976  - use double/sample operations to flip large sample images instead of
977    8-bit sample operations.
978    https://rt.cpan.org/Ticket/Display.html?id=39280
979
980  - fix POD nits
981    https://rt.cpan.org/Ticket/Display.html?id=51874
982
983  - prevent double-frees when someone creates Imager objects and then
984    creates a thread.  Note: this just handles some simple cases,
985    Imager doesn't support perl threads, and isn't likely to.
986    https://rt.cpan.org/Ticket/Display.html?id=52268
987
988 Imager 0.71 - 16 Nov 2009
989 ===========
990
991  - add the opacity fill type - an adaptor that modifies the opacity of
992    another fill.
993
994 Bug fixes:
995
996  - the conv filter now enforces that the sum of the coefficients is
997    non-zero.  Also, rather than skipping pixels off the edge off the
998    edge of the image, the closest edge pixel is used.  Previously
999    dividing by the zero sum of coefficients could cause invalid
1000    results or runtime exceptions.
1001    Thanks to David Cantrell's Alpha-NetBSD CPAN test box for revealing
1002    this bug.
1003
1004 Imager 0.70 - 21 Sep 2009
1005 ===========
1006
1007 Bug fixes:
1008
1009  - release image row and comments memory on all error returns in gif
1010    reader
1011
1012  - handle zero length extensions, previously this would cause a null
1013    pointer dereference
1014    Thanks to Krzysztof Wojtaś for the test data and fix for this.
1015
1016  - an integer division meant that preview scaling to below 1 pixel
1017    wide or high (which isn't too useful anyway) was calculating using
1018    NaNs on most platforms, and causing an exception on others.
1019    Thanks to David Cantrell for producing a backtrace of the crash on
1020    his Alpha-NetBSD CPAN test box which made it possible to track this
1021    down.
1022
1023 Imager 0.69 - 08 Sep 2009
1024 ===========
1025
1026 Bug fixes:
1027
1028  - broken test fix - was attempting to call a function skip_all, when
1029    that should be a parameter to plan().
1030
1031  - briefly document apidocs.perl, the tool used to build
1032    Imager::APIRef and make some minor enhancements
1033
1034  - various minor documentation enhancements and fixes.
1035
1036 Imager 0.68 - 07 Sep 2009
1037 ===========
1038
1039  - Imager->new(file => $filename) and other similar incantations will
1040    load the given file.
1041    https://rt.cpan.org/Ticket/Display.html?id=48261
1042
1043 Bug fixes:
1044
1045  - avoid using CHECK as a label in Imager::Test
1046    http://nntp.x.perl.org/group/perl.cpan.testers/5220921
1047
1048  - re-work most image file test files that require a library into
1049    separate library present/not present files to remove stupidly long
1050    conditionals
1051
1052  - don't treat rubthrough() outside the bounds of the target image as
1053    an error.
1054    http://nntp.x.perl.org/group/perl.cpan.testers/5185716
1055
1056 Imager 0.67_01 - 02 Sep 2009
1057 ==============
1058
1059 Bug fixes:
1060
1061  - correct documentation of default of raw image interleave read
1062    parameter
1063    https://rt.cpan.org/Ticket/Display.html?id=42074
1064
1065  - add raw_ prefix to raw read parameters, though the original names
1066    still work.
1067
1068  - fail the read if an invalid raw_interleave parameter is supplied
1069
1070  - warn if no interleave or raw_interleave parameter is supplied,
1071    since the documented default was wrong, and incompatible with the
1072    write format
1073
1074  - for reading raw images, if raw_storechannels > raw_datachannels,
1075    set the extra channels in the image to 0
1076
1077  - when probing for executables like freetype-config, search for .bat
1078    and .cmd on MSWin32, as well as .exe.
1079    https://rt.cpan.org/Ticket/Display.html?id=49275
1080
1081  - re-work the external libraries section of README:
1082    - list Debian and Redhat package names for each library
1083    - reformatting
1084    - update URLs
1085
1086  - use the new EU::MM META_MERGE facility instead of generating
1087    META.yml from scratch
1088    https://rt.cpan.org/Ticket/Display.html?id=47888
1089
1090  - use Devel::CheckLib (bundled, modified) to check which release of
1091    libtiff is installed and reject 3.9.0
1092    http://bugzilla.maptools.org/show_bug.cgi?id=2088
1093    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543079
1094
1095 Imager 0.67 - 12 Dec 2008
1096 ===========
1097
1098 Bug fixes:
1099
1100  - fix a packaging error
1101
1102 Imager 0.66 - 12 Dec 2008
1103 ===========
1104
1105  - 24-bit color .ICO/.CUR files can now be read.
1106
1107 Bug fixes:
1108
1109  - an optimization skipping 0 src alpha values could cause the
1110    rubthrough() to read past the end of a buffer.
1111    http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1509184.html
1112
1113  - corrected a reference leak where writing GIFs would leak memory.
1114    This could also happen calling to_paletted().
1115    Also documented the underlying long existing feature where the
1116    colors parameter is filled with the generated color table and added
1117    tests for it.
1118    http://rt.cpan.org/Ticket/Display.html?id=41028
1119
1120  - write out the image size in bytes field of a BMP correctly.
1121    http://rt.cpan.org/Ticket/Display.html?id=41406
1122
1123  - add limited tests for Imager::ExtUtils
1124
1125  - make Imager::ExtUtils->includes use an absolute path, since
1126    a relative path could cause failures using Inline::C.
1127    http://rt.cpan.org/Ticket/Display.html?id=37353
1128
1129  - re-arrange the POD for Imager::Font::BBox:
1130    - mark total_width(), pos_width(), end_offset() obsolete, since
1131      they're mostly for backwards compatibility
1132    - group width methods and height methods
1133    https://rt.cpan.org/Ticket/Display.html?id=39999
1134
1135 Imager 0.65 - 20 May 2008
1136 ===========
1137
1138 Bug fixes:
1139
1140  - In some cases when an error occurs reading those parts of a JPEG
1141    file after the image the scan-line buffer could be freed a second
1142    time.  In cases where the the error occured while reading the image
1143    data it's possible that the buffer could have leaked.
1144    Thanks to Gabriel Vasseur for reporting this and help in tracking
1145    it down.
1146
1147  - the gif_screen_height tag was overriding the screen width and being
1148    ignored for the screen height when present.
1149    https://rt.cpan.org/Public/Bug/Display.html?id=35568
1150
1151 Imager 0.64 - 23 April 2008
1152 ===========
1153
1154 This is a bug fix release.  This includes a fix for a possible
1155 security issue.
1156
1157 Bug fixes:
1158
1159  - Possible security issue: The floating point sample path for image
1160    based fills had a buffer overflow.  This would overwrite the end of
1161    a malloc()ed buffer with double precision floats.
1162    http://rt.cpan.org/Ticket/Display.html?id=35324
1163    CVE-2008-1928
1164
1165  - check that the result of fileno($fh) is defined rather than simply
1166    true when read() or write() is supplied with an fh parameter.
1167    http://rt.cpan.org/Ticket/Display.html?id=35139
1168
1169  - i_scale_axis() wasn't checking the result of i_img_new_ch()
1170    resulting in a SIGSEGV when attempting to scale an image to a size
1171    too large to fit in memory.  This is a NULL pointer access issue,
1172    not a buffer overflow.
1173    Added a check for the failure.
1174    scale_calculate() (and hence scale()) will now fail if any of the
1175    scale size parameters are a reference.
1176    http://rt.cpan.org/Ticket/Display.html?id=35172
1177
1178  - Regression: filling a greyscale image with a hatch used the wrong
1179    color channels from the supplied fg/bg colors.
1180    https://rt.cpan.org/Ticket/Display.html?id=35278
1181
1182  - fixed a related problem for image fills.
1183
1184 Imager 0.63 - 7 April 2008
1185 ===========
1186
1187 This release primarily contains changes to improve ease of use -
1188 rather than you having to convert images to the appropriate number of
1189 channels, Imager handles it internally.  How to handle drawing colors
1190 and the default combine mode is a thornier problem left for some other
1191 release.
1192
1193  - the font libraries are now only initialized when needed.
1194    http://rt.cpan.org/Ticket/Display.html?id=28825
1195
1196  - moved the imtoc.perl code into Imager::Preprocess
1197
1198  - paste() and rubthrough() now adapt the source image data to the
1199    destination, so you can now safely paste/rubthrough from greyscale
1200    images to color images or back, or from alpha channel images to
1201    noalpha channels or back.
1202    https://rt.cpan.org/Ticket/Display.html?id=30908
1203
1204  - rubthrough() now falls back to pasting when the source doesn't have
1205    an alpha channel.  This effectively treats the source as having a
1206    max alpha channel, the right thing to do.
1207    http://rt.cpan.org/Ticket/Display.html?id=29944
1208
1209  - re-worked most of the area filling code to use a common set of
1210    functions when filling.
1211    Corrected normal combine mode.
1212    Rewrote most of the combine modes to match the way the SVG draft
1213    defines them with respect to a translucent source and destination.
1214    Added tests for translucent source and destination.
1215    Added tests to check 8-bit/sample and double/sample combines work
1216    similarly.
1217    https://rt.cpan.org/Ticket/Display.html?id=29879
1218
1219  - writing a 2 or 4 channel image to a JPEG file will now write that
1220    image as if composited against a background, black by default,
1221    overridable with the i_background tag/parameter.
1222    https://rt.cpan.org/Ticket/Display.html?id=29876
1223
1224  - writing a 2 or 4 channel image to a PGM/PPM file will now write
1225    that image as if composited against a background, black by default,
1226    overridable with the i_background tag/parameter.
1227    http://rt.cpan.org/Ticket/Display.html?id=30074
1228
1229  - writing a 2 or 4 channel image to a BMP file will now write that
1230    image as if composited against a background, black by default,
1231    overridable with the i_background tag/parameter.
1232    http://rt.cpan.org/Ticket/Display.html?id=30075
1233
1234 Bug fixes:
1235
1236  - Imager::Matrix2d->translate() now only requires one of the x or y
1237    parameters.
1238    http://rt.cpan.org/Ticket/Display.html?id=29937
1239
1240  - mixing qtype scaling now sets all channels of a pixel to zero if
1241    the pixel has zero coverage (zero alpha).  This should produce more
1242    compressible output files.
1243    http://rt.cpan.org/Ticket/Display.html?id=32324
1244
1245  - removed the pointless #! line from lib/Imager/Font/Wrap.pm
1246    Noticed when I saw:
1247    https://bugzilla.redhat.com/show_bug.cgi?id=166254
1248    I'm not changing the #! lines of the sample code, since it's sample
1249    code, not intended for installation.
1250    http://rt.cpan.org/Ticket/Display.html?id=33408
1251
1252  - some TGA images weren't being detected correctly as TGA images
1253    https://rt.cpan.org/Ticket/Display.html?id=32925
1254
1255  - handling of the left-over bit for 16-bit/pixel TGA images has been
1256    changed to match the behaviour of the GIMP.  Previously the bit
1257    being set was treated as an opaque pixel, but one user reported a
1258    problem with loading such an image.  I haven't been able to find any
1259    tools beyond the GIMP that handle alpha-channel 16-bit TGAs, so
1260    I'll match it's behaviour.  See issue 114913 in the GIMP's
1261    bugzilla.
1262    http://rt.cpan.org/Ticket/Display.html?id=32926
1263
1264 Imager 0.62 - 10 December 2007
1265 ===========
1266
1267  - Makefile.PL now expands ~/path supplied to --incpath or --libpath
1268    to /path under your home directory.
1269    http://rt.cpan.org/Ticket/Display.html?id=29484
1270
1271  - the old dynaload code used Mach API functions to load dynamic
1272    libraries on Mac OS X.  These APIs have been deprecated in OS X
1273    10.5 and were causing some build problems.
1274    So henceforth Imager uses the dlopen() family of functions, and you 
1275    will need version 10.3 or later of OS X.
1276
1277  - added the det() function to the transform2() engine.
1278    added the sample quad_to_square.pl
1279    Courtesy Richard Fairhurst.
1280    http://rt.cpan.org/Ticket/Display.html?id=31244
1281
1282 Bug fixes:
1283
1284  - samples/gifscale.pl sourced the base value for gif_top from
1285    gif_left.
1286    Thanks to Eleneldil G. Arilou for pointing this out.
1287
1288  - t/t82inline.t no longer loads B at runtime, to work around a bug
1289    in some 5.005_0[45] installations.
1290    http://rt.cpan.org/Ticket/Display.html?id=30508
1291
1292  - work around Module::Depends::Intrusive bug #21229
1293    http://rt.cpan.org/Ticket/Display.html?id=30520
1294
1295  - the hardinvert filter no-longer inverts the alpha channel.
1296    http://rt.cpan.org/Ticket/Display.html?id=30002
1297
1298  - the hardinvert filter now supports large samples
1299
1300 Imager 0.61_02 - 28 November 2007
1301 ==============
1302
1303  - major TIFF support re-work
1304    http://rt.cpan.org/Ticket/Display.html?id=20329
1305
1306  - added a C level image interface for accessing samples from 1-32
1307    bits, exposed this at the perl level in getsamples()
1308
1309  - the conv filter now works at floating point precision for high bit
1310    images
1311
1312  - added is_bilevel method to test whether an image should be written as
1313    a bilevel image if the image format supports it.
1314
1315  - added -log-stderr as an Imager import list option
1316
1317  - added some important types to Imager::APIRef
1318
1319  - added test_image_double() to Imager::Test
1320
1321 Bug fixes:
1322
1323  - Imager::Fountain couldn't read GIMP gradient files with 10 or more
1324    segments
1325
1326  - the scale() method with qtype mixing now handles images with an
1327    alpha channel correctly.
1328
1329  - fixed a broken link from the "animated GIF" entry in the concept index.
1330    Thanks to Slaven Rezic.
1331    http://rt.cpan.org/Ticket/Display.html?id=30889
1332
1333  - on some perl's the infix expression parser test would fail due to
1334    actions in the grammar returning false.  Made sure all actions return
1335    a true value.
1336    Thanks to Richard Fairhurst for spending a lot of time in tracking
1337    down this problem.
1338    http://rt.cpan.org/Public/Bug/Display.html?id=29562
1339
1340 Imager 0.61 - 5 November 2007
1341 ===========
1342
1343  - added samples/gifscale.pl, which adjusts the screen size/position tags
1344    when scaling an animated gif
1345    http://rt.cpan.org/Ticket/Display.html?id=27591
1346
1347 Bug fixes:
1348
1349  - correct handling of sz in matrix_transform() - this should allow
1350    perspective type transformations to work now.
1351    http://rt.cpan.org/Ticket/Display.html?id=29936
1352
1353  - prevent a cast to integer warning on x64 builds in datatypes.c
1354    also fixed some other type warnings
1355    https://rt.cpan.org/Ticket/Display.html?id=30204
1356
1357  - some sub-directory tests depended on files produced by the parent
1358    directory tests
1359    http://rt.cpan.org/Ticket/Display.html?id=30203
1360
1361  - Imager::Font::Wrap doesn't correctly set savepos
1362    thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this.
1363    http://rt.cpan.org/Ticket/Display.html?id=29771
1364
1365  - test 171 in t/t01introvert.t was failing on perls configured to
1366    use long double.
1367    http://rt.cpan.org/Ticket/Display.html?id=29413
1368
1369  - the code for the transform2() uminus operator was missing a break.
1370    Added tests for better code coverage of the ops.
1371    http://rt.cpan.org/Ticket/Display.html?id=29296
1372
1373  - the SGI RLE compression code could overflow its compression buffer
1374    http://rt.cpan.org/Ticket/Display.html?id=30334
1375
1376  - the 32-bit output function used by the SGI code only handled values
1377    under 0x10000.  This was most noticable when writing large RLE images.
1378    http://rt.cpan.org/Ticket/Display.html?id=30335
1379
1380  - validate chan_count for chans == NULL for each of the i_gsamp()
1381    implementations.
1382    http://rt.cpan.org/Ticket/Display.html?id=28985
1383
1384  - attempt to work around the test failure at 
1385    http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html
1386    http://rt.cpan.org/Ticket/Display.html?id=29562
1387
1388  - improve the error messages produced when attempting to read or write
1389    an unknown image file format.
1390    http://rt.cpan.org/Ticket/Display.html?id=30103
1391
1392  - improve the transform2() documentation
1393    http://rt.cpan.org/Ticket/Display.html?id=29267
1394
1395  - correctly generate the author key in META.yml
1396    http://rt.cpan.org/Ticket/Display.html?id=30377
1397
1398  - correctly blend a rotated (or matrix_transformed()) image when
1399    performing interpolation in the presence of an alpha channel.
1400    Also corrected the centring of the rotated image on the output
1401    image.
1402
1403 Imager 0.60 - 30 August 2007
1404 ===========
1405
1406  - Finished/rewrote Arnar's old SGI RGB file format support, so Imager
1407    now has full SGI RGB image format, including RLE and 16-bit/sample
1408    images.
1409    https://rt.cpan.org/Ticket/Display.html?id=8666
1410
1411  - logging functions are now available in the API
1412
1413  - applied Gabriel Vasseur's patch
1414    added documentation, further tests, and support for greyscale images
1415    Obviously problems are my fault :)
1416    https://rt.cpan.org/Ticket/Display.html?id=28142
1417
1418  - the mask for ICO/CUR images is now applied as an alpha channel to
1419    the returned image.  For the old behaviour, supply ico_masked => 0
1420    to read() or read_multi().  This should be less confusing when
1421    using Imager as a general image processor.
1422    https://rt.cpan.org/Ticket/Display.html?id=29001
1423
1424 Bug fixes:
1425
1426  - in some cases it's possible for giflib/libungif to return color 
1427    indexes outside the range of colors defined by the image's palette.
1428    We now expand the palette to match the indexes used.
1429    Thanks to Gabriel Vasseur for reporting this.
1430
1431  - fixed various memory leaks that could occur when failing to read png,
1432    jpeg, bmp or tga files.
1433
1434  - to avoid confusion, channels not present in the image are returned as
1435    zero by getscanline().  This has no effect on the C level i_glin()
1436    and i_glinf() API functions which continue to not set the unused
1437    channels.
1438
1439  - the convert() method now returns an image of the same sample size as
1440    the source image.
1441    https://rt.cpan.org/Ticket/Display.html?id=28492
1442
1443  - remove repeated text in Imager::Files
1444    http://rt.cpan.org/Ticket/Display.html?id=27589
1445
1446  - be even more explicit that scale() and friends don't modify the source
1447    image, but return a new image.
1448    http://rt.cpan.org/Ticket/Display.html?id=28570
1449
1450  - improve the error message from errstr() when you try to load a font
1451    for which the driver hasn't been built in Imager.
1452    http://rt.cpan.org/Ticket/Display.html?id=27571
1453
1454  - transparency is now enabled by default when writing GIF images
1455    http://rt.cpan.org/Ticket/Display.html?id=27615
1456
1457  - Imager would not load on Windows 98
1458    http://rt.cpan.org/Ticket/Display.html?id=27653
1459
1460 Imager 0.59 - 14 June 2007
1461 ===========
1462
1463 Bug fixes:
1464
1465  - fixes a regression introduced by the fixes for RT 11972
1466    http://rt.cpan.org/Ticket/Display.html?id=27546
1467
1468  - cropping outside the image would return an Imager object with
1469    no low-level image object, instead of returning false.
1470    Fixed by: Philip Gwyn (Leolo)
1471    http://rt.cpan.org/Ticket/Display.html?id=27509
1472
1473 Imager 0.58 - 16 May 2007
1474 ===========
1475
1476 No significant changes from 0.57_01.
1477
1478 Imager 0.57_01 - 11 May 2007
1479 ==============
1480
1481  - added to_rgb16 to produce a 16-bit/sample version of an image
1482
1483  - improve freetype 1.x text output efficiency
1484
1485 Bug fixes:
1486
1487  - search another place for rgb.txt, and check all the places 
1488    Imager::Color checks when deciding whether to skip testing it
1489    http://rt.cpan.org/Ticket/Display.html?id=26064
1490
1491  - use a convolution kernel size based on the stddev rather than a
1492    fixed size when performing a gaussian blur
1493    http://rt.cpan.org/Ticket/Display.html?id=25645
1494
1495  - document the difference() method's mindist parameter, and debug it.
1496
1497  - put the Imager release number in the Inline::C generated code to
1498    regenerate Inline code when a new release of Imager is installed.
1499    http://rt.cpan.org/Ticket/Display.html?id=26278
1500
1501  - fix rendering on alpha channel images for the FreeType 1.x driver.
1502    http://rt.cpan.org/Ticket/Display.html?id=11972
1503
1504  - fix rendering on alpha channel images for the T1lib driver.
1505    http://rt.cpan.org/Ticket/Display.html?id=11972
1506
1507  - reworked library probing, we can now set more than one probe
1508    function for a library.  Disabled the default (non-freetype-config)
1509    library probe and added an extra probe function that searches for
1510    both ft2build.h and whatever it includes, and adds -I as needed.
1511    Hopefully this will fix build problems like
1512    http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html
1513    http://rt.cpan.org/Ticket/Display.html?id=26086
1514
1515 Imager 0.57 - 30 Apr 2007
1516 ===========
1517
1518 This is a maintenence release fixing a security issue in Imager.
1519
1520  - CRITICAL: a specially crafted compressed BMP file can cause a buffer
1521    overflow in malloced memory.  There will be further discussion of
1522    this issue in the ticket below.
1523    http://rt.cpan.org/Ticket/Display.html?id=26811
1524    CVE-2007-2459  CVE-2007-2413
1525    The descriptions at cve.mitre.org varied in quality, please see the
1526    ticket at rt.cpan.org for a more accurate description of the issue.
1527
1528 Imager 0.56 - 1 Apr 2007
1529 ===========
1530
1531  - added support for reading 16-bit/sample PGM/PPM images
1532
1533  - added support for writing 16-bit/sample PGM/PPM images
1534
1535  - improved performance of reading PBM/PGM/PPM images
1536
1537  - added support for writing PBM images if the image is paletted and
1538    contains only black and white
1539
1540  - added a new make_colors value - "mono"
1541
1542  - switched from the svn log Changes to a manual Changes to reduce
1543    noise
1544
1545  - new sample code - samples/flasher.pl
1546
1547 Bug fixes:
1548
1549  - CRITICAL: the "Imager" typemap entry (not used by Imager itself)
1550    was returning an image object with an extra reference, this
1551    resulted in a memory leak.
1552    http://rt.cpan.org/Ticket/Display.html?id=24992
1553
1554  - fix rendering on alpha channel images for the FreeType 2.x driver
1555    http://rt.cpan.org/Ticket/Display.html?id=11972
1556
1557  - reading bmp files now consitently handles short reads.  You can now
1558    supply a parameter to treat a short read as successful and set
1559    i_incomplete
1560    http://rt.cpan.org/Ticket/Display.html?id=8426
1561
1562  - previously, reading ASCII PBM files required spaces between samples,
1563    even though the format doesn't require that
1564
1565  - improved documentation of the unsharpmask filter (I hope)
1566    http://rt.cpan.org/Ticket/Display.html?id=25531
1567
1568  - force flushing of the output from i_tt_dump_names() and test output
1569    in t/t35ttfont.t to prevent output from being mixed up.
1570    https://rt.cpan.org/Ticket/Display.html?id=24859
1571
1572  - rewrite a conditional expression as an if() to hopefully work around
1573    a bug in the pre-4.0 GCC Apple shipped with OS X 10.4.
1574    https://rt.cpan.org/Ticket/Display.html?id=25561
1575
1576  - avoid Data::Dumper in regops.perl to support older releases of perl
1577    https://rt.cpan.org/Ticket/Display.html?id=24391
1578
1579 Imager 0.55 - 16 Dec 2006
1580 ===========
1581
1582 This is primarily a bug fix release.
1583
1584 Note: Test::More is now a pre-requisite for Imager and is no longer bundled.
1585
1586 There is one new feature:
1587
1588  - the Win32 font driver now supports UTF8 (RT 22166)
1589    http://www.cpanforum.com/threads/3276
1590    http://rt.cpan.org/Ticket/Display.html?id=22166
1591
1592 Several bugs were fixed:
1593
1594  - the string() method would not output the string "0"
1595    http://rt.cpan.org/Public/Bug/Display.html?id=21770
1596
1597  - fills.c was failing to compile on Solaris 10 (compiler unknown)
1598    http://rt.cpan.org/Public/Bug/Display.html?id=21944
1599
1600  - the gif_disposal and gif_user_input tags weren't being read from
1601    the file correctly
1602    http://rt.cpan.org/Public/Bug/Display.html?id=22192
1603
1604  - gif.c was failing to build under MSVC
1605    http://rt.cpan.org/Ticket/Display.html?id=23922
1606
1607  - in some cases strings passed to the string() method were treated as
1608    terminated by NUL (chr 0)
1609    http://rt.cpan.org/Public/Bug/Display.html?id=21770
1610
1611  - on "MSWin32" perl builds we now link to -lzlib instead of -lz since
1612    that's the default build name for zlib on Win32.
1613    http://rt.cpan.org/Ticket/Display.html?id=23064
1614
1615  - search $Config{incpath} for headers too, which we should have been
1616    doing all along.
1617
1618 Win32 font driver fixes:
1619
1620  - the global descent value from bounding box was the wrong sign
1621    http://www.cpanforum.com/threads/3276
1622
1623  - if the first or last glyph overflowed the left or right side of the
1624    advance width they would be clipped
1625
1626
1627 Imager 0.54 - 14 Sep 2006
1628 ===========
1629
1630 This is primarily a feature release:
1631
1632  - a new qtype value 'mixing' has been added to the scale()
1633    method. This is faster than 'normal', slower than 'preview'. This
1634    is based on the method used by pnmscale, and seems to produce less
1635    blurry results than normal.
1636    http://rt.cpan.org/Public/Bug/Display.html?id=20677
1637
1638  - the rubthrough() method can now render onto images with an alpha
1639    channel.
1640    http://rt.cpan.org/Ticket/Display.html?id=20678
1641
1642  - the read_multi() method now falls back to calling doing a single
1643    image read via the read() method and write_multi() will now fall
1644    back to calling write() if a single image is supplied. This means
1645    you can simply call the read_multi() or write_multi() functions
1646    without having to check if the type is formatted by that method.
1647    http://rt.cpan.org/Ticket/Display.html?id=19457
1648    http://rt.cpan.org/Ticket/Display.html?id=19458
1649
1650  - the GIF loop extension can now be written. If you don't have
1651    libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you
1652    should upgrade.
1653    http://rt.cpan.org/Ticket/Display.html?id=21185
1654
1655  - getscanline() and setscanline() can now read/write palette index
1656    based data from/to the image for paletted images, by setting type to
1657    'index'.
1658    http://rt.cpan.org/Ticket/Display.html?id=20338
1659
1660  - we no longer hassle you to disable GIF support
1661    http://rt.cpan.org/Ticket/Display.html?id=20687
1662
1663  - minor documentation fixes
1664
1665
1666 Imager 0.53 - 26 Jul 2006
1667 ===========
1668
1669 This is a bugfix release.
1670
1671 Some test code was left in a code path not covered by the test
1672 suite. A test was added to cover this code path and the test code was
1673 removed.
1674 http://rt.cpan.org/Public/Bug/Display.html?id=20705
1675
1676
1677 Imager 0.52 - 25 Jul 2006
1678 ===========
1679
1680 This is primarily a feature release, but contains a fair few bug
1681 fixes, new features:
1682
1683  - ability to read and write MS Windows ICO and CUR files
1684
1685  - you can now add file format plugins to support new file formats
1686
1687  - add POD coverage tests
1688
1689  - setcolors() and addcolors() now accept color names and so on
1690    instead of requiring Imager::Color objects.
1691    http://rt.cpan.org/Ticket/Display.html?id=20056
1692
1693  - flood_fill() can now fill to a specified border color instead of
1694    just to the area the same color as the seed.
1695    http://rt.cpan.org/Ticket/Display.html?id=19618
1696
1697
1698 Bug fixes:
1699
1700  - bounding_box for the T1 driver wasn't converting UTF8 to ascii when
1701    calculating the advance width.
1702    http://rt.cpan.org/Public/Bug/Display.html?id=20554
1703
1704  - bounding_box for the T1 driver wasn't including leading and
1705    trailing spaces in the bounding box as the other drivers did, it also
1706    produced strange results for empty strings or strings containing only
1707    spaces
1708
1709  - when reading CMYK jpeg images they were being transferred to the
1710    image object as is, producing a four channel image. It only looked ok
1711    due to an old still unfixed Photoshop bug. We now convert from the
1712    inverted CMYK that photoshop (and Corel for example) produce into RGB.
1713    http://rt.cpan.org/Ticket/Display.html?id=20416
1714
1715  - reading a CYMK TIFF would result in a 4 channel image, reading any
1716    image with more than 4 channels (eg. RGB with 2 alpha channels) would
1717    result in an error.
1718    http://rt.cpan.org/Ticket/Display.html?id=20415
1719
1720  - added /usr/local/include to the default include search path, since
1721    we were already searching /usr/local/lib for libraries.
1722
1723 And various minor fixes and documentation updates.
1724
1725
1726 Imager 0.51 - 23 Apr 2006
1727 ===========
1728
1729  - fix a validation bug when processing JPEG EXIF data that can cause
1730    a crash
1731    http://rt.cpan.org/Public/Bug/Display.html?id=18496
1732
1733  - fix mis-processing of the src_maxx and src_maxy parameters of the
1734    paste() method
1735    http://rt.cpan.org/Public/Bug/Display.html?id=18712
1736
1737  - fix a problem in Imager's "smart" handling of the color parameter
1738    to various methods.
1739    http://rt.cpan.org/Public/Bug/Display.html?id=18561
1740
1741
1742 Imager 0.50 - 29 Mar 2006
1743 ===========
1744
1745  - CRITICAL: fixes a segmentation fault from attempting to write a 2
1746    or 4 channel image to jpeg or a 2 channel image to tga where the
1747    output is an in-memeory buffer.
1748    http://rt.cpan.org/Public/Bug/Display.html?id=18397
1749
1750  - fixes an incorrect pointer parameter in the PNG code
1751    http://rt.cpan.org/Public/Bug/Display.html?id=18051
1752
1753  - skip Inline::C tests when building in a directory with spaces
1754    http://rt.cpan.org/Public/Bug/Display.html?id=18049