Debian Codegraph @

Changes

raw
1 Imager release history. Older releases can be found in Changes.old
2
3 Imager 1.036 - 18 September 2026
4 ============
5
6 - TGA:
7 - don't interpret large color map sizes as negative.
8 this would lead to an attempt a very large allocation which would
9 fail, and the Imager would exit().
10 https://github.com/tonycoz/imager/security/advisories/GHSA-p4vw-rc54-p2c2
11 CVE-2026-93019
12
13 - PNG:
14 - for the first pass (for interleaved images) when reading a
15 paletted image, initialize the pixel buffer to zeroes. This
16 prevents out of range intermediate indexes in the image.
17
18 - paletted images:
19 - these always have 256 colors allocated, rather than being
20 controlled by maxcolors.
21 - if an out of range color index is written to the image:
22 - the i_gpix() and i_glin() APIs will return black for such
23 pixels rather than leaving them uninitialized, or returning an
24 uninitialized entry from the palette.
25 The perl get_pixel() and getscanline() methods always returned
26 black.
27 https://github.com/tonycoz/imager/security/advisories/GHSA-j7v7-cm4g-vrgf
28 CVE-2026-93018
29 - the i_gsamp() API and getsamples() method no longer skip such pixels
30 and return them as black
31
32 Imager 1.035 - 19 August 2026
33 ============
34
35 - PNG: fix mishandling of volatile aliases for parameters.
36 https://github.com/tonycoz/imager/pull/567
37 This lead to:
38 - a buffer overflow when reading 8-bit per sample images with a tRNS
39 chunk, and
40 https://github.com/tonycoz/imager/security/advisories/GHSA-jhx5-34j8-9g88
41 CVE-2026-73639
42 - image corruption when reading a 16-bit per sample image with a
43 tRNS chunk
44
45 - EXIF: fix some more decoding issues, in particular on 32-bit builds
46 (ie. 32-bit pointers, size_t)
47 https://github.com/tonycoz/imager/issues/568
48 https://github.com/tonycoz/imager/security/advisories/GHSA-j47j-8w8p-3mmc
49 CVE-2026-73638
50
51 - define SSize_t_MAX for compatibility with older perls
52 https://github.com/tonycoz/imager/issues/569
53
54 - fixed some more warnings, found by clang:
55 - missing braces on an if which could fail to report on error on an
56 invalid tr_errdiff parameter for quantization options.
57 - removed some set but otherwise unused variables
58
59 - CI:
60 - use Debian instead of Ubuntu for i386 builds, to use a vaguely
61 modern perl
62 - install Inline::C for i386 builds, which would have detected some
63 of the EXIF issues
64 - test against older perls
65
66 Imager 1.034 - 7 August 2026
67 ============
68
69 - EXIF: fix decoding of ASCII fields with zero size.
70 thanks to Arpit Jain for the report
71 GHSA-hx46-55wp-hv6m
72 CVE-2026-19082
73
74 - JPEG: depend on Imager 1.034 for the EXIF decoding fix.
75
76 - include bundled module Changes files in the main Imager distribution
77
78 - TIFF: sizeproc could potentiallly ignore a seek error when finding
79 the current position (but then should fail later trying to restore
80 it.) Revealed by a signed comparison warning.
81
82 - warning fix pass, testing with -Wall -Wextra -Werror:
83 - base Imager:
84 - fix many signed vs unsigned comparisons
85 - some mixed signed/unsigned result ternary expressions
86 - (void) cast some unused parameters
87 - remove some unused parameters
88 - add missing initializers to some structure initializations
89 - restructure fill object initialization to only brace initialize
90 the base structure
91 - add /* FALLTHROUGH */ comments to a few switch statements to
92 suppress some switch case fall through warnings (which
93 were deliberate)
94 - FT2:
95 - XS EXTEND() likes a signed number of entries
96 - unused variable in i_ft2_glyph_name()
97 - fix various signed vs unsigned comparisons
98 - DynTest: (old API test)
99 - (void) cast an unused argument in a callback
100 - Flines: (demo XS API usage)
101 - fix signed vs unsigned comparisons
102 - ICO: (Windows icon/cursor images)
103 - fix signed vs unsigned comparisons
104 - JPEG:
105 - "(void)" an unused callback argument
106 - volatile some variables used around setjmp()
107 - fix various signed vs unsigned comparison warnings
108 - PNG:
109 - some unused parameters, some removed, some cast to void
110 - fix various signed vs unsigned comparisons
111 - volatile some variables used around setjmp()
112 - SGI:
113 - fix various signed vs unsigned comparisons
114 - TIFF:
115 - fix various signed vs unsigned comparisons, including using
116 EXTEND() with an unsigned count
117 - (void) an unused parameter in a callback
118 - remove code at an unused label
119 - W32:
120 - unused variables
121 - cast-function-type warnings from casting GetProcAddress()
122 results
123 - a signed vs unsigned comparison
124
125 Imager 1.033 - 7 July 2026
126 ============
127
128 - fix mishandling of large EXIF IFD entry count values, treating them
129 as negative numbers. This could lead to an attempt to allocate a
130 block nearly the size of the address space, which fails and causes
131 an exit. Such counts are now treated as unsigned and caught either
132 when the multiplication result is checked, or when the end of the
133 IFD referenced memory is outside the EXIF block.
134 Thanks to cpan-security.
135 CVE-2026-14454
136
137 - JPEG: depend on Imager 1.033 for the EXIF fix.
138
139 - fix a thread context object reference count leak in the bumpmap and
140 bumpmap_complex filters.
141
142 - TIFF: fix a leak from processing the TIFF warnings buffer.
143 Introduced in Imager 1.021, Imager::File::TIFF 0.96.
144
145 Imager 1.032 - 1 July 2026
146 ============
147
148 - JPEG: fix a memory leak from reading a JPEG image with more than
149 one IPTC/APP13 block
150 Thanks to cpan-security.
151 CVE-2026-13708
152
153 - SGI: fix a buffer read over flow when reading a crafted RLE SGI
154 file.
155 Thanks to cpan-security.
156 CVE-2026-13705
157
158 - getscanline() with type float in list context would leak the
159 returned SVs. Introduced in 1.013.
160
161 - TIFF: sizeproc could potentially ignore a seek error when finding
162 the current position (but then should fail later trying to restore
163 it.) Revealed by a signed comparison warning.
164
165 - GIF: fix use of uninitialized values when logging introduced by the
166 CVE-2026-8454 fix.
167
168 Imager 1.031 - 15 May 2026
169 ============
170
171 - GIF: fix a heap buffer overflow with attacker controlled data
172 Thanks to cpan-security.
173 CVE-2026-8454
174
175 Imager 1.030 - 13 Apr 2026
176 ============
177
178 - addtag(): store non-"int" numbers as strings
179 https://github.com/tonycoz/imager/issues/559
180
181 - addtag: improve the regexp used to decide if a value can be stored
182 as an int.
183 Thanks to vadim-160102 for pointing out my mistake.
184 https://github.com/tonycoz/imager/issues/559#issuecomment-3734463685
185
186 - API: i_tags_get_int() - now fails if the value is stored as a string
187 and is out of range for an int.
188
189 Imager 1.029 - 06 Oct 2025
190 ============
191
192 - minor documentation updates
193
194 - added a security policy
195 https://github.com/tonycoz/imager/issues/555
196
197 - TIFF: compatibility with libtiff 4.7.1
198
199 Imager 1.028 - 16 Jun 2025
200 ============
201
202 No changes since the 1.027_001 test release.
203
204 Imager 1.027_001 - 08 Jun 2025
205 ================
206
207 Test release:
208
209 - documentation fixes, thanks mauke
210 https://github.com/tonycoz/imager/pull/547
211 https://github.com/tonycoz/imager/pull/552
212
213 - fix a stupid inefficiency in looking up filters in the filter()
214 method
215 https://github.com/tonycoz/imager/pull/546
216
217 - fix incomplete implementation of multi-library bundles in
218 Devel::CheckLib
219
220 - don't use Devel::CheckLib for probes, leaving Devel::CheckLib in
221 for now so the submodules can still work with older Imager.
222
223 Imager 1.027 - 02 Mar 2025
224 ============
225
226 - reinstate multi-library probes to bundled Devel::CheckLib
227 https://github.com/tonycoz/imager/issues/543
228
229 Imager 1.026 - 08 Feb 2025
230 ============
231
232 1.026 was withdrawn from CPAN due to incompatibility with downstream
233 modules.
234
235 - change t/200-file/400-basic.t to only test formats that were found
236 during configuration.
237 - remove the specific unknown file format tests since they could load
238 a non-functional (due to library changes) format handler.
239 https://github.com/tonycoz/imager/issues/536
240
241 - update bundled Devel::CheckLib to current version on CPAN, with some
242 extra changes:
243 - add support for a prologue parameter to insert code before main()
244 https://github.com/mattn/p5-Devel-CheckLib/pull/41
245 - add cleanup code for the *.dSYM/ directories left behind on
246 darwin
247 https://github.com/mattn/p5-Devel-CheckLib/pull/42
248 also https://github.com/tonycoz/imager/issues/536
249
250 Imager 1.025 - 16 Nov 2024
251 ============
252
253 - trim: fix a buffer overflow due to a mis-sized buffer
254 https://github.com/tonycoz/imager/issues/534
255 CVE-2024-53901
256
257 - JPEG: fix an invalid sscanf() return value check detected by CodeQL
258
259 - FT2: separately #include t1tables.h, since ftmm.h no longer
260 includes it from freetype 2.13.3
261 https://github.com/tonycoz/imager/pull/533
262 https://bugs.debian.org/1081821
263
264 Imager 1.024 - 6 Apr 2024
265 ============
266
267 - TIFF: improve reporting from a test on failure.
268
269 - TIFF: support back to libtiff 4.0.8, for compatibility with RHEL
270 and its clones.
271 https://github.com/tonycoz/imager/issues/527
272
273 Imager 1.023 - 13 Jan 2024
274 ============
275
276 - TIFF: don't read after free when looking up a compression codec
277 by the libtiff defined name,
278 https://github.com/tonycoz/imager/issues/524
279
280 Imager 1.022 - 3 Dec 2023
281 ============
282
283 - TIFF: We can no longer be lazy in implementing the size callback.
284 https://github.com/tonycoz/imager/issues/522
285 https://bugs.debian.org/1057270
286
287 Imager 1.021 - 1 Dec 2023
288 ============
289
290 Several TIFF changes:
291
292 - require libtiff 4.1.0 or later
293
294 - add buildversion, builddate and libversion methods
295
296 - add the codecs method which fetches a list of available TIFF
297 compression codes
298
299 - avoid deprecation warnings from libtiff about using the old
300 libtiff defined integer types
301
302 - require vsnprintf() (C99)
303
304 - remove my adaption of TIFFReadRGBATile() since libtiff now provides
305 TIFFReadRGBATileExt() which can do the same thing
306
307 - use pkg-config to find libtiff if possible
308
309 - for sufficiently modern libtiff (4.5.0) use TIFFClientOptions to
310 specify the warning and error handlers, this means we no longer
311 need a mutex for 4.5.0 and later.
312
313 - collect warnings using a buffer chain instead of custom allocation
314 code.
315
316 - include the "module" name (typically a libtiff function name) when
317 recording libtiff warnings.
318
319 - add CI to test Imager::File::TIFF against libtiff 4.1.0 through 4.6.0
320
321 - other minor fixes
322
323 Other changes:
324
325 - prevent CodeQL from complaining about an implicit conversion to
326 unsigned char
327
328 Imager 1.020 - 12 Nov 2023
329 ============
330
331 - masked(): disallow negative width/height masked images
332
333 - masked(): adjust source corners as bottom right relative if they
334 are negative.
335
336 - masked(): reject image source corners where either co-ordinate is
337 negative after the above adjustment.
338
339 - Imager::Files: update external image file support modules list
340
341 - internal test: don't fail on Imager::File::APNG link
342
343 - disable Imager::Font::T1 and Freetype 1.x fonts by default.
344 Unpatched t1lib simply doesn't work on 64 bit systems, and no-one
345 ships the patched version anymore.
346 https://github.com/tonycoz/imager/issues/510
347
348 Imager 1.019 - 9 Jul 2022
349 ============
350
351 - fix palette/transparency table generation when writing paletted PNG
352 images with tranparency. This happened to work for the test case,
353 but the mechanism used to generate the palette order preserved most
354 palette index positions, which hid the problem with actually
355 generating the PLTE and tRNS chunks.
356 https://github.com/tonycoz/imager/issues/499
357
358 - added lowish-level read() and write() class methods to
359 Imager::File::PNG, these are mostly intended for
360 Imager::File::APNG, but are documented and usable elsewhere.
361
362 - document in Imager::Install how to install Imager without any of
363 the bundled-but-also-on-CPAN modules being installed.
364 https://github.com/tonycoz/imager/issues/498
365
366 Imager 1.018 - 19 Jun 2022
367 ============
368
369 - skip trying to produce deprecation warnings before perl 5.14, since
370 that doesn't support custom warning categories within a package.
371 This prevents pointless failures on these old versions of perl.
372
373 Imager 1.017 - 14 Jun 2022
374 ============
375
376 Bug fix:
377
378 - fix a one bytes underallocation for Imager::TrimColorList. On
379 older perls this could lead to writing a zero byte one past the end
380 of the allocated block.
381
382 Documentation:
383
384 - expand on why you might want to call Imager->preload() and that you
385 probably don't need to.
386
387 Imager 1.016 - 12 Jun 2022
388 ============
389
390 Upcoming backward incompatible changes:
391
392 - deprecate setting/deleting tags by code. If this causes you a
393 problem please open an issue. You can disable the warning produced
394 with:
395
396 no warnings 'Imager::tagcodes';
397
398 - deprecate image channel masks. If this causes you a problem please
399 open an issue. You can disable the warning produced with:
400
401 no warnings 'Imager::channelmask';
402
403 If you use either of these features please let me know.
404
405 Minor features:
406
407 - add magic/extension support for AVIF files, see Imager::File::AVIF
408 on CPAN.
409
410 - treat an unknown extension of two or more characters as a potential
411 file type on write.
412
413 Bug fixes:
414
415 - prevent a possible undefined value warning from t/t10jpeg.t
416
417 - update MANIFEST.SKIPs, update MANIFESTs and improve MANIFEST testing.
418
419 - TGA: failing to read in the palette of a paletted TGA file would
420 leak memory.
421
422 - JPEG: supplying invalid values for the new JPEG write tags could
423 leak memory.
424
425 - PNG: fix validation of Latin1 only tags when writing PNGs.
426 (detected by clang)
427
428 - matrix_transform: correctly use fabs() instead of abs() on floating
429 point values when deciding whether to divide for a perspective
430 transform. (detected by clang)
431
432 - fix the i_poly_aa_cfill_m() API macro
433
434 Cage cleaning:
435
436 - eliminate IO::File usage from the Imager code base
437
438 - fix a type error harmlessly ignored by gcc but found by clang
439
440 - eliminate memory leaks in sub-module Makefile.PL probe test code to
441 allow the probes to succeed under LeakSanitizer.
442
443 - BMP: fix some otherwise harmless clang warnings
444
445 - remove some code meant to work around some unspecified old Solaris
446 linker bug.
447
448 - i_noise: prevent a harmless conversion warning from clang
449
450 - fountain fill/filter: limit ssample_param to 1000 to simplify code.
451
452 Imager 1.015 - 7 May 2022
453 ============
454
455 - rename the "virtual" member of i_img to "isvirtual" to allow the
456 API to be used from C++, this may break source compatibility, using
457 the i_img_virtual() accessor is backward compatible.
458
459 - add cookbook entry to populating an image from raw RGB samples
460 https://github.com/tonycoz/imager/issues/471
461
462 - Imager::Probe now puts the existing value of PKG_CONFIG_PATH at the
463 front of the PKG_CONFIG_PATH used when it calls pkg-config.
464
465 - setup CodeQL workflow and fix detected warnings
466
467 JPEG updates:
468
469 - detect libjpeg (of whichever variety) via pkg-config if possible
470
471 - add specific support for mozjpeg (turn its optimization off by
472 default so tests pass.)
473
474 - add libjpeg_version(), is_mozjpeg(), is_turbojpeg() and
475 has_arith_coding() methods
476
477 - add jpeg_compress_profile output tag, which only matters for
478 mozjpeg
479
480 - the libjpeg_version() method replaces the old
481 Imager::File::JPEG::i_libjpeg_version() function, and the format
482 has changed.
483
484 - various obscure jpeg output controls:
485
486 - add support for JPEG arithmetic coding when the supplied libjpeg
487 supports it. Note that not all JPEG decoders can handle arithmetic
488 coded JPEGs.
489
490 - add support for disabling the JFIF header for JPEG files using the
491 jpeg_jfif tag.
492
493 - add support for smoothing to eliminate dithering noise (like cjpeg
494 -smooth) using the jpeg_smooth tag.
495
496 - add support for producing JPEG restart markers (like cjpeg -restart
497 N), using the jpeg_restart tag.
498
499 - add control over subsample for JPEG (like the cjpeg -sample
500 parameter) using the jpeg_sample tag
501
502 - added tags for the rest of the MozJPEG API parameters.
503
504 - add jpeg_tune tag, corresponding to the MozJPEG cjpeg -tune-*
505 options.
506
507 Imager 1.014 - 28 Apr 2022
508 ============
509
510 Bug fixes:
511
512 - fix failed to build on non-threaded perls.
513 https://github.com/tonycoz/imager/issues/472
514
515 - when writing a paletted image with an alpha channel to PNG only
516 set the tRNS chunk if the image has transparent colours. With
517 older libpng this could add an erroneous tRNS chunk (or possibly
518 undefined behaviour if I understand the libpng code).
519 https://github.com/tonycoz/imager/issues/459
520
521 Features:
522
523 - Imager::Color and Imager::Color::Float objects can now be created
524 from CSS style rgb(...) strings.
525 https://github.com/tonycoz/imager/issues/463
526
527 - added the as_css_rgb() method to both Imager::Color and
528 Imager::Color::Float to format the supplied color as a CSS style
529 rgb() string.
530 https://github.com/tonycoz/imager/issues/463
531
532 - Imager::Color and Imager::Color::Float objects can now be created
533 (copied) or set from other Imager::Color or Imager::Color::Float
534 objects.
535
536 Imager 1.013 - 27 Apr 2022
537 ============
538
539 - added rgb_difference() method
540 Thanks to Andreas König
541 https://github.com/tonycoz/imager/pull/462
542
543 - update ppport.h to prevent a redefinition diagnostic
544
545 - update bug tracker URLs to point at github
546 https://github.com/tonycoz/imager/pull/466
547
548 - update some other bug tracker URLs too.
549
550 - add the trim() and trim_rect() methods, to trim borders off an
551 image.
552
553 - add the as_float() method to Imager::Color and the as_8bit() method
554 to Imager::Color::Float to convert between the two types.
555
556 - update ppport.h to avoid a diagnostic in more modern perls.
557
558 - add detection for HEIF, JPEG XL and QOI image formats
559
560 Imager 1.012 - 14 Jun 2020
561 ============
562
563 - Imager has moved to github.
564
565 - T1lib support is deprecated
566
567 - added guassian2 filter which allows separate filter radii for vertical
568 and horizontal. Thanks to Leolo.
569 https://rt.cpan.org/Ticket/Display.html?id=129769
570
571 - freetype2 support can now use pkg-config to configure itself.
572
573 - added red, green, blue, alpha methods to color objects.
574
575 - eliminate use vars.
576
577 Imager 1.011 - 7 Mar 2019
578 ============
579
580 General changes:
581
582 - correct the type of the data parameter for im_decode_exif().
583
584 - fix the release date listed below for 1.010
585
586 - add missing change entry for RT #128142
587
588 - binmode the correct handle in t/200-file/010-iolayer.t, this may fix some test
589 failures on one CPAN smoker.
590
591 - add the mymeta check (AUTHOR testing only) to MANIFEST
592
593 More Coverity fixes:
594
595 - translate_errdiff() could leak memory on failure (introduced in
596 1.009) CID 185565.
597
598 - i_img_make_palette() could leak memory on failure (introduced in
599 1.009) CID 185566.
600
601 - DSO_open(), from the original dynamic loading API, could leak
602 dlopen() handles on failure. CID 185309. DSO_close() now releases
603 the memory associated with the internal DSO handle, rather than
604 only releasing the dlopen() handle.
605
606 Imager 1.010 - 13 Feb 2019
607 ============
608
609 General changes:
610
611 - added the add_file_magic() class method for adding magic for new
612 file types to Imager's fairly primitive file magic detection.
613
614 - fixed an embarassing documentation typo in Imager::Test.
615
616 - trying to read from a GIF file with no images now sets an error
617 message. Thanks to Peter Sergeant for reporting this.
618 https://rt.cpan.org/Ticket/Display.html?id=128481
619
620 - use undeprecated encoding symbols for FT2. This should fix the
621 build on the badly patched CentOS 7 Freetype 2. Thanks to Slaven
622 Rezic for the report.
623 https://rt.cpan.org/Ticket/Display.html?id=128142
624
625 Coverity has come back up read-only, a few more changes:
626
627 - add missing va_end() for bmp.c's write_packed(). CID 185320.
628
629 - similarly for read_packed(). CID 185329.
630
631 - add a NOTREACHED lint comment for pixel_coverage(). Compilers
632 complained about a missing return, Coverity complains about the
633 return. CID 185325.
634
635 - avoid a possible sign extension in imsgi.c. CID 185326.
636
637 - add some FALLTHROUGH lint comments to i_readtga_wiol() where we
638 deliberately fall through switch cases. CID 185328.
639
640 - add assertions in callers to i_new_hatch_low() since Coverity
641 complained about some possible inconsistent NULL checks. CID
642 185339. I ended up rearranging this function later.
643
644 - remove pointless NULL checks from i_flipxy() and i_img_destroy().
645
646
647 Imager 1.009 - 11 Jan 2019
648 ============
649
650 Critical issue:
651
652 - drawing a filled, anti-aliased circle to the left or right of the
653 image (not within the image at all) would cause a buffer overflow.
654 https://rt.cpan.org/Ticket/Display.html?id=128208
655
656 General changes:
657
658 - to_paletted() and make_palette() now fail (with an error in
659 errstr()) if invalid quantization parameters are supplied.
660
661 - map() would corrupt a channel if there was a gap in the arrayref of
662 channels. Detected by Coverity. CID 185300.
663
664 - most numeric parameters to the XS implementation now throw an
665 exception if supplied an unoverloaded reference.
666 https://rt.cpan.org/Ticket/Display.html?id=128208
667
668 Coverity finally finished a build[1], fixed several of the problems
669 found. Coverity went down before I could finish working through them.
670
671 High severity:
672
673 - reading a color-mapped TGA file with an id string would cause a
674 double-free if the palette was truncated. CID 185317.
675
676 - mixing scaling to sizes where the accumulator row, the working
677 output row or the working input row didn't fit into the address
678 space could result in memory leaks. This can probably only be
679 reproduced on very wide floating-point sample images. CID 185318.
680
681 - convert an array style function parameter pointer to pointer style
682 to prevent confusing Coverity in the T1 bounding box implementation.
683 CID 185343.
684
685 - Similarly in the FT1 bounding box implementation. CID 185338.
686
687 - Similarly for the i_tt_rasterize() function in the FT1
688 implementation. CID 185303.
689
690 - initialize a pointer to prevent Coverity complaining in polygon
691 drawing (it should always end up being set.) CID 185341.
692
693 - addi style makemap could potentially read one past the end of an
694 array. CID 185337.
695
696 - supplying a numeric hatch of 32 to Imager::Fill->new(hatch => ...)
697 would result in read beyond the end of the built-in hatch array.
698 Negative values (which Coverity didn't complain about) could also
699 cause problems. CID 185331.
700
701 - the Imager::Color set_internal() interal method no longer
702 calls the over-complicated ICL_set_internal() (which is retained
703 only for the old API.) Coverity complained that this leaked, but
704 this could only occur with an invalid (NULL pointer) color object.
705 CID 185323.
706
707 - the underlying implementation of the map() method could read before
708 the beginning on an allocated array if supplied with inconsistent
709 parameters, which Coverity complained about. No Imager code calls
710 that function with inconsistent parameters, but a
711 belt-and-suspenders check was added. CID 185315.
712
713 - Coverity complained a call to i_getcolors(), used by the
714 implementation of the is_bilevel() method could leave the fetched
715 colors uninitialized. Added a return value check. CID 185308.
716
717 - a numeric combining mode of 13 (eg. as a parameter to
718 Imager::Fill->new())could cause an invalid array read in
719 i_get_combine() due to a fencepost error in validating the combine
720 number. CID 185299.
721
722 Lower severity (according to Coverity):
723
724 - avoid an unneeded EXTEND() call when the FT1 has_chars()
725 implementation returns 0. CID 185350.
726
727 - avoid accessing a possibly NULL map from MakeMapObject() in a
728 logging call. (GIF) CID 185296.
729
730 - gradgen() allocated the wrong amount of space (always too much) for
731 the color array. CID 185291.
732
733 - avoid dead code in i_tt_glyph_names(). CID 185321.
734
735 - avoid dead code in i_get_anonymous_color_histo(), which is the
736 implementation of getcolorusage(). CID 185327.
737
738 - avoid dead code in i_ft2_glyph_name(), which is the implementation
739 of glyph_names() for FT2. CID 185342.
740
741 - avoid dead code in i_t1_glyph_names(), which is the implementation
742 of glyph_names() for T1. CID 185322.
743
744 - avoid an unneeded EXTEND() call when the FT2 has_chars()
745 implementation returns 0. CID 185292.
746
747 - the unpack code for ICO/CUR file handling could extend 32-bit
748 unsigned values to 64-bit signed. I believe this is harmless. CID
749 185319.
750
751 - remove an unneeded check when terminating the stream for JPEG
752 writing. CID 185347.
753
754 - skip an unneeded check when freeing the combine temp buffer in the
755 fountain filter. CID 185286.
756
757 - check the combine function pointer consistently rather than the
758 combine code in one place in the fountain filter.
759
760 - error diffusion now validates a custom error diffusion map and reports
761 an error if it's bad. CID 185288.
762
763 - avoid discarding the value of i_io_getc() when scanning numbers in
764 pnm.c. CID 185293.
765
766 - handle failure to clone the log filehandle when cloning the Imager
767 context object on thread creation. CID 185294.
768
769 - fix an unsigned comparison when converting character code to a
770 glyph index with a NULL character map when calculating the glyph
771 for display for FT1. This should be rare. CID 185297.
772
773 - fix a similar bug when calculating whether a glyph is present for
774 has_chars() for FT1. CID 185302.
775
776 - i_img_info() (C API) no longer tries to handle a NULL image object
777 pointer. CID 185298.
778
779 - re-work testing for size_t overflow for circle/random
780 super-sampling for fountain fills. CID 185304.
781
782 - don't check if the unsigned size passed to Imager's malloc wrapper
783 (mymalloc) is negative. Left from when that parameter was signed.
784 CID 185305.
785
786 - make some types larger and add a cast to prevent integer overflows
787 when calculating a palette with median cut for extraordinarily
788 large images. CID 185306.
789
790 - don't check if the unsigned size supplied to
791 im_set_image_file_limits() is negative. CID 185307.
792
793 [1] The first two build submissions ended up at the end of a ~400 item
794 build queue, and seemed to have been cancelled by Coverity. A build
795 submitted on NYE went through in minutes.
796
797 Imager 1.008 - 31 Dec 2018
798 ============
799
800 - moved EXIF handling from Imager::File::JPEG to core Imager
801 This allows file formats that store EXIF data as blobs similarly
802 to JPEG to re-use this code. (such as Imager::File::WEBP)
803
804 - added some more file extensions to image file type mappings
805
806 - added add_type_extensions() class method
807
808 - Imager::Files now links to Imager::Install when discussing
809 appropriate libraries.
810 https://rt.cpan.org/Ticket/Display.html?id=127575
811
812 Imager 1.007 - 24 Nov 2018
813 ============
814
815 - add png_compression_level tag for writing PNG files.
816
817 - avoid flooring a second time in matrix transform interpolation.
818 https://rt.cpan.org/Ticket/Display.html?id=124001
819
820 - produce v2 metadata.
821 Includes change from the ticket and updates to sub-modules.
822 https://rt.cpan.org/Ticket/Display.html?id=127216
823
824 - improve error reporting for the polygon() method
825
826 Imager 1.006 - 26 Aug 2017
827 ============
828
829 - the internal i_errors() function now correctly allocates the stack
830 space needed for its result.
831 https://rt.perl.org/rt3/Ticket/Display.html?id=131938
832
833 - t/100-base/020-color.t now uses Imager::Test's test functions
834 instead of its own.
835 https://rt.cpan.org/Ticket/Display.html?id=111993
836
837 - write_multi() now returns an error result (a false value) if called
838 with a non-(Imager image object). Previously it would typically
839 crash.
840 https://rt.cpan.org/Ticket/Display.html?id=117878
841
842 - improve the documentation of the jpegquality parameter when
843 writing JPEG files.
844
845 - add code to mitigate CVE-2016-1238, Imager will no longer search the
846 default current directory entry in @INC when searching for file
847 format support modules.
848
849 Imager 1.005 - 16 Apr 2016
850 ============
851
852 It's now been ten years since I switched to the new Changes file in
853 release 0.55.
854
855 - revert the ivdformat probes, they don't work as is and trying to
856 fix them is too much work for now.
857
858 Imager 1.004_004 - 15 Apr 2016
859 ================
860
861 - test that the ivdformat from Config is correct and look for a valid
862 one if it isn't.
863 For the strange Win32 failures.
864
865 - fix a copy and paste error in pod in samples/samp-form.cgi
866
867 Imager 1.004_003 - 23 Mar 2016
868 ================
869
870 - add some extra error reporting to the I/O layers tests, this might
871 help catch a failure seen on Win32.
872 http://cpantesters.org/cpan/report/99781689-6bf5-1014-897a-75cb4eee1325
873
874 Imager 1.004_002 - 20 Mar 2016
875 ================
876
877 - don't use the seek() method on opened() handles in
878 t/200-file/400-basic.t. In older versions of perl such handles are
879 only IO::Handle objects, not IO::File, and don't have a seek()
880 method.
881
882 Imager 1.004_001 - 16 Mar 2016 (Birthday release - but not my birthday)
883 ================
884
885 - re-work the t/200-file/400-basic.t to correctly handle failures
886 It's custom ok() function didn't have a prototype and didn't use scalar().
887 This caused ok() to use the note instead of the value being tested when
888 the method called returned an empty list. For an example of the problem
889 caused see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812093
890
891 - remove some noise from when Imager tried to work with bugs in old
892 versions of giflib. I can't do much about the new bugs.
893
894 - the new autolevels filter (Imager 0.99) used an integer for the
895 sample scaling factor which caused the top output level to be too
896 low (depending on the scaling required.) It now uses a double.
897 https://rt.cpan.org/Ticket/Display.html?id=111871
898
899 - the new autolevels filter had off-by-one errors calculating the
900 minimum and maximum luminance from the histogram. This slightly
901 reduced the contrast of the output image.
902 https://rt.cpan.org/Ticket/Display.html?id=111871
903
904 - the new autolevels filter now uses a lookup table for 8-bit images
905 to avoid a floating point multiply for each sample.
906 https://rt.cpan.org/Ticket/Display.html?id=111871
907
908 - fixed several memory leaks detected by valgrind:
909
910 - addcolors() leaked the temporary array of colors supplied to the
911 internal API
912
913 - make_palette() leaked the temporary image array (not the images
914 themselves) passed to the internal API.
915
916 - combine()/i_combine() leaked its working row buffers
917
918 - getcolorusage()/i_get_anonymous_color_histo() leaked the sample
919 buffer if there were too many colors
920
921 - getcolorcount()/i_count_colors() leaked the sample buffer if
922 there were too many colors.
923
924 - the nearest_color filter (undocumented until I find a use for it)
925 leaked both temporaries passed to the API and internal buffers
926
927 - the internal process of upgrading a paletted image to a direct
928 color image would leak a context object reference count.
929
930 - a write failure when writing to a GIF file could leak memory.
931
932 - failing to write to a 1-bit/pixel ICO image could leak memory.
933
934 - Imager no longer deliberately leaks the context object from the
935 initial thread. This was done to ensure there was always a context
936 object available, but the code that needed that now handles the
937 lack correctly,
938
939 - fixed some uninitialized memory usage detected by valgrind:
940
941 - rotate()/i_rotate_exact()/i_rotate_exact_bg()/i_matrix_transform()/
942 i_matrix_transform_bg() didn't initialize a working color value
943 if there was zero pixel coverage.
944
945 - i_ft2_cp() didn't initialize the complete color when producing an
946 intermediate image. This caused uninitialized value usage when
947 logging the color.
948
949 Imager 1.004 - 8 Nov 2015
950 ============
951
952 - Imager::Color::Table is now pre-loaded by the preload() method.
953 https://rt.cpan.org/Ticket/Display.html?id=104896
954
955 - fix an assertion triggered under perl 5.23.4.
956 Thanks to A. Sinan Unur for the report and the patch.
957
958 - Imager->new can now be used to read raw image files.
959 https://rt.cpan.org/Ticket/Display.html?id=106836
960 Thanks to Richard Kelsch for reporting this.
961
962 - deal with output changes from Pod::Spell
963 https://github.com/perl-pod/Pod-Spell/issues/21
964
965 Imager 1.003 - 12 May 2015
966 ============
967
968 - update 1.002 release notes to include the center change for filled
969 circle drawing.
970
971 - flood_fill() would escape beyond a 4-connected space under some
972 circumstances.
973 Added many more flood_fill() tests.
974 https://rt.cpan.org/Ticket/Display.html?id=103786
975
976 Imager 1.002 - 3 Apr 2015
977 ============
978
979 - drawing anti-aliased filled circles is now 10 to 50 times faster
980 depending on the size of the circle.
981 This also changed the center from being the center of the pixel to
982 being the top left of the pixel to match the filled arcs drawn by
983 arc().
984 https://rt.cpan.org/Ticket/Display.html?id=101682
985
986 - enhancements to polygon filling:
987
988 - added a mode parameter to control how overlapping regions behave
989
990 - added a polypolygon() method to fill more than one polygon at a
991 time
992
993 - polygon filling is now exposed through the API.
994
995 - added colormodel(), alphachannel() and colorchannels() methods.
996 These were added for two reasons:
997
998 - a future version of Imager may allow the number of channels in
999 an image to not directly represent the color model of an image.
1000 eg. a greyscale TIFF image with multiple alpha channels.
1001
1002 - a future version of Imager may allow an image to be read without
1003 translation, for example a TIFF file that contains measurements
1004 from an instrument. Currently Imager transforms the samples into
1005 the range 0.0 ... 1.0 which may means the user has to translate
1006 the value back.
1007
1008 An untranslated image would be unusable as image data, so
1009 colormodel() would return "unknown" in this case.
1010
1011 Similarly a CMYK image might be returned as an "unknown" color
1012 model image, if the caller chooses to disable translation to
1013 RGB.
1014
1015 Imager 1.001 - 2 Jan 2015
1016 ============
1017
1018 - both Imager and perl 5.21.3 define my_strerror(), prevent a conflict
1019 Thanks to Slaven Rezic for the report and the patch.
1020 https://rt.cpan.org/Public/Bug/Display.html?id=98234
1021
1022 - GIF: clean-up a test file if the test for the giflib 4.2.0 file
1023 version bug fails.
1024
1025 - fix Imager::Matrix2d::rotate()'s centre point handling
1026 https://rt.cpan.org/Public/Bug/Display.html?id=99959
1027
1028 - ICO: don't apply the icon mask to images with an alpha channel by
1029 default
1030 https://rt.cpan.org/Public/Bug/Display.html?id=99507
1031
1032 - make verbose probing output more verbose
1033
1034 - use Imager::Probe to probe for freetype 1.x
1035 https://rt.cpan.org/Ticket/Display.html?id=100502
1036
1037 - The --enable and --disable parameters to the top-level Makefile.PL
1038 work again.
1039
1040 - update the bundled/modified Devel::CheckLib to handle the gcc-4
1041 symlink on Cygwin
1042
1043 Imager 1.000 - 28 Jul 2014
1044 ============
1045
1046 There's nothing special about Imager 1.000, it's just another release.
1047
1048 - fix the skip check for the iolayer qr// buffer test
1049
1050 - improve error reporting for the iolayer test failing on a small
1051 number of Win32 CPAN testers
1052
1053 Imager 0.99_02 - 21 Jul 2014
1054 ==============
1055
1056 - Imager::Filter::Mandelbrot (and dynfilt/mandelbrot.c) - initialize
1057 the blue channel in the generated palette, and allow each color
1058 component to be in the range 100..255 instead of just 100..254.
1059 Thanks to Ralf Neubauer.
1060 https://rt.cpan.org/Ticket/Display.html?id=97086
1061
1062 - revert "improved the XS for i_io_read() and i_io_raw_read()"
1063 This caused problems with older perls and didn't provide much of a
1064 performance improvement.
1065
1066 - support Inline 0.57 and later.
1067 Inline 0.57 changed the "with" interface.
1068 https://rt.cpan.org/Ticket/Display.html?id=97108
1069
1070 - don't define our own MAXINT macro, it conflicts with windows header
1071 files and in a few places it was the wrong value to use anyway.
1072 https://rt.cpan.org/Ticket/Display.html?id=96425
1073
1074 Imager 0.99_01 - 29 Jun 2014
1075 ==============
1076
1077 - GIF: add support for giflib 5.1.0, which added error code pointer
1078 parameters to EGifCloseFile() and DGifCloseFile().
1079 https://rt.cpan.org/Ticket/Display.html?id=96756
1080
1081 - GIF: avoid a double-free when do_write() fails.
1082
1083 - fix SV type probing to work on perl before 5.12. Broken in 0.99.
1084 https://rt.cpan.org/Ticket/Display.html?id=96761
1085
1086 - PNG: skip the benign error test before libpng 1.6.0, since the
1087 error we're testing didn't exist before 1.6.0.
1088 https://rt.cpan.org/Ticket/Display.html?id=94717 (continued)
1089
1090 Imager 0.99 - 25 Jun 2014
1091 ===========
1092
1093 - Imager::IO->new_buffer() (and hence Imager->read()'s data
1094 parameter) now accepts a reference to a scalar as well as just a
1095 plain scalar.
1096 https://rt.cpan.org/Ticket/Display.html?id=92785
1097
1098 - Imager::IO->new_buffer() now always makes a copy of the passed in
1099 buffer to avoid problems with temporary objects used for the return
1100 value of SvPVbyte().
1101 https://rt.cpan.org/Ticket/Display.html?id=92785
1102
1103 - improved the XS for i_io_read() and i_io_raw_read()
1104 https://rt.cpan.org/Ticket/Display.html?id=92738
1105
1106 - load plugins from absolute paths on Android
1107 Thanks to Brian Fraser.
1108 https://rt.cpan.org/Ticket/Display.html?id=93272
1109
1110 - added the jpeg_optimize parameter for writing JPEG files. This can
1111 significantly reduce file sizes, but uses more memory and time.
1112 https://rt.cpan.org/Ticket/Display.html?id=94292
1113
1114 - the autolevels filter now works on the luminance of the image
1115 rather then working per channel. The old autolevels filter is
1116 still available as "autolevels_skew".
1117 https://rt.cpan.org/Ticket/Display.html?id=94413
1118
1119 - Imager::File::PNG now supports libpng 1.6.10.
1120 1.6.10 changed CRC errors from benign errors to normal errors,
1121 which broke the test which used CRC errors to check for benign
1122 error support. Switched to using a 1-bit grey-scale image with a
1123 palette to test for benign errors.
1124 https://rt.cpan.org/Ticket/Display.html?id=94717
1125
1126 Imager 0.98 - 3 Jan 2014
1127 ===========
1128
1129 Incompatible changes:
1130
1131 - the return value of setpixel() has changed.
1132
1133 Previously the return values for undrawable pixels vs caller errors
1134 changed depending on whether you used the multiple pixel calling
1135 mechanism, or the single pixel mechanism.
1136
1137 Now:
1138
1139 - for an invalid parameter, such as an unknown colour, or missing
1140 parameter, an empty list (or undef in scalar context) is
1141 returned, and errstr() is set,
1142
1143 - otherwise the number of pixels drawn is returned. If none of
1144 the pixels could be drawn (they were all outside the image), "0
1145 but true" is returned.
1146
1147 https://rt.cpan.org/Ticket/Display.html?id=87650
1148
1149 Other changes:
1150
1151 - when drawing on an image with an alpha channel where the source
1152 minimum is greater than zero, Imager would read from beyond the end
1153 of a malloc() allocated buffer. In rare circumstances this could
1154 lead to some of the source image not being written to the target
1155 image, or possibly to a segmentation fault.
1156 I don't believe this has any security concerns beyond that.
1157
1158 - if the first text drawn with Imager::Font::T1 is not anti-aliased,
1159 text drawn would be nonsense. This would also read beyond the end
1160 of a malloced buffer.
1161
1162 - non-AA text drawn with an Imager::Font::TT (Truetype 1) font would be
1163 truncated early.
1164 https://rt.cpan.org/Ticket/Display.html?id=88993
1165
1166 - Imager::Font::Wrap no longer requires the image parameter.
1167 https://rt.cpan.org/Ticket/Display.html?id=87338
1168
1169 - a documentation typo fix in Imager::Transformations
1170 Thanks to Adrian Yee.
1171 https://rt.cpan.org/Ticket/Display.html?id=88598
1172
1173 - Image::Probe, Imager's internal module for probing library
1174 locations now searches the directories specified by LD_RUN_PATH,
1175 LD_LIBRARY_PATH, DYLD_LIBRARY_PATH and LIBRARY_PATH for libraries,
1176 and the corresponing s/\blib$/include/ directories for header
1177 files.
1178 https://rt.cpan.org/Ticket/Display.html?id=86428
1179
1180 Imager 0.97 - 15 Jul 2013
1181 ===========
1182
1183 No changes from 0.96_02.
1184
1185 Imager 0.96_02 - 8 Jul 2013
1186 ==============
1187
1188 - PNG: treat a version mismatch between headers and library as a
1189 probe failure.
1190 https://rt.cpan.org/Ticket/Display.html?id=86659
1191
1192 - PNG: the check for benign error support is more complex than a
1193 simple library version check, check for the appropriate macro.
1194 Thanks for Slaven Rezic for following up on my CPAN Testers result
1195 queries.
1196 https://rt.cpan.org/Ticket/Display.html?id=86659
1197
1198 - W32: add a missing head1 AUTHORS to the old Win32.pm
1199 https://rt.cpan.org/Ticket/Display.html?id=86658
1200
1201 Imager 0.96_01 - 1 Jul 2013
1202 ==============
1203
1204 - TIFF: handle SampleFormat = 2 by translating the signed integer
1205 values to unsigned by flipping their sign bits.
1206
1207 Handle SampleFormat = 3 where possible.
1208
1209 SampleFormat is ignored for paletted images.
1210
1211 Mixed SampleFormat are handled incorrectly, since libtiff returns
1212 only the first SampleFormat value, and an image with both an alpha
1213 channel and SampleFormat = 2 for color channels probably has a
1214 different SampleFormat for the alpha channel.
1215
1216 https://rt.cpan.org/Ticket/Display.html?id=74540
1217
1218 - XS clean up:
1219 https://rt.cpan.org/Ticket/Display.html?id=69243
1220
1221 - Imager::Color's rgba() method now returns its values as integers
1222 instead of floating point. (IV instead of NV).
1223
1224 - The XS for i_map() and i_matrix_transform() now use the AV *
1225 typemap instead of rolling their own.
1226
1227 - The XS for DSO_call() now uses the HV * typemap instead of
1228 rolling it's own.
1229
1230 - The XS for i_poly_aa(), i_poly_aa_cfill(), i_transform() and
1231 i_gradgen() now use a new T_AVARRAY typemap that greatly
1232 simplifies the XS code.
1233
1234 - many other minor XS changes
1235
1236 - some XS code formatting
1237
1238 - TT (Freetype 1.x) and FT2 (Freetype 2.x) non-antialiased rendering
1239 now renders in alpha-combining mode, to match antialiased output.
1240 https://rt.cpan.org/Ticket/Display.html?id=73359
1241
1242 - add sample code and cookbook notes for drawing a blurred drop-shadow.
1243
1244 - add support for libpng 1.6, which changed the defaults for
1245 reporting some types of error.
1246 https://rt.cpan.org/Ticket/Display.html?id=85746
1247
1248 - FT2: use gsamp/psamp() to transfer pixels from the work image to
1249 the output image instead of gpix/ppix.
1250 https://rt.cpan.org/Ticket/Display.html?id=83478
1251
1252 - eliminate various GCC warnings, mostly initialized but otherwise
1253 unused variables.
1254
1255 Imager 0.96 - 19 May 2013
1256 ===========
1257
1258 - rearrange Imager's test files.
1259 https://rt.cpan.org/Ticket/Display.html?id=84596
1260
1261 - Imager::Probe::_gcc_lib_paths now forces C locale.
1262 A sufficiently recent gcc prints localized keys for the search
1263 paths, which avoids that localization.
1264 https://rt.cpan.org/Ticket/Display.html?id=84963
1265
1266 - fix a pod error detected by Pod::Simple 3.27 and laterm and skip
1267 pod tests unless AUTOMATED_TESTING or IMAGER_AUTHOR_TESTING is set
1268 and true.
1269 https://rt.cpan.org/Ticket/Display.html?id=85262
1270 reported by Andreas König
1271
1272 - add a test for unclosed POD in C source, and fix the errors it
1273 found.
1274 https://rt.cpan.org/Ticket/Display.html?id=74875
1275
1276 - fix some spelling errors detected by the newer aspell in Debian
1277 Wheezy.
1278
1279 - remove a trailing ' from lib/Imager/Font/Test.pm's POD
1280 thanks to gregor herrmann <[email protected]>
1281 https://rt.cpan.org/Ticket/Display.html?id=85413
1282
1283 - add a test for standard =head1 commands and fix the errors found
1284
1285 Imager 0.95 - 19 Apr 2013
1286 ===========
1287
1288 - handle the SVf_UTF8 flag correctly on magic strings passed to
1289 Imager::IO's write() and raw_write() methods.
1290 This may misbehave in perl 5.6.x since the UTF8 flag may not be
1291 visible in the main SV after SvGETMAGIC().
1292 https://rt.cpan.org/Ticket/Display.html?id=83438
1293
1294 - document that bounding_box() ignores the transformation matrix
1295 supplied to tranform() for fonts.
1296 https://rt.cpan.org/Ticket/Display.html?id=84106
1297
1298 Imager 0.94_02 - 5 Apr 2013
1299 ==============
1300
1301 - enable debug logging for the standard font tests
1302
1303 - skip the overloaded UTF-8 text output checks on 5.6.x and earlier,
1304 due to a bug in that version of perl.
1305
1306 - don't test for read() failing on a write-only handle in 5.8.x and
1307 earlier, this was fixed in change 862083f7e4 in perl.
1308
1309 - report the version of Inline found during testing (an attempt to
1310 diagnose some intermittent failures.)
1311
1312 Imager 0.94_01 - 2 Mar 2013
1313 ==============
1314
1315 - NOTE: possibly backward incompatible:
1316 support reading from/writing to perl filehandes that aren't raw
1317 files.
1318
1319 This allows Imager's I/O to honour handles with layers such as
1320 gzip, scalar file handles or tied file handles.
1321
1322 This is backward incompatible in that previous Imager would simply
1323 use fileno() to retrieve the fd for the file and call write(2) etc
1324 on it directly.
1325 https://rt.cpan.org/Ticket/Display.html?id=78843
1326
1327 - moved most of README to lib/Imager/Install.pod which should make it
1328 more accessible to the "web" generation, also significantly updated
1329 and re-worked it.
1330
1331 - updated README's for the separately distributed modules to refer to
1332 Imager::Install, and that they need -dev versions of packages
1333 https://rt.cpan.org/Ticket/Display.html?id=81265
1334
1335 - the JPEG test code now reports the compile-time library version
1336
1337 - avoid a possible compiler optimization issue on CentOS 5.9 i386 by
1338 rearranging (and mildly optimizing) some code.
1339 https://rt.cpan.org/Ticket/Display.html?id=83212
1340
1341 - fix a POD error in Imager::Fill (detected on new Pod-Simple)
1342 https://rt.cpan.org/Ticket/Display.html?id=83434
1343
1344 - fix a broken link to Graphics::Magick
1345 https://rt.cpan.org/Ticket/Display.html?id=82743
1346
1347 - drawing text to a channel with FT2 would draw with random coverage
1348 due to an uninitialized alpha channel.
1349
1350 - marked the function pointer underlying the mm_log() API with the
1351 correct gcc magic and fixed the resulting warnings.
1352
1353 - fixed some other compiler warnings
1354
1355 - Imager::Font::W32 now properly reports text drawing errors
1356 https://rt.cpan.org/Ticket/Display.html?id=70098
1357
1358 - handle the SVf_UTF8 flag correctly on magic (eg. overloaded)
1359 strings passed as text to draw(), bounding_box(), has_chars(),
1360 glyph_names() (where supported) in each of the font drivers.
1361 This may misbehave in perl 5.6.x since the UTF8 flag may not be
1362 visible in the main SV after SvGETMAGIC().
1363 https://rt.cpan.org/Ticket/Display.html?id=83438 (partial)
1364
1365 Imager 0.94 - 15 Dec 2012
1366 =========================
1367
1368 Variations on some of these changes were included in development
1369 releases.
1370
1371 - improved thread safety
1372 - the internal error stack and log file handle are now in a per-thread
1373 context object
1374 - JPEG now captures IPTC information in a thread-safe way
1375 - avoid globals where possible for warning capture in libtiff
1376 - use a mutex to avoid re-entering thread-unsafe giflib
1377 - use a mutex to avoid re-entering thread-unsafe tifflib
1378 - use a mutex to avoid re-entering thread-unsafe T1Lib
1379 - use a library handle per thread for freetype 2.
1380 - use an engine handle per thread for freetype 1.x.
1381 - originally these changes broke ABI compatibility, this has been
1382 restored.
1383
1384 - clarify the return value of getpixel();
1385 https://rt.cpan.org/Ticket/Display.html?id=81198
1386
1387 - fixed a race condition in parallel testing for T1
1388
1389 - fixed a bug in handling yoff for untransformed image-based fills
1390
1391 - documentation improvements for Imager::Fill
1392
1393 - FT2: report the library version while testing.
1394
1395 Imager 0.93 - 15 Oct 2012
1396 ===========
1397
1398 Bug fixes:
1399
1400 - previously a transparency enabled GIF write (the default) would
1401 always use a GIF89a header even if none of the images were
1402 transparent.
1403
1404 - previously the probe step for freetype-config would fail on cygwin
1405
1406 - catch an invalid matrix parameter to convert() instead of crashing
1407 https://rt.cpan.org/Ticket/Display.html?id=79922
1408
1409 - remove the 16-bit/sample limitation from the documentation for
1410 setsamples(), it hasn't applied for many releases.
1411 https://rt.cpan.org/Ticket/Display.html?id=79989
1412
1413 - don't copy setsamples() data parameter, it may be a large scalar
1414 https://rt.cpan.org/Ticket/Display.html?id=79990
1415
1416 - clean up .dSYM directories generated performing probes on OS X
1417 Mountain Lion.
1418
1419 - pass the --verbose command-line option through to Imager::Probe in
1420 sub-module's Makefile.PLs
1421 https://rt.cpan.org/Ticket/Display.html?id=75878
1422
1423 Enhancements:
1424
1425 - support for giflib 5.0. (5.0.1 and later)
1426 https://rt.cpan.org/Ticket/Display.html?id=79029
1427 The giflib API Imager uses doesn't have a mechanism to set the
1428 header version in 5.0.0.
1429
1430 - update the GIF library probe code to check for the new giflib 5.0.1
1431 EGifSetGifVersion() function, and to check for the giflib 4.2.0
1432 uninitialized gif89 bug.
1433 https://rt.cpan.org/Ticket/Display.html?id=79679
1434 http://sourceforge.net/tracker/?func=detail&aid=3574283&group_id=102202&atid=631304
1435
1436 - avoid static variables when capturing IPTC data from JPEG files
1437
1438 - match Imager::Font::T1's error message translations to those from
1439 later versions of T1Lib.
1440
1441 - for libtiff versions that support extended warning handlers (3.8.0
1442 or later), use them to avoid some global variables.
1443
1444 - note Image::ExifTool for better metadata support.
1445 https://rt.cpan.org/Ticket/Display.html?id=79251
1446
1447 Imager 0.92 - 14 Aug 2012
1448 ===========
1449
1450 - giflib 4.2 eliminates the GIF_LIB_VERSION macro, handle that
1451 correctly for both probing and runtime.
1452 https://rt.cpan.org/Ticket/Display.html?id=77672
1453
1454 - allow building JPEG/imexif.c on C89 compilers.
1455
1456 - allow building GIF/imgif.c on C89 compilers.
1457
1458 Imager 0.91 - 4 Jun 2012
1459 ===========
1460
1461 Bug fixes:
1462
1463 - The size of rotated images is no longer rounded up so aggressively.
1464 Added rounding to the linear interpolation done for rotate() and
1465 matrix_transform() for 1 and 3 channel 8-bit images.
1466 Adjusted the two tranlate matrices used to build the final rotation
1467 matrix to use the distance between the outlier pixels rather than
1468 the pixel dimensions (ie. dimension-1).
1469 With all of this the output of rotate(degrees => 270) on an 8-bit
1470 image exactly matches the output of rotate(right => 270).
1471 https://rt.cpan.org/Ticket/Display.html?id=77063
1472
1473 Other changes:
1474
1475 - eliminate the old IIM_new(), IIM_DESTROY() names from Imager's
1476 internals, those names only matter for the XS interface.
1477
1478 - improve error reporting when PERL_INITIALIZE_IMAGER_CALLBACKS finds
1479 the API level compiled into a loadable module such as
1480 Imager::File::GIF doesn't match that of Imager. Previously it
1481 could be difficult to determine exactly which module was failing to
1482 load.
1483 https://rt.cpan.org/Ticket/Display.html?id=77173
1484
1485 - added Imager->check_file_limits() as an interface to the
1486 i_int_check_image_file_limits() API.
1487
1488 - Imager->set_file_limits(reset => 1) now resets the limits to the
1489 defaults rather than setting them all to unlimited.
1490
1491 - wrote a brief security note as Imager::Security
1492 https://rt.cpan.org/Ticket/Display.html?id=68910
1493
1494 Imager 0.90 - 30 Apr 2012
1495 ===========
1496
1497 Bug fixes:
1498
1499 - Imager::Test::is_imaged() attempted to process an "epsilon"
1500 parameter but the prototype didn't allow for the extra parameter.
1501 Corrected the prototype.
1502
1503 - when downconverting samples (eg. from floating point to 8 bit)
1504 Imager now rounds the sample value rather than attempting to
1505 allocate input values over output values equally. The old
1506 behaviour had the probably surprising effect of converting a
1507 floating point 2.1/255.0 into an 8-bit 3 rather than the expected
1508 2.
1509 This may result in slightly different 8 or 16-bit output images.
1510
1511 - BI_BITFIELD BMP images were handled incorrectly, both in
1512 incorrectly calculating the space required for the masks and in
1513 processing the image data itself.
1514 https://rt.cpan.org/Ticket/Display.html?id=76736
1515
1516 - some odd width BMP BI_RLE4 images use run lengths that run one off
1517 the edge of the image. Imager now allows this, discarding the
1518 extra column.
1519
1520 - odd length RLE4 runs in BMP images were decoded incorrectly.
1521
1522 - pkg-config could sometimes return a library that was in a directory
1523 EU::MM / $Config{libpth} doesn't know about, but the compiler did.
1524 If no -L is included in the pkg-config library information check if
1525 EU::MM can find the library, and if not, search our configured
1526 directories and insert that into the library flags.
1527 https://rt.cpan.org/Ticket/Display.html?id=75869
1528
1529 - Imager::Probe can now probe for libraries with dependent libraries,
1530 common for static linking, eg. libpng requires libz.
1531 https://rt.cpan.org/Ticket/Display.html?id=74043
1532
1533 - libpng 1.5 specific probes were looking for libpng 1.4 filenames.
1534
1535 - added alternative probe configurations that try to link libz, to
1536 handle a statically linked libpng.
1537 https://rt.cpan.org/Ticket/Display.html?id=74043
1538
1539 - if a probe includes testcode, Imager::Probe now checks that code as
1540 part of the process of checking each configuration rather than as a
1541 post test of the found configuration. This allows alternate
1542 configurations to be checked if a matching but non-working
1543 configuration is found.
1544 https://rt.cpan.org/Ticket/Display.html?id=74043
1545
1546 Other changes:
1547
1548 - when reading or writing images via callbacks, the default callbacks
1549 now push an error message indicating that a required callback was
1550 called but not supplied.
1551 https://rt.cpan.org/Ticket/Display.html?id=76782
1552
1553 - clarify which callbacks are required for reading and writing TIFF
1554 images.
1555
1556 - improve logging for creation of callback I/O layers.
1557
1558 - a little more documentation for Imager::Probe.
1559
1560 - the i_get_file_background() and i_get_file_backgroundf() APIs now
1561 return int to indicate whether the i_background tag was found.
1562
1563 - PNG rework
1564 - improve error reporting
1565 - add png_interlace, png_bits tags
1566 - read paletted images as paletted images, including transparency
1567 - read 1 bit greyscale images as a type suitable for other file
1568 handlers to write as bilevel
1569 - read 16 bit/sample PNG as 16-bit/sample Imager images
1570 - write "bilevel" paletted images as 1 bit grayscale images
1571 - write paletted images as paletted images
1572 - write 16-bit (or higher)/sample images as 16-bit/sample PNG
1573 images
1574 - improved metadata support
1575 https://rt.cpan.org/Ticket/Display.html?id=29268
1576
1577 Imager 0.89 - 18 Mar 2012
1578 ===========
1579
1580 Bug fixes:
1581
1582 - getpixel(..., type => "float") and the API i_gpixf() have been
1583 broken on paletted images since they were implemented.
1584 https://rt.cpan.org/Ticket/Display.html?id=75258
1585
1586 Other changes:
1587
1588 - links in the METHOD INDEX now point at the method documentation
1589 rather than the heading you can find them under.
1590 https://rt.cpan.org/Ticket/Display.html?id=71495
1591
1592 - Imager (and the bundled dynamic modules) no longer fallback to
1593 using DynaLoader if loading via XSLoader fails.
1594 For the bundled modules this could hide useful error messages.
1595 https://rt.cpan.org/Ticket/Display.html?id=75560
1596
1597 - IM_DEBUG_MALLOC mymalloc() no longer sn?printfs() a string to a
1598 buffer in the array of allocations, but just stores the filename
1599 pointer and line number.
1600 https://rt.cpan.org/Ticket/Display.html?id=70388
1601
1602 Imager 0.88 - 22 Feb 2012
1603 ===========
1604
1605 - describe how to build libgif etc on OS X in such a way as to be
1606 compatible with a fat binary perl (such as the system perl), in
1607 README.
1608 https://rt.cpan.org/Ticket/Display.html?id=73371
1609
1610 - update the change notes for 0.77_01 to indicate that libungif
1611 support was removed.
1612
1613 - add some other imaging modules to SEE ALSO
1614 https://rt.cpan.org/Ticket/Display.html?id=73906
1615
1616 - note that the generator of the apparently non-DFSG-free postscript
1617 in MMOne.pfb is a Debian package.
1618
1619 - setsamples() is now a true complement to getsamples() - it can
1620 write 8-bit or floating point samples from a scalar or array
1621 reference. This adds i_psamp() and i_psampf() to the C level API.
1622
1623 - the XS interfaces to i_gsamp(), i_gsampf() and i_gsamp_bits() have
1624 changed to make better use of the typemap, but these aren't part of
1625 the perl level API anyway. There were no changes to the C level
1626 interfaces to these functions.
1627
1628 - getpixel() and setpixel() now accept a mix of scalar and array
1629 references for the x and y parameters, and unequal array lengths is
1630 no longer an error.
1631 https://rt.cpan.org/Ticket/Display.html?id=73697
1632
1633 Bug fixes:
1634
1635 - correctly calculate the size of a rotated image
1636 https://rt.cpan.org/Ticket/Display.html?id=69261
1637
1638 - fix incorrect rounding of color values for matrix_transform() and
1639 rotate().
1640 https://rt.cpan.org/Ticket/Display.html?id=69261
1641
1642 - Win32 text output is now done in normal combine mode, the alpha
1643 component of the color is now significant.
1644 https://rt.cpan.org/Ticket/Display.html?id=70014
1645
1646 - remove long unused gif case from read()
1647 https://rt.cpan.org/Ticket/Display.html?id=69244 (partial)
1648
1649 - the getsamples() target parameter was being treated as a hashref
1650 when it's meant to be an array reference.
1651 https://rt.cpan.org/Ticket/Display.html?id=74882
1652
1653 - getpixel() and setpixel() now returns an empty list when invalid
1654 parameters are supplied.
1655 Invalid values for type now result in an error for getpixel().
1656 https://rt.cpan.org/Ticket/Display.html?id=73697
1657
1658 Imager 0.87 - 03 Jan 2012
1659 ===========
1660
1661 - document the return value of the filter() method.
1662 https://rt.cpan.org/Ticket/Display.html?id=72369
1663
1664 - document i_gsamp_bits() and i_psamp_bits().
1665 https://rt.cpan.org/Ticket/Display.html?id=68815
1666
1667 - properly increment the Imager::Matrix2d $VERSION.
1668
1669 - actually include the Imager::Test tests in the dist
1670
1671 - correctly read and write 256x256 pixel ICO files
1672 https://rt.cpan.org/Ticket/Display.html?id=69599
1673
1674 - make the error message from read() or read_multi() when they can't
1675 identify the file type match reality.
1676 https://rt.cpan.org/Ticket/Display.html?id=72475
1677
1678 - read() now uses $FORMATGUESS if it can't determine the file type
1679 based on the file header, to match read_multi().
1680
1681 - re-work and add tests for def_guess_type(). def_guess_type() no
1682 longer returns any random file extension as the file type.
1683
1684 - add gray4, gray16 and gray as presets for make_colors.
1685 https://rt.cpan.org/Ticket/Display.html?id=67911
1686
1687 - add make_palette() method that produces a palette from one or more
1688 images.
1689
1690 - fix the Imager dependency for the separately distributed font
1691 drivers.
1692 https://rt.cpan.org/Ticket/Display.html?id=72643
1693
1694 - fix i_render_color() to properly draw in "normal" mode - ie. when
1695 writing to a 1 or 3 channel image the second or fourth channel of
1696 the source color was being ignored, it is now significant.
1697 https://rt.cpan.org/Ticket/Display.html?id=71564
1698
1699 Imager 0.86 - 31 Oct 2011
1700 ===========
1701
1702 - improve error reporting for W32 tests
1703
1704 Imager 0.85_02 - 24 Oct 2011
1705 ==============
1706
1707 Bug fixes:
1708
1709 - eliminate unused i_gif_opts type (clean-up)
1710 https://rt.cpan.org/Ticket/Display.html?id=69245
1711
1712 - fix combine=0 fill color anti-aliasing on the double/sample path
1713 https://rt.cpan.org/Ticket/Display.html?id=71309
1714
1715 - make default text color non-transparent
1716 https://rt.cpan.org/Ticket/Display.html?id=71469
1717
1718 - apply the last of the Debian unforwarded spelling fixes
1719 https://rt.cpan.org/Ticket/Display.html?id=70656
1720
1721 - the log() method used its message parameter as a C level format
1722 string.
1723 https://rt.cpan.org/Ticket/Display.html?id=71653
1724
1725 - provide our own STRLEN typemap entry for older perls.
1726 https://rt.cpan.org/Ticket/Display.html?id=71641
1727
1728 - add extra ppport.h configuration to support older perls.
1729
1730 - depend on Scalar::Util, since we use it and older perls don't have
1731 it.
1732
1733 - add overloaded eq to Imager::Matrix2d, since older perls don't seem
1734 to synthesize it from overloaded "".
1735
1736 - use T1_StrError() for error messages on modern libt1
1737 https://rt.cpan.org/Ticket/Display.html?id=69879
1738
1739 - actually load the font rather than just adding it to the catalog on
1740 creation.
1741
1742 - Imager::Font->new now produces better error messages for the T1
1743 engine.
1744
1745 - the font has_chars() method now returns perl's true and false
1746 values in list context rather than integers, which should be more
1747 efficient.
1748 https://rt.cpan.org/Ticket/Display.html?id=69158
1749
1750 - the btm data structure used by the flood_fill code is now
1751 initialized more efficiently.
1752 https://rt.cpan.org/Ticket/Display.html?id=68994
1753
1754 - updated the Thanks list in README
1755 https://rt.cpan.org/Ticket/Display.html?id=71607
1756
1757 - check there's at least one coefficient for the convolution filter
1758 https://rt.cpan.org/Ticket/Display.html?id=68993
1759
1760 - make the APIRef synopsis ordering consistent, older versions of
1761 perl could order it differently.
1762 https://rt.cpan.org/Ticket/Display.html?id=71675
1763
1764 - we rely on Config.pm's d_vsnprintf as to whether we use
1765 vsnprintf/snprintf, which is defined in the Win32 Config.pm even
1766 though it only has _ prefixed versions of these. Define our own
1767 prefixed names on Win32.
1768 https://rt.cpan.org/Ticket/Display.html?id=71642
1769
1770 - fix library detection with MSVC
1771
1772 - search a few more library directories, so EU::MM doesn't discard
1773 them. Hopefully fixes:
1774 https://rt.cpan.org/Ticket/Display.html?id=71643
1775
1776 Imager 0.85_01 - 10 Oct 2011
1777 ==============
1778
1779 - add simple tests for the Imager::Test test_image generators
1780
1781 - io_glue I/O buffering re-work:
1782
1783 - reorganize io_glue to do it's own buffering by default
1784
1785 - the unbuffered functions are available as i_io_raw_read() (or
1786 raw_read() from perl) etc but are not recommended for typical
1787 use.
1788
1789 - use the new i_io_peekn() when checking for file magic to avoid
1790 seek, allowing Imager to detect the file type and read the file
1791 from an unseekable stream (for formats that don't use random
1792 access)
1793
1794 - added several new I/O layer API functions.
1795
1796 - fix the TGA performance problem, most noticably on Win32
1797 https://rt.cpan.org/Ticket/Display.html?id=70037
1798
1799 - TIFF now uses wrapper functions of the correct types to avoid casts
1800 https://rt.cpan.org/Ticket/Display.html?id=69912
1801
1802 - the callback IO object did its own buffering, controlled by the
1803 maxbuffer parameter supplied to the read() and write() methods.
1804 This buffering has been removed, to avoid redundancy with the
1805 common io_glue buffering. This also avoids a bug in that code
1806 which could rarely pass a zero length to the read callback and
1807 then panic about the result.
1808
1809 - the callback IO object now tests the result of calling the close
1810 callback, which should return true for success.
1811
1812 - the PNM reader did its own buffering. This buffering has been
1813 removed to avoid redundancy with the common io_glue buffering.
1814
1815 - previously the read handlers for fd and callback I/O layers would
1816 call the underlying interface (POSIX read or your supplied callback)
1817 until it filled the buffer. It now only makes one call.
1818
1819 - added public constructors for I/O layer objects (see Imager::IO)
1820
1821 - all core file handlers now use the i_io_foo() wrappers to gain
1822 access to buffered I/O rather than calling the I/O layer
1823 callbacks directly.
1824
1825 - all core file handlers now check for error on close.
1826
1827 - Backward compatibility: if you hava custom file handlers, you can
1828 use i_io_write() etc since they're available as macros in older
1829 versions of Imager.
1830
1831 - eliminate the final remnants of io_glue_commit_types().
1832
1833 - bump IMAGER_API_VERSION, since the above may break assumptions.
1834
1835 - removed the long unused i_gen_reader() and i_gen_writer() utility
1836 functions.
1837
1838 Imager 0.85 - 29 Aug 2011
1839 ===========
1840
1841 The main changes in the release versus 0.84 are:
1842
1843 - on 64-bit systems, 64-bit types are consistently used for image
1844 dimensions and co-ordinated, and for memory block sizes.
1845
1846 - handle IFD loops in TIFF files correctly. Previously this would
1847 lead to an infinite loop.
1848
1849 Bug fixes:
1850
1851 - fix the link in the getheight() entry in the method index
1852
1853 Imager 0.84_02 - 22 Aug 2011
1854 ==============
1855
1856 Development release, this will become 0.85 if CPAN testers is
1857 favourable.
1858
1859 Bug fixes:
1860
1861 - the image file limits set by set_file_limits() weren't being
1862 checked when reading TIFF files.
1863 https://rt.cpan.org/Ticket/Display.html?id=69915
1864
1865 - Provide more information about file format module load errors on a
1866 failed image file read() or write().
1867 https://rt.cpan.org/Ticket/Display.html?id=69194
1868
1869 - use TIFFReadDirectory() instead of TIFFSetDirectory() to iterate
1870 through TIFF images, since it checks for IFD loops.
1871 https://rt.cpan.org/Ticket/Display.html?id=69914
1872
1873 - don't leak memory when out of range palette indexes are supplied to
1874 setscanline().
1875 https://rt.cpan.org/Ticket/Display.html?id=69242
1876
1877 - require a later version of CPAN::Meta to ensure JSON::PP and
1878 CPAN::Meta::YAML are available.
1879 https://rt.cpan.org/Ticket/Display.html?id=69008
1880
1881 - hoist the per-line calculations for the flines implementations, and
1882 modernize the tests a bit.
1883 https://rt.cpan.org/Ticket/Display.html?id=70126
1884
1885 - detect snprintf()/vsnprintf() (cheat by using Config.pm) and use
1886 them when available.
1887 https://rt.cpan.org/Ticket/Display.html?id=69147
1888
1889 - if t1lib failed to reinitialize it would be left as marked
1890 initialized.
1891 https://rt.cpan.org/Ticket/Display.html?id=69877
1892
1893 - update the bundled (and still modified) Devel::CheckLib
1894 https://rt.cpan.org/Ticket/Display.html?id=69170
1895
1896 Imager 0.84_01 - 8 Aug 2011
1897 ==============
1898
1899 Development release as a sanity check for the types re-work.
1900
1901 Massive types re-work:
1902
1903 - the type used internally for pixel co-ordinates and image sizes is
1904 now 64-bit on 64-bit platforms (at least sane ones).
1905
1906 - size_t is now used consistently for memory block sizes.
1907
1908 - since this changes the binary interface, the Imager API version has
1909 been incremented. Any module that uses the API will need to be
1910 rebuilt. In most cases that will be enough, but calls to any APIs
1911 that take a pointer to image sizes may need source changes.
1912
1913 - you should be able to create very large images on 64-bit systems,
1914 if you have enough memory. Successfully created a 32768 x 49192 x
1915 3 channel image, filled with a tiled image and scaled it. The
1916 unscaled image was also successfully saved to a JPEG.
1917
1918 - check the image size before attempting to write BMP, GIF, JPEG,
1919 PNG, SGI, TGA, TIFF images.
1920
1921 - correctly handle reading TGA images over 32767 pixels wide or tall.
1922
1923 Incidental changes:
1924
1925 - the gif_left and gif_top tags are now clamped to non-negative
1926 values when writing a GIF image.
1927
1928 - removed dead callback read/write code
1929
1930 The default maximum memory size when reading files is now 1G.
1931
1932 Imager 0.84 - 20 Jun 2011
1933 ===========
1934
1935 - Imager no longer inherits from Exporter (unless you're running an
1936 old, old perl.
1937
1938 - Imager can now write progressive JPEGs (it could always read them).
1939 https://rt.cpan.org/Ticket/Display.html?id=68691
1940
1941 Bug fixes:
1942
1943 - re-work, document and test Imager's logging facility.
1944 https://rt.cpan.org/Ticket/Display.html?id=65227
1945
1946 - fix META.yml testing and the generated META.yml
1947 https://rt.cpan.org/Ticket/Display.html?id=65235
1948
1949 - test and add error reporting to to_*() family methods
1950
1951 - add to_rgb_double() method.
1952 https://rt.cpan.org/Ticket/Display.html?id=65101
1953
1954 - Imager no longer exports anything by default
1955 https://rt.cpan.org/Ticket/Display.html?id=65228
1956
1957 - convert colors to grayscale if the supplied (or generated) palette
1958 contains only grays when performing error diffusion color
1959 translation.
1960 https://rt.cpan.org/Ticket/Display.html?id=68508
1961
1962 - writing a paletted image to GIF wouldn't always use the colors
1963 supplied (or generated, eg. via make_colors => "mono"), which was
1964 confusing at best.
1965 https://rt.cpan.org/Ticket/Display.html?id=67912
1966
1967 - replace (imager|tony)@imager.perl.org in the doc, since I don't
1968 plan to continue receiving mail at that address.
1969 https://rt.cpan.org/Ticket/Display.html?id=68591
1970
1971 Imager 0.83 - 21 May 2011
1972 ===========
1973
1974 Bug fixes:
1975
1976 - diag() the error message on failure for some TIFF tests that are
1977 failing on a Solaris smoker.
1978 http://www.cpantesters.org/cpan/report/6396db1e-8090-11e0-9682-112b785ebe45
1979
1980 Imager 0.82_01 - 17 May 2011
1981 ==============
1982
1983 Dev release, in case the compose tests are too sensitive.
1984
1985 Bug fixes:
1986
1987 - Imager::Font::T1 incorrectly checked for absolute filename under
1988 Win32. Thanks to kmx for the report and fix.
1989 https://rt.cpan.org/Ticket/Display.html?id=67963
1990
1991 - compose() with the target, source or mask position off the top or
1992 left of the target image didn't clip the source image correctly.
1993 https://rt.cpan.org/Ticket/Display.html?id=67220
1994
1995 - compose() now returns a useful error message on a non-positive
1996 opacity.
1997
1998 - compose.im now at 100% test coverage. (As opposed to, umm, much,
1999 much less.)
2000
2001 Imager 0.82 - 14 Mar 2011
2002 ===========
2003
2004 Bug fixes:
2005
2006 - eliminate calls to i_has_format() from the test suite, since it's
2007 no longer a useful way to check for file format support. Eliminate
2008 i_has_format() from the functions exposed via XS.
2009 https://rt.cpan.org/Ticket/Display.html?id=65863
2010
2011 - eliminate calls to note(), which isn't in the (very old) version of
2012 Test::More we have as a pre-requisite. note() is modern enough
2013 that I don't feel a need to require a Test::More upgrade for it.
2014 https://rt.cpan.org/Ticket/Display.html?id=65864
2015
2016 - skip the threads tests on Test::More 2.00_*
2017 https://rt.cpan.org/Ticket/Display.html?id=65812
2018
2019 - add an (unshipped) test to check Imager's internal POD links
2020 https://rt.cpan.org/Ticket/Display.html?id=65749
2021
2022 - improve the library detection summary
2023 https://rt.cpan.org/Ticket/Display.html?id=9675
2024
2025 - increase the version of Imager::Font::Type1 so that upgrades don't
2026 downgrade the version in this file.
2027 https://rt.cpan.org/Ticket/Display.html?id=66250
2028
2029 - if we see an -rpath (or -R) option in $Config{lddlflags} supply
2030 that option for the directories that would normally go in
2031 LD_RUN_PATH. Typically an explicit -rpath overrides LD_RUN_PATH.
2032 https://rt.cpan.org/Ticket/Display.html?id=65955
2033
2034 Imager 0.81 - 14 Feb 2011
2035 ===========
2036
2037 - added coverage tests for masked images (maskimg.c @100% test coverage)
2038
2039 - add hsv() method to Imager::Color
2040 Thanks to Leolo (Philip Gwyn)
2041 https://rt.cpan.org/Ticket/Display.html?id=65385
2042
2043 - split libt1 Type 1 font support into a sub-module
2044 https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
2045
2046 - add a preload() class method for use in forking servers, and to
2047 work around limitations in PAR.
2048 https://rt.cpan.org/Ticket/Display.html?id=65665
2049
2050 Bug fixes:
2051
2052 - paletted writes to a masked image are now masked correctly.
2053 Revealed by new coverage tests.
2054
2055 - update the filter plugin documentation.
2056 https://rt.cpan.org/Ticket/Display.html?id=56513
2057
2058 - add the matrix() method to Imager::Matrix2d to allow creation of a
2059 matrix with specified co-efficients. You can now multiple an
2060 Imager::Matrix2d object by a 9 element array ref or a number.
2061 https://rt.cpan.org/Ticket/Display.html?id=29938
2062
2063 - really fix loading TTF fonts with FT2 when FT1 isn't available.
2064 Thanks to Leolo (Philip Gwyn)
2065 https://rt.cpan.org/Ticket/Display.html?id=65386
2066 https://rt.cpan.org/Ticket/Display.html?id=62855
2067
2068 - make sure each test script that needs testout/ creates it.
2069 https://rt.cpan.org/Ticket/Display.html?id=65088
2070
2071 - handle a slightly different warning from libtiff 4.x
2072 https://rt.cpan.org/Ticket/Display.html?id=65268
2073
2074 - the sat transform2() op returned an incorrect saturation.
2075 https://rt.cpan.org/Ticket/Display.html?id=65391
2076
2077 Imager 0.80 - 17 Jan 2011
2078 ===========
2079
2080 - added coverage tests for Imager::Fountain and Imager::Color::Float
2081
2082 - Imager is now maintained in git
2083 http://git.imager.perl.org/imager.git
2084 git://git.imager.perl.org/imager.git
2085
2086 Bug fixes:
2087
2088 - images with an translucent alpha channel were not scaled correctly
2089 by the default (qtype=normal) scaling method.
2090 https://rt.cpan.org/Public/Bug/Display.html?id=63922
2091
2092 - Imager::Color::Float now translates "#FFFFFF" to white instead of
2093 just a little darker.
2094
2095 - make the default color map build algorithm "mediancut". This
2096 changes the default color map builder for writing GIFs back to what
2097 it was in 0.77, reverting a performance regression.
2098 https://rt.cpan.org/Ticket/Display.html?id=64785
2099
2100 - handle failure to create a masked image correctly
2101
2102 Imager 0.79 - 10 Dec 2010
2103 ===========
2104
2105 - add Imager::Test to the POD coverage tests and document the missing
2106 functions.
2107
2108 - the convert() method now optimizes the case where all output
2109 channels are either 0, sourced from a single input channel or 1.
2110 This significantly speeds up presets like "addalpha", "green".
2111 https://rt.cpan.org/Ticket/Display.html?id=51254
2112
2113 - add wiggle.pl sample, as suggested by Dan Oppenheim.
2114
2115 - add the combine() method to combine channels from multiple source
2116 images into a new image
2117 https://rt.cpan.org/Ticket/Display.html?id=11872
2118
2119 Bug fixes:
2120
2121 - treat the co-efficients for convert() as doubles instead of floats.
2122
2123 - If a higher (earlier) priority font handler failed to load, that
2124 would crash preventing loading of later font handlers.
2125 https://rt.cpan.org/Ticket/Display.html?id=62855
2126
2127 - parse defines from the options returned by pkg-config --cflags
2128 https://rt.cpan.org/Ticket/Display.html?id=63223
2129
2130 - a regen of the MANIFEST revealed that GIF and FT2 tests weren't
2131 included in the tarball. They are now included.
2132
2133 Imager 0.78 - 4 Oct 2010
2134 ===========
2135
2136 Bug fixes:
2137
2138 - don't access deprecated members of the png_structp.
2139 https://rt.cpan.org/Ticket/Display.html?id=60242
2140
2141 - document that using color objects is faster than supplying colors
2142 by name, etc.
2143 https://rt.cpan.org/Ticket/Display.html?id=61047
2144
2145 - Imager::Probe now accepts array references for incpath and libpath.
2146 https://rt.cpan.org/Ticket/Display.html?id=60244
2147
2148 Imager 0.77_02 - 27 Sep 2010
2149 ==============
2150
2151 - moved Win32, FreeType 2 font support into sub-modules.
2152 https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
2153 Uses Imager::Probe now.
2154 https://rt.cpan.org/Public/Bug/Display.html?id=61328
2155
2156 - tested successfully with jpeg-8b
2157 https://rt.cpan.org/Ticket/Display.html?id=60221
2158
2159 Bug fixes:
2160
2161 - from _01: look for missing file support test files in the right
2162 places.
2163
2164 - flood_fill() wouldn't fill the right side of a single scan-line
2165 fill area.
2166 Thanks to Nicolas Roggli for reporting this.
2167
2168 - flood_fill wouldn't fill to the left edge of the image if the
2169 starting line didn't reach the left edge.
2170 Thanks to Nicolas Roggli for reporting this.
2171
2172 Imager 0.77_01 - 13 Sep 2010
2173 ==============
2174
2175 - add each library-directory/pkgconfig/ to the pkg-config search path
2176 in Imager::Probe.
2177 Thanks to Justin Davis.
2178 https://rt.cpan.org/Ticket/Display.html?id=60491
2179
2180 - moved GIF, TIFF, JPEG file handling code into sub-modules in
2181 preparation for separate distribution.
2182 https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
2183
2184 Note: this removed support for libungif from Imager.
2185
2186 - optimize filled box drawing (color, not fill)
2187
2188 Bug fixes:
2189
2190 - Imager::Probe was calling ExtUtils::Liblist to initialize
2191 LD_RUN_PATH supplying an undefined value rather than the found
2192 directory. Thanks to Justin Davis.
2193 https://rt.cpan.org/Ticket/Display.html?id=60491
2194
2195 - only prepend ./ to font filenames when passing them to T1Lib and
2196 then only when it would use its search mechanisms.
2197 https://rt.cpan.org/Ticket/Display.html?id=60509
2198
2199 - fix the cache check for the X rgb.txt loader. This is typically
2200 used for color translation on Unix-like systems, and the fix
2201 improves performance of supplying colors by name by about 80 times.
2202 Test code that managed 3400 10x10 pixel boxes/second sped up to
2203 25700 boxes/second.
2204
2205 - clarify that Imager doesn't write EXIF metadata to images.
2206 https://rt.cpan.org/Ticket/Display.html?id=60637
2207
2208 - Imager::Probe can now search subdirectories under its include path.
2209 Used by the PNG Makefile.PL to find headers and libraries when they
2210 aren't in the base directory, as in cygwin.
2211 https://rt.cpan.org/Ticket/Display.html?id=60635
2212
2213 Imager 0.77 - 11 Aug 2010
2214 ===========
2215
2216 I don't want Imager::File::PNG indexed as part of Imager, but forgot
2217 to update the META.yml before updating the version.
2218
2219 - don't index Imager::File::PNG as part of Imager
2220
2221 - add resources to META.yml
2222
2223 Imager 0.76 - not released
2224 ===========
2225
2226 Bug fixes:
2227
2228 - the align_string() method would ignore a string of "0" due to a
2229 mis-use of C< ||= >.
2230 Thanks to Maurice Height for reporting this.
2231 https://rt.cpan.org/Ticket/Display.html?id=60199
2232
2233 Imager 0.75_03 - 09 Aug 2010
2234 ==============
2235
2236 Bug fixes:
2237
2238 - read_types() and write_types() would include png when it wasn't
2239 available due to a problem with the %formats tie
2240
2241 - handle dependent libraries correctly (eg -lpng requiring -lz) in
2242 the code run phase of library probing.
2243
2244 Imager 0.75_02 - 07 Aug 2010
2245 ==============
2246
2247 Bug fixes:
2248
2249 - add file missing from MANIFEST, which was causing TIFF failures.
2250
2251 Imager 0.75_01 - 06 Aug 2010
2252 ==============
2253
2254 Test release for the new PNG probe.
2255
2256 - added the ability to read multiple-image PNM files.
2257 Note that unlike the pbm/pgm/ppm specification this accepts mixed
2258 format files and allows white space padding between files.
2259 Thanks to Philip Gwyn (Leolo) for this patch.
2260
2261 - moved the PNG file handling code into a sub-module in preparation
2262 for separate distribution.
2263 https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
2264 Also helps avoid complications from -I/-L compile/link options from
2265 other libraries.
2266
2267 Bugs:
2268
2269 - Imager->new(data => $data) didn't try to process image file data in
2270 $data
2271 https://rt.cpan.org/Ticket/Display.html?id=58761
2272
2273 - t/t50basicoo.t no longer depends on the other tests to generate its
2274 input files.
2275 https://rt.cpan.org/Ticket/Display.html?id=9798
2276 Also, it wasn't testing pnm (pnm vs ppm mix-up)
2277
2278 - update the documentation of hardinvert to match the change in 0.62.
2279 https://rt.cpan.org/Ticket/Display.html?id=59785
2280
2281 - added hardinvertall filter which also inverts the alpha channel
2282 (sorry for the mess)
2283
2284 - when probing for TIFF, set LD_RUN_PATH just as the Makefile does so
2285 the probe can find the library for the test run.
2286 https://rt.cpan.org/Ticket/Display.html?id=57518
2287
2288 Imager 0.75 - 20 Jun 2010
2289 ===========
2290
2291 - use PERL_NO_GET_CONTEXT to slightly improve performance on threaded
2292 perls (not measured)
2293
2294 Bugs:
2295
2296 - an opacity fill based on a fountain fill would segfault when
2297 filling an 8-bit/sample image.
2298
2299 - merge thickline branch polygon fix
2300 https://rt.cpan.org/Ticket/Display.html?id=43518
2301
2302 Imager 0.74 - 7 May 2010
2303 ===========
2304
2305 Bug fixes:
2306
2307 - read_multi() didn't handle a missing file format library correctly,
2308 aborting on failing to call i_readgif_multi_wiol() or
2309 i_readtiff_multi_wiol().
2310
2311 - fix spelling errors patched by Debian
2312 http://svn.debian.org/viewsvn/pkg-perl/trunk/libimager-perl/debian/patches/spelling.patch?revision=54839&view=markup
2313
2314 - add an (unshipped) author test to spellcheck Imager's POD.
2315
2316 - update the TIFF file format documentation
2317 https://rt.cpan.org/Ticket/Display.html?id=56510
2318
2319 - lib/Imager/IO.pod was written almost 4 years ago but never shipped.
2320
2321 Imager 0.73 - 15 Mar 2010
2322 ===========
2323
2324 - implement outline circles, both anti-aliased and not
2325 https://rt.cpan.org/Ticket/Display.html?id=19755
2326
2327 - a combine => "none" fill to a 1 or 3 channel image would produce
2328 the incorrect colour.
2329
2330 Imager 0.72 - 09 Dec 2009
2331 ===========
2332
2333 Bump version for release, since 0.71_03 is stable with CPAN testers.
2334
2335 Imager 0.71_03 - 5 Dec 2009
2336 ==============
2337
2338 - further adjust the threads test so it only performs the tests on
2339 perls where it's expected to work, and only if the threads module
2340 can be loaded.
2341
2342 Imager 0.71_02 - 1 Dec 2009
2343 ==============
2344
2345 - adjust the way we load the threads module for the threads test so
2346 it works with non-threaded perls
2347
2348 Imager 0.71_01 - 30 Nov 2009
2349 ===========
2350
2351 Bug fixes:
2352
2353 - use scanline oriented operations to flip images instead of pixel
2354 operations
2355 https://rt.cpan.org/Ticket/Display.html?id=39278
2356
2357 - use double/sample operations to flip large sample images instead of
2358 8-bit sample operations.
2359 https://rt.cpan.org/Ticket/Display.html?id=39280
2360
2361 - fix POD nits
2362 https://rt.cpan.org/Ticket/Display.html?id=51874
2363
2364 - prevent double-frees when someone creates Imager objects and then
2365 creates a thread. Note: this just handles some simple cases,
2366 Imager doesn't support perl threads, and isn't likely to.
2367 https://rt.cpan.org/Ticket/Display.html?id=52268
2368
2369 Imager 0.71 - 16 Nov 2009
2370 ===========
2371
2372 - add the opacity fill type - an adaptor that modifies the opacity of
2373 another fill.
2374
2375 Bug fixes:
2376
2377 - the conv filter now enforces that the sum of the coefficients is
2378 non-zero. Also, rather than skipping pixels off the edge off the
2379 edge of the image, the closest edge pixel is used. Previously
2380 dividing by the zero sum of coefficients could cause invalid
2381 results or runtime exceptions.
2382 Thanks to David Cantrell's Alpha-NetBSD CPAN test box for revealing
2383 this bug.
2384
2385 Imager 0.70 - 21 Sep 2009
2386 ===========
2387
2388 Bug fixes:
2389
2390 - release image row and comments memory on all error returns in gif
2391 reader
2392
2393 - handle zero length extensions, previously this would cause a null
2394 pointer dereference
2395 Thanks to Krzysztof WojtaÅ› for the test data and fix for this.
2396
2397 - an integer division meant that preview scaling to below 1 pixel
2398 wide or high (which isn't too useful anyway) was calculating using
2399 NaNs on most platforms, and causing an exception on others.
2400 Thanks to David Cantrell for producing a backtrace of the crash on
2401 his Alpha-NetBSD CPAN test box which made it possible to track this
2402 down.
2403
2404 Imager 0.69 - 08 Sep 2009
2405 ===========
2406
2407 Bug fixes:
2408
2409 - broken test fix - was attempting to call a function skip_all, when
2410 that should be a parameter to plan().
2411
2412 - briefly document apidocs.perl, the tool used to build
2413 Imager::APIRef and make some minor enhancements
2414
2415 - various minor documentation enhancements and fixes.
2416
2417 Imager 0.68 - 07 Sep 2009
2418 ===========
2419
2420 - Imager->new(file => $filename) and other similar incantations will
2421 load the given file.
2422 https://rt.cpan.org/Ticket/Display.html?id=48261
2423
2424 Bug fixes:
2425
2426 - avoid using CHECK as a label in Imager::Test
2427 http://nntp.x.perl.org/group/perl.cpan.testers/5220921
2428
2429 - re-work most image file test files that require a library into
2430 separate library present/not present files to remove stupidly long
2431 conditionals
2432
2433 - don't treat rubthrough() outside the bounds of the target image as
2434 an error.
2435 http://nntp.x.perl.org/group/perl.cpan.testers/5185716
2436
2437 Imager 0.67_01 - 02 Sep 2009
2438 ==============
2439
2440 Bug fixes:
2441
2442 - correct documentation of default of raw image interleave read
2443 parameter
2444 https://rt.cpan.org/Ticket/Display.html?id=42074
2445
2446 - add raw_ prefix to raw read parameters, though the original names
2447 still work.
2448
2449 - fail the read if an invalid raw_interleave parameter is supplied
2450
2451 - warn if no interleave or raw_interleave parameter is supplied,
2452 since the documented default was wrong, and incompatible with the
2453 write format
2454
2455 - for reading raw images, if raw_storechannels > raw_datachannels,
2456 set the extra channels in the image to 0
2457
2458 - when probing for executables like freetype-config, search for .bat
2459 and .cmd on MSWin32, as well as .exe.
2460 https://rt.cpan.org/Ticket/Display.html?id=49275
2461
2462 - re-work the external libraries section of README:
2463 - list Debian and Redhat package names for each library
2464 - reformatting
2465 - update URLs
2466
2467 - use the new EU::MM META_MERGE facility instead of generating
2468 META.yml from scratch
2469 https://rt.cpan.org/Ticket/Display.html?id=47888
2470
2471 - use Devel::CheckLib (bundled, modified) to check which release of
2472 libtiff is installed and reject 3.9.0
2473 http://bugzilla.maptools.org/show_bug.cgi?id=2088
2474 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543079
2475
2476 Imager 0.67 - 12 Dec 2008
2477 ===========
2478
2479 Bug fixes:
2480
2481 - fix a packaging error
2482
2483 Imager 0.66 - 12 Dec 2008
2484 ===========
2485
2486 - 24-bit color .ICO/.CUR files can now be read.
2487
2488 Bug fixes:
2489
2490 - an optimization skipping 0 src alpha values could cause the
2491 rubthrough() to read past the end of a buffer.
2492 http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1509184.html
2493
2494 - corrected a reference leak where writing GIFs would leak memory.
2495 This could also happen calling to_paletted().
2496 Also documented the underlying long existing feature where the
2497 colors parameter is filled with the generated color table and added
2498 tests for it.
2499 http://rt.cpan.org/Ticket/Display.html?id=41028
2500
2501 - write out the image size in bytes field of a BMP correctly.
2502 http://rt.cpan.org/Ticket/Display.html?id=41406
2503
2504 - add limited tests for Imager::ExtUtils
2505
2506 - make Imager::ExtUtils->includes use an absolute path, since
2507 a relative path could cause failures using Inline::C.
2508 http://rt.cpan.org/Ticket/Display.html?id=37353
2509
2510 - re-arrange the POD for Imager::Font::BBox:
2511 - mark total_width(), pos_width(), end_offset() obsolete, since
2512 they're mostly for backwards compatibility
2513 - group width methods and height methods
2514 https://rt.cpan.org/Ticket/Display.html?id=39999
2515
2516 Imager 0.65 - 20 May 2008
2517 ===========
2518
2519 Bug fixes:
2520
2521 - In some cases when an error occurs reading those parts of a JPEG
2522 file after the image the scan-line buffer could be freed a second
2523 time. In cases where the the error occured while reading the image
2524 data it's possible that the buffer could have leaked.
2525 Thanks to Gabriel Vasseur for reporting this and help in tracking
2526 it down.
2527
2528 - the gif_screen_height tag was overriding the screen width and being
2529 ignored for the screen height when present.
2530 https://rt.cpan.org/Public/Bug/Display.html?id=35568
2531
2532 Imager 0.64 - 23 April 2008
2533 ===========
2534
2535 This is a bug fix release. This includes a fix for a possible
2536 security issue.
2537
2538 Bug fixes:
2539
2540 - Possible security issue: The floating point sample path for image
2541 based fills had a buffer overflow. This would overwrite the end of
2542 a malloc()ed buffer with double precision floats.
2543 http://rt.cpan.org/Ticket/Display.html?id=35324
2544 CVE-2008-1928
2545
2546 - check that the result of fileno($fh) is defined rather than simply
2547 true when read() or write() is supplied with an fh parameter.
2548 http://rt.cpan.org/Ticket/Display.html?id=35139
2549
2550 - i_scale_axis() wasn't checking the result of i_img_new_ch()
2551 resulting in a SIGSEGV when attempting to scale an image to a size
2552 too large to fit in memory. This is a NULL pointer access issue,
2553 not a buffer overflow.
2554 Added a check for the failure.
2555 scale_calculate() (and hence scale()) will now fail if any of the
2556 scale size parameters are a reference.
2557 http://rt.cpan.org/Ticket/Display.html?id=35172
2558
2559 - Regression: filling a greyscale image with a hatch used the wrong
2560 color channels from the supplied fg/bg colors.
2561 https://rt.cpan.org/Ticket/Display.html?id=35278
2562
2563 - fixed a related problem for image fills.
2564
2565 Imager 0.63 - 7 April 2008
2566 ===========
2567
2568 This release primarily contains changes to improve ease of use -
2569 rather than you having to convert images to the appropriate number of
2570 channels, Imager handles it internally. How to handle drawing colors
2571 and the default combine mode is a thornier problem left for some other
2572 release.
2573
2574 - the font libraries are now only initialized when needed.
2575 http://rt.cpan.org/Ticket/Display.html?id=28825
2576
2577 - moved the imtoc.perl code into Imager::Preprocess
2578
2579 - paste() and rubthrough() now adapt the source image data to the
2580 destination, so you can now safely paste/rubthrough from greyscale
2581 images to color images or back, or from alpha channel images to
2582 noalpha channels or back.
2583 https://rt.cpan.org/Ticket/Display.html?id=30908
2584
2585 - rubthrough() now falls back to pasting when the source doesn't have
2586 an alpha channel. This effectively treats the source as having a
2587 max alpha channel, the right thing to do.
2588 http://rt.cpan.org/Ticket/Display.html?id=29944
2589
2590 - re-worked most of the area filling code to use a common set of
2591 functions when filling.
2592 Corrected normal combine mode.
2593 Rewrote most of the combine modes to match the way the SVG draft
2594 defines them with respect to a translucent source and destination.
2595 Added tests for translucent source and destination.
2596 Added tests to check 8-bit/sample and double/sample combines work
2597 similarly.
2598 https://rt.cpan.org/Ticket/Display.html?id=29879
2599
2600 - writing a 2 or 4 channel image to a JPEG file will now write that
2601 image as if composited against a background, black by default,
2602 overridable with the i_background tag/parameter.
2603 https://rt.cpan.org/Ticket/Display.html?id=29876
2604
2605 - writing a 2 or 4 channel image to a PGM/PPM file will now write
2606 that image as if composited against a background, black by default,
2607 overridable with the i_background tag/parameter.
2608 http://rt.cpan.org/Ticket/Display.html?id=30074
2609
2610 - writing a 2 or 4 channel image to a BMP file will now write that
2611 image as if composited against a background, black by default,
2612 overridable with the i_background tag/parameter.
2613 http://rt.cpan.org/Ticket/Display.html?id=30075
2614
2615 Bug fixes:
2616
2617 - Imager::Matrix2d->translate() now only requires one of the x or y
2618 parameters.
2619 http://rt.cpan.org/Ticket/Display.html?id=29937
2620
2621 - mixing qtype scaling now sets all channels of a pixel to zero if
2622 the pixel has zero coverage (zero alpha). This should produce more
2623 compressible output files.
2624 http://rt.cpan.org/Ticket/Display.html?id=32324
2625
2626 - removed the pointless #! line from lib/Imager/Font/Wrap.pm
2627 Noticed when I saw:
2628 https://bugzilla.redhat.com/show_bug.cgi?id=166254
2629 I'm not changing the #! lines of the sample code, since it's sample
2630 code, not intended for installation.
2631 http://rt.cpan.org/Ticket/Display.html?id=33408
2632
2633 - some TGA images weren't being detected correctly as TGA images
2634 https://rt.cpan.org/Ticket/Display.html?id=32925
2635
2636 - handling of the left-over bit for 16-bit/pixel TGA images has been
2637 changed to match the behaviour of the GIMP. Previously the bit
2638 being set was treated as an opaque pixel, but one user reported a
2639 problem with loading such an image. I haven't been able to find any
2640 tools beyond the GIMP that handle alpha-channel 16-bit TGAs, so
2641 I'll match it's behaviour. See issue 114913 in the GIMP's
2642 bugzilla.
2643 http://rt.cpan.org/Ticket/Display.html?id=32926
2644
2645 Imager 0.62 - 10 December 2007
2646 ===========
2647
2648 - Makefile.PL now expands ~/path supplied to --incpath or --libpath
2649 to /path under your home directory.
2650 http://rt.cpan.org/Ticket/Display.html?id=29484
2651
2652 - the old dynaload code used Mach API functions to load dynamic
2653 libraries on Mac OS X. These APIs have been deprecated in OS X
2654 10.5 and were causing some build problems.
2655 So henceforth Imager uses the dlopen() family of functions, and you
2656 will need version 10.3 or later of OS X.
2657
2658 - added the det() function to the transform2() engine.
2659 added the sample quad_to_square.pl
2660 Courtesy Richard Fairhurst.
2661 http://rt.cpan.org/Ticket/Display.html?id=31244
2662
2663 Bug fixes:
2664
2665 - samples/gifscale.pl sourced the base value for gif_top from
2666 gif_left.
2667 Thanks to Eleneldil G. Arilou for pointing this out.
2668
2669 - t/t82inline.t no longer loads B at runtime, to work around a bug
2670 in some 5.005_0[45] installations.
2671 http://rt.cpan.org/Ticket/Display.html?id=30508
2672
2673 - work around Module::Depends::Intrusive bug #21229
2674 http://rt.cpan.org/Ticket/Display.html?id=30520
2675
2676 - the hardinvert filter no-longer inverts the alpha channel.
2677 http://rt.cpan.org/Ticket/Display.html?id=30002
2678
2679 - the hardinvert filter now supports large samples
2680
2681 Imager 0.61_02 - 28 November 2007
2682 ==============
2683
2684 - major TIFF support re-work
2685 http://rt.cpan.org/Ticket/Display.html?id=20329
2686
2687 - added a C level image interface for accessing samples from 1-32
2688 bits, exposed this at the perl level in getsamples()
2689
2690 - the conv filter now works at floating point precision for high bit
2691 images
2692
2693 - added is_bilevel method to test whether an image should be written as
2694 a bilevel image if the image format supports it.
2695
2696 - added -log-stderr as an Imager import list option
2697
2698 - added some important types to Imager::APIRef
2699
2700 - added test_image_double() to Imager::Test
2701
2702 Bug fixes:
2703
2704 - Imager::Fountain couldn't read GIMP gradient files with 10 or more
2705 segments
2706
2707 - the scale() method with qtype mixing now handles images with an
2708 alpha channel correctly.
2709
2710 - fixed a broken link from the "animated GIF" entry in the concept index.
2711 Thanks to Slaven Rezic.
2712 http://rt.cpan.org/Ticket/Display.html?id=30889
2713
2714 - on some perl's the infix expression parser test would fail due to
2715 actions in the grammar returning false. Made sure all actions return
2716 a true value.
2717 Thanks to Richard Fairhurst for spending a lot of time in tracking
2718 down this problem.
2719 http://rt.cpan.org/Public/Bug/Display.html?id=29562
2720
2721 Imager 0.61 - 5 November 2007
2722 ===========
2723
2724 - added samples/gifscale.pl, which adjusts the screen size/position tags
2725 when scaling an animated gif
2726 http://rt.cpan.org/Ticket/Display.html?id=27591
2727
2728 Bug fixes:
2729
2730 - correct handling of sz in matrix_transform() - this should allow
2731 perspective type transformations to work now.
2732 http://rt.cpan.org/Ticket/Display.html?id=29936
2733
2734 - prevent a cast to integer warning on x64 builds in datatypes.c
2735 also fixed some other type warnings
2736 https://rt.cpan.org/Ticket/Display.html?id=30204
2737
2738 - some sub-directory tests depended on files produced by the parent
2739 directory tests
2740 http://rt.cpan.org/Ticket/Display.html?id=30203
2741
2742 - Imager::Font::Wrap doesn't correctly set savepos
2743 thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this.
2744 http://rt.cpan.org/Ticket/Display.html?id=29771
2745
2746 - test 171 in t/t01introvert.t was failing on perls configured to
2747 use long double.
2748 http://rt.cpan.org/Ticket/Display.html?id=29413
2749
2750 - the code for the transform2() uminus operator was missing a break.
2751 Added tests for better code coverage of the ops.
2752 http://rt.cpan.org/Ticket/Display.html?id=29296
2753
2754 - the SGI RLE compression code could overflow its compression buffer
2755 http://rt.cpan.org/Ticket/Display.html?id=30334
2756
2757 - the 32-bit output function used by the SGI code only handled values
2758 under 0x10000. This was most noticable when writing large RLE images.
2759 http://rt.cpan.org/Ticket/Display.html?id=30335
2760
2761 - validate chan_count for chans == NULL for each of the i_gsamp()
2762 implementations.
2763 http://rt.cpan.org/Ticket/Display.html?id=28985
2764
2765 - attempt to work around the test failure at
2766 http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html
2767 http://rt.cpan.org/Ticket/Display.html?id=29562
2768
2769 - improve the error messages produced when attempting to read or write
2770 an unknown image file format.
2771 http://rt.cpan.org/Ticket/Display.html?id=30103
2772
2773 - improve the transform2() documentation
2774 http://rt.cpan.org/Ticket/Display.html?id=29267
2775
2776 - correctly generate the author key in META.yml
2777 http://rt.cpan.org/Ticket/Display.html?id=30377
2778
2779 - correctly blend a rotated (or matrix_transformed()) image when
2780 performing interpolation in the presence of an alpha channel.
2781 Also corrected the centring of the rotated image on the output
2782 image.
2783
2784 Imager 0.60 - 30 August 2007
2785 ===========
2786
2787 - Finished/rewrote Arnar's old SGI RGB file format support, so Imager
2788 now has full SGI RGB image format, including RLE and 16-bit/sample
2789 images.
2790 https://rt.cpan.org/Ticket/Display.html?id=8666
2791
2792 - logging functions are now available in the API
2793
2794 - applied Gabriel Vasseur's patch
2795 added documentation, further tests, and support for greyscale images
2796 Obviously problems are my fault :)
2797 https://rt.cpan.org/Ticket/Display.html?id=28142
2798
2799 - the mask for ICO/CUR images is now applied as an alpha channel to
2800 the returned image. For the old behaviour, supply ico_masked => 0
2801 to read() or read_multi(). This should be less confusing when
2802 using Imager as a general image processor.
2803 https://rt.cpan.org/Ticket/Display.html?id=29001
2804
2805 Bug fixes:
2806
2807 - in some cases it's possible for giflib/libungif to return color
2808 indexes outside the range of colors defined by the image's palette.
2809 We now expand the palette to match the indexes used.
2810 Thanks to Gabriel Vasseur for reporting this.
2811
2812 - fixed various memory leaks that could occur when failing to read png,
2813 jpeg, bmp or tga files.
2814
2815 - to avoid confusion, channels not present in the image are returned as
2816 zero by getscanline(). This has no effect on the C level i_glin()
2817 and i_glinf() API functions which continue to not set the unused
2818 channels.
2819
2820 - the convert() method now returns an image of the same sample size as
2821 the source image.
2822 https://rt.cpan.org/Ticket/Display.html?id=28492
2823
2824 - remove repeated text in Imager::Files
2825 http://rt.cpan.org/Ticket/Display.html?id=27589
2826
2827 - be even more explicit that scale() and friends don't modify the source
2828 image, but return a new image.
2829 http://rt.cpan.org/Ticket/Display.html?id=28570
2830
2831 - improve the error message from errstr() when you try to load a font
2832 for which the driver hasn't been built in Imager.
2833 http://rt.cpan.org/Ticket/Display.html?id=27571
2834
2835 - transparency is now enabled by default when writing GIF images
2836 http://rt.cpan.org/Ticket/Display.html?id=27615
2837
2838 - Imager would not load on Windows 98
2839 http://rt.cpan.org/Ticket/Display.html?id=27653
2840
2841 Imager 0.59 - 14 June 2007
2842 ===========
2843
2844 Bug fixes:
2845
2846 - fixes a regression introduced by the fixes for RT 11972
2847 http://rt.cpan.org/Ticket/Display.html?id=27546
2848
2849 - cropping outside the image would return an Imager object with
2850 no low-level image object, instead of returning false.
2851 Fixed by: Philip Gwyn (Leolo)
2852 http://rt.cpan.org/Ticket/Display.html?id=27509
2853
2854 Imager 0.58 - 16 May 2007
2855 ===========
2856
2857 No significant changes from 0.57_01.
2858
2859 Imager 0.57_01 - 11 May 2007
2860 ==============
2861
2862 - added to_rgb16 to produce a 16-bit/sample version of an image
2863
2864 - improve freetype 1.x text output efficiency
2865
2866 Bug fixes:
2867
2868 - search another place for rgb.txt, and check all the places
2869 Imager::Color checks when deciding whether to skip testing it
2870 http://rt.cpan.org/Ticket/Display.html?id=26064
2871
2872 - use a convolution kernel size based on the stddev rather than a
2873 fixed size when performing a gaussian blur
2874 http://rt.cpan.org/Ticket/Display.html?id=25645
2875
2876 - document the difference() method's mindist parameter, and debug it.
2877
2878 - put the Imager release number in the Inline::C generated code to
2879 regenerate Inline code when a new release of Imager is installed.
2880 http://rt.cpan.org/Ticket/Display.html?id=26278
2881
2882 - fix rendering on alpha channel images for the FreeType 1.x driver.
2883 http://rt.cpan.org/Ticket/Display.html?id=11972
2884
2885 - fix rendering on alpha channel images for the T1lib driver.
2886 http://rt.cpan.org/Ticket/Display.html?id=11972
2887
2888 - reworked library probing, we can now set more than one probe
2889 function for a library. Disabled the default (non-freetype-config)
2890 library probe and added an extra probe function that searches for
2891 both ft2build.h and whatever it includes, and adds -I as needed.
2892 Hopefully this will fix build problems like
2893 http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html
2894 http://rt.cpan.org/Ticket/Display.html?id=26086
2895
2896 Imager 0.57 - 30 Apr 2007
2897 ===========
2898
2899 This is a maintenence release fixing a security issue in Imager.
2900
2901 - CRITICAL: a specially crafted compressed BMP file can cause a buffer
2902 overflow in malloced memory. There will be further discussion of
2903 this issue in the ticket below.
2904 http://rt.cpan.org/Ticket/Display.html?id=26811
2905 CVE-2007-2459 CVE-2007-2413
2906 The descriptions at cve.mitre.org varied in quality, please see the
2907 ticket at rt.cpan.org for a more accurate description of the issue.
2908
2909 Imager 0.56 - 1 Apr 2007
2910 ===========
2911
2912 - added support for reading 16-bit/sample PGM/PPM images
2913
2914 - added support for writing 16-bit/sample PGM/PPM images
2915
2916 - improved performance of reading PBM/PGM/PPM images
2917
2918 - added support for writing PBM images if the image is paletted and
2919 contains only black and white
2920
2921 - added a new make_colors value - "mono"
2922
2923 - switched from the svn log Changes to a manual Changes to reduce
2924 noise
2925
2926 - new sample code - samples/flasher.pl
2927
2928 Bug fixes:
2929
2930 - CRITICAL: the "Imager" typemap entry (not used by Imager itself)
2931 was returning an image object with an extra reference, this
2932 resulted in a memory leak.
2933 http://rt.cpan.org/Ticket/Display.html?id=24992
2934
2935 - fix rendering on alpha channel images for the FreeType 2.x driver
2936 http://rt.cpan.org/Ticket/Display.html?id=11972
2937
2938 - reading bmp files now consitently handles short reads. You can now
2939 supply a parameter to treat a short read as successful and set
2940 i_incomplete
2941 http://rt.cpan.org/Ticket/Display.html?id=8426
2942
2943 - previously, reading ASCII PBM files required spaces between samples,
2944 even though the format doesn't require that
2945
2946 - improved documentation of the unsharpmask filter (I hope)
2947 http://rt.cpan.org/Ticket/Display.html?id=25531
2948
2949 - force flushing of the output from i_tt_dump_names() and test output
2950 in t/t35ttfont.t to prevent output from being mixed up.
2951 https://rt.cpan.org/Ticket/Display.html?id=24859
2952
2953 - rewrite a conditional expression as an if() to hopefully work around
2954 a bug in the pre-4.0 GCC Apple shipped with OS X 10.4.
2955 https://rt.cpan.org/Ticket/Display.html?id=25561
2956
2957 - avoid Data::Dumper in regops.perl to support older releases of perl
2958 https://rt.cpan.org/Ticket/Display.html?id=24391
2959
2960 Imager 0.55 - 16 Dec 2006
2961 ===========
2962
2963 This is primarily a bug fix release.
2964
2965 Note: Test::More is now a pre-requisite for Imager and is no longer bundled.
2966
2967 There is one new feature:
2968
2969 - the Win32 font driver now supports UTF8 (RT 22166)
2970 http://www.cpanforum.com/threads/3276
2971 http://rt.cpan.org/Ticket/Display.html?id=22166
2972
2973 Several bugs were fixed:
2974
2975 - the string() method would not output the string "0"
2976 http://rt.cpan.org/Public/Bug/Display.html?id=21770
2977
2978 - fills.c was failing to compile on Solaris 10 (compiler unknown)
2979 http://rt.cpan.org/Public/Bug/Display.html?id=21944
2980
2981 - the gif_disposal and gif_user_input tags weren't being read from
2982 the file correctly
2983 http://rt.cpan.org/Public/Bug/Display.html?id=22192
2984
2985 - gif.c was failing to build under MSVC
2986 http://rt.cpan.org/Ticket/Display.html?id=23922
2987
2988 - in some cases strings passed to the string() method were treated as
2989 terminated by NUL (chr 0)
2990 http://rt.cpan.org/Public/Bug/Display.html?id=21770
2991
2992 - on "MSWin32" perl builds we now link to -lzlib instead of -lz since
2993 that's the default build name for zlib on Win32.
2994 http://rt.cpan.org/Ticket/Display.html?id=23064
2995
2996 - search $Config{incpath} for headers too, which we should have been
2997 doing all along.
2998
2999 Win32 font driver fixes:
3000
3001 - the global descent value from bounding box was the wrong sign
3002 http://www.cpanforum.com/threads/3276
3003
3004 - if the first or last glyph overflowed the left or right side of the
3005 advance width they would be clipped
3006
3007
3008 Imager 0.54 - 14 Sep 2006
3009 ===========
3010
3011 This is primarily a feature release:
3012
3013 - a new qtype value 'mixing' has been added to the scale()
3014 method. This is faster than 'normal', slower than 'preview'. This
3015 is based on the method used by pnmscale, and seems to produce less
3016 blurry results than normal.
3017 http://rt.cpan.org/Public/Bug/Display.html?id=20677
3018
3019 - the rubthrough() method can now render onto images with an alpha
3020 channel.
3021 http://rt.cpan.org/Ticket/Display.html?id=20678
3022
3023 - the read_multi() method now falls back to calling doing a single
3024 image read via the read() method and write_multi() will now fall
3025 back to calling write() if a single image is supplied. This means
3026 you can simply call the read_multi() or write_multi() functions
3027 without having to check if the type is formatted by that method.
3028 http://rt.cpan.org/Ticket/Display.html?id=19457
3029 http://rt.cpan.org/Ticket/Display.html?id=19458
3030
3031 - the GIF loop extension can now be written. If you don't have
3032 libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you
3033 should upgrade.
3034 http://rt.cpan.org/Ticket/Display.html?id=21185
3035
3036 - getscanline() and setscanline() can now read/write palette index
3037 based data from/to the image for paletted images, by setting type to
3038 'index'.
3039 http://rt.cpan.org/Ticket/Display.html?id=20338
3040
3041 - we no longer hassle you to disable GIF support
3042 http://rt.cpan.org/Ticket/Display.html?id=20687
3043
3044 - minor documentation fixes
3045
3046
3047 Imager 0.53 - 26 Jul 2006
3048 ===========
3049
3050 This is a bugfix release.
3051
3052 Some test code was left in a code path not covered by the test
3053 suite. A test was added to cover this code path and the test code was
3054 removed.
3055 http://rt.cpan.org/Public/Bug/Display.html?id=20705
3056
3057
3058 Imager 0.52 - 25 Jul 2006
3059 ===========
3060
3061 This is primarily a feature release, but contains a fair few bug
3062 fixes, new features:
3063
3064 - ability to read and write MS Windows ICO and CUR files
3065
3066 - you can now add file format plugins to support new file formats
3067
3068 - add POD coverage tests
3069
3070 - setcolors() and addcolors() now accept color names and so on
3071 instead of requiring Imager::Color objects.
3072 http://rt.cpan.org/Ticket/Display.html?id=20056
3073
3074 - flood_fill() can now fill to a specified border color instead of
3075 just to the area the same color as the seed.
3076 http://rt.cpan.org/Ticket/Display.html?id=19618
3077
3078
3079 Bug fixes:
3080
3081 - bounding_box for the T1 driver wasn't converting UTF8 to ascii when
3082 calculating the advance width.
3083 http://rt.cpan.org/Public/Bug/Display.html?id=20554
3084
3085 - bounding_box for the T1 driver wasn't including leading and
3086 trailing spaces in the bounding box as the other drivers did, it also
3087 produced strange results for empty strings or strings containing only
3088 spaces
3089
3090 - when reading CMYK jpeg images they were being transferred to the
3091 image object as is, producing a four channel image. It only looked ok
3092 due to an old still unfixed Photoshop bug. We now convert from the
3093 inverted CMYK that photoshop (and Corel for example) produce into RGB.
3094 http://rt.cpan.org/Ticket/Display.html?id=20416
3095
3096 - reading a CYMK TIFF would result in a 4 channel image, reading any
3097 image with more than 4 channels (eg. RGB with 2 alpha channels) would
3098 result in an error.
3099 http://rt.cpan.org/Ticket/Display.html?id=20415
3100
3101 - added /usr/local/include to the default include search path, since
3102 we were already searching /usr/local/lib for libraries.
3103
3104 And various minor fixes and documentation updates.
3105
3106
3107 Imager 0.51 - 23 Apr 2006
3108 ===========
3109
3110 - fix a validation bug when processing JPEG EXIF data that can cause
3111 a crash
3112 http://rt.cpan.org/Public/Bug/Display.html?id=18496
3113
3114 - fix mis-processing of the src_maxx and src_maxy parameters of the
3115 paste() method
3116 http://rt.cpan.org/Public/Bug/Display.html?id=18712
3117
3118 - fix a problem in Imager's "smart" handling of the color parameter
3119 to various methods.
3120 http://rt.cpan.org/Public/Bug/Display.html?id=18561
3121
3122
3123 Imager 0.50 - 29 Mar 2006
3124 ===========
3125
3126 - CRITICAL: fixes a segmentation fault from attempting to write a 2
3127 or 4 channel image to jpeg or a 2 channel image to tga where the
3128 output is an in-memeory buffer.
3129 http://rt.cpan.org/Public/Bug/Display.html?id=18397
3130
3131 - fixes an incorrect pointer parameter in the PNG code
3132 http://rt.cpan.org/Public/Bug/Display.html?id=18051
3133
3134 - skip Inline::C tests when building in a directory with spaces
3135 http://rt.cpan.org/Public/Bug/Display.html?id=18049