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