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