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