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