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