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