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