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