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