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