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