avoid dead code in i_get_anonymous_color_histo()
[imager.git] / Changes
CommitLineData
7623d340
TC
1Imager release history. Older releases can be found in Changes.old
2
1791cbdb
TC
3Coverity finally finished a build, fix a few problems:
4
8445279e
TC
5High severity:
6
1791cbdb 7 - reading a color-mapped TGA file with an id string would cause a
8445279e 8 double-free if the palette was truncated. CID 185317.
1791cbdb 9
6494c395
TC
10 - mixing scaling to sizes where the accumulator row, the working
11 output row or the working input row didn't fit into the address
12 space could result in memory leaks. This can probably only be
8445279e 13 reproduced on very wide floating-point sample images. CID 185318.
6494c395 14
fc24ca5f 15 - convert an array style function parameter pointer to pointer style
3d7b055c 16 to prevent confusing Coverity in the T1 bounding box implementation.
8445279e 17 CID 185343.
3d7b055c 18
8445279e 19 - Similarly in the FT1 bounding box implementation. CID 185338.
fc24ca5f 20
20c297d4 21 - Similarly for the i_tt_rasterize() function in the FT1
8445279e 22 implementation. CID 185303.
20c297d4 23
fc24ca5f 24 - initialize a pointer to prevent Coverity complaining in polygon
8445279e 25 drawing (it should always end up being set.) CID 185341.
fc24ca5f 26
f7675b46 27 - addi style makemap could potentially read one past the end of an
8445279e 28 array. CID 185337.
f7675b46 29
58ec1fde
TC
30 - supplying a numeric hatch of 32 to Imager::Fill->new(hatch => ...)
31 would result in read beyond the end of the built-in hatch array.
32 Negative values (which Coverity didn't complain about) could also
8445279e 33 cause problems. CID 185331.
58ec1fde 34
b7346865
TC
35 - the Imager::Color set_internal() interal method no longer
36 calls the over-complicated ICL_set_internal() (which is retained
37 only for the old API.) Coverity complained that this leaked, but
38 this could only occur with an invalid (NULL pointer) color object.
8445279e 39 CID 185323.
b7346865 40
785364c1
TC
41 - the underlying implementation of the map() method could read before
42 the beginning on an allocated array if supplied with inconsistent
43 parameters, which Coverity complained about. No Imager code calls
44 that function with inconsistent parameters, but a
8445279e 45 belt-and-suspenders check was added. CID 185315.
785364c1 46
eb7e48c9
TC
47 - Coverity complained a call to i_getcolors(), used by the
48 implementation of the is_bilevel() method could leave the fetched
8445279e 49 colors uninitialized. Added a return value check. CID 185308.
eb7e48c9 50
c1c8b1e9
TC
51 - a numeric combining mode of 13 (eg. as a parameter to
52 Imager::Fill->new())could cause an invalid array read in
53 i_get_combine() due to a fencepost error in validating the combine
8445279e 54 number. CID 185299.
c1c8b1e9 55
c4fd43be
TC
56
57
58 - avoid an unneeded EXTEND() call when the FT1 has_chars()
59 implementation returns 0. CID 185350.
60
61 - avoid accessing a possibly NULL map from MakeMapObject() in a
62 logging call. (GIF) CID 185296.
63
4615ad8d
TC
64 - gradgen() allocated the wrong amount of space (always too much) for
65 the color array. CID 185291.
66
ea3099db
TC
67 - avoid dead code in i_tt_glyph_names(). CID 185321.
68
8b810590
TC
69 - avoid dead code in i_get_anonymous_color_histo(), which is the
70 implementation of getcolorusage(). CID 185327.
71
b5bbf161
TC
72Imager 1.008 - 31 Dec 2018
73============
74
75e155e1 75 - moved EXIF handling from Imager::File::JPEG to core Imager
b5bbf161
TC
76 This allows file formats that store EXIF data as blobs similarly
77 to JPEG to re-use this code. (such as Imager::File::WEBP)
75e155e1 78
b5bbf161 79 - added some more file extensions to image file type mappings
75e155e1
TC
80
81 - added add_type_extensions() class method
82
b5bbf161 83Imager 1.007 - 24 Nov 2018
75e155e1
TC
84============
85
a9fa5463
TC
86 - add png_compression_level tag for writing PNG files.
87
88 - avoid flooring a second time in matrix transform interpolation.
89 https://rt.cpan.org/Ticket/Display.html?id=124001
90
434c2338
TC
91 - produce v2 metadata.
92 Includes change from the ticket and updates to sub-modules.
93 https://rt.cpan.org/Ticket/Display.html?id=127216
94
d1d8320e
TC
95 - improve error reporting for the polygon() method
96
ac3e79fb
TC
97Imager 1.006 - 26 Aug 2017
98============
99
ba7ddbae
TC
100 - the internal i_errors() function now correctly allocates the stack
101 space needed for its result.
102 https://rt.perl.org/rt3/Ticket/Display.html?id=131938
103
104 - t/100-base/020-color.t now uses Imager::Test's test functions
105 instead of its own.
106 https://rt.cpan.org/Ticket/Display.html?id=111993
107
344dda51
TC
108 - write_multi() now returns an error result (a false value) if called
109 with a non-(Imager image object). Previously it would typically
110 crash.
111 https://rt.cpan.org/Ticket/Display.html?id=117878
112
113 - improve the documentation of the jpegquality parameter when
114 writing JPEG files.
115
116 - add code to mitigate CVE-2016-1238, Imager will no longer search the
117 default current directory entry in @INC when searching for file
118 format support modules.
119
c5e09af4
TC
120Imager 1.005 - 16 Apr 2016
121============
122
123It's now been ten years since I switched to the new Changes file in
124release 0.55.
125
cd0109d8
TC
126 - revert the ivdformat probes, they don't work as is and trying to
127 fix them is too much work for now.
128
6f1cbfed
TC
129Imager 1.004_004 - 15 Apr 2016
130================
131
9c45cc49
TC
132 - test that the ivdformat from Config is correct and look for a valid
133 one if it isn't.
134 For the strange Win32 failures.
135
136 - fix a copy and paste error in pod in samples/samp-form.cgi
137
5cea6ea1
TC
138Imager 1.004_003 - 23 Mar 2016
139================
140
bd2d657d
TC
141 - add some extra error reporting to the I/O layers tests, this might
142 help catch a failure seen on Win32.
143 http://cpantesters.org/cpan/report/99781689-6bf5-1014-897a-75cb4eee1325
144
2f4c4539
TC
145Imager 1.004_002 - 20 Mar 2016
146================
147
735b3e7b
TC
148 - don't use the seek() method on opened() handles in
149 t/200-file/400-basic.t. In older versions of perl such handles are
150 only IO::Handle objects, not IO::File, and don't have a seek()
151 method.
152
d47f1478
TC
153Imager 1.004_001 - 16 Mar 2016 (Birthday release - but not my birthday)
154================
155
08914ed1
TC
156 - re-work the t/200-file/400-basic.t to correctly handle failures
157 It's custom ok() function didn't have a prototype and didn't use scalar().
158 This caused ok() to use the note instead of the value being tested when
159 the method called returned an empty list. For an example of the problem
e6226ce5 160 caused see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812093
08914ed1 161
a2791e47
TC
162 - remove some noise from when Imager tried to work with bugs in old
163 versions of giflib. I can't do much about the new bugs.
08914ed1 164
e6226ce5
TC
165 - the new autolevels filter (Imager 0.99) used an integer for the
166 sample scaling factor which caused the top output level to be too
167 low (depending on the scaling required.) It now uses a double.
08914ed1
TC
168 https://rt.cpan.org/Ticket/Display.html?id=111871
169
e6226ce5 170 - the new autolevels filter had off-by-one errors calculating the
08914ed1
TC
171 minimum and maximum luminance from the histogram. This slightly
172 reduced the contrast of the output image.
173 https://rt.cpan.org/Ticket/Display.html?id=111871
174
175 - the new autolevels filter now uses a lookup table for 8-bit images
176 to avoid a floating point multiply for each sample.
177 https://rt.cpan.org/Ticket/Display.html?id=111871
178
e6226ce5
TC
179 - fixed several memory leaks detected by valgrind:
180
181 - addcolors() leaked the temporary array of colors supplied to the
182 internal API
183
184 - make_palette() leaked the temporary image array (not the images
185 themselves) passed to the internal API.
186
187 - combine()/i_combine() leaked its working row buffers
188
189 - getcolorusage()/i_get_anonymous_color_histo() leaked the sample
190 buffer if there were too many colors
191
192 - getcolorcount()/i_count_colors() leaked the sample buffer if
193 there were too many colors.
194
195 - the nearest_color filter (undocumented until I find a use for it)
196 leaked both temporaries passed to the API and internal buffers
197
a2791e47
TC
198 - the internal process of upgrading a paletted image to a direct
199 color image would leak a context object reference count.
200
201 - a write failure when writing to a GIF file could leak memory.
202
203 - failing to write to a 1-bit/pixel ICO image could leak memory.
204
205 - Imager no longer deliberately leaks the context object from the
206 initial thread. This was done to ensure there was always a context
207 object available, but the code that needed that now handles the
208 lack correctly,
209
e6226ce5
TC
210 - fixed some uninitialized memory usage detected by valgrind:
211
212 - rotate()/i_rotate_exact()/i_rotate_exact_bg()/i_matrix_transform()/
213 i_matrix_transform_bg() didn't initialize a working color value
214 if there was zero pixel coverage.
215
216 - i_ft2_cp() didn't initialize the complete color when producing an
217 intermediate image. This caused uninitialized value usage when
218 logging the color.
08914ed1 219
396eb238
TC
220Imager 1.004 - 8 Nov 2015
221============
222
5ebfb369
TC
223 - Imager::Color::Table is now pre-loaded by the preload() method.
224 https://rt.cpan.org/Ticket/Display.html?id=104896
225
226 - fix an assertion triggered under perl 5.23.4.
227 Thanks to A. Sinan Unur for the report and the patch.
228
7b638aba
TC
229 - Imager->new can now be used to read raw image files.
230 https://rt.cpan.org/Ticket/Display.html?id=106836
f7160b21 231 Thanks to Richard Kelsch for reporting this.
7b638aba
TC
232
233 - deal with output changes from Pod::Spell
234 https://github.com/perl-pod/Pod-Spell/issues/21
235
0d1baac8
TC
236Imager 1.003 - 12 May 2015
237============
238
0fda3cfd
TC
239 - update 1.002 release notes to include the center change for filled
240 circle drawing.
241
242 - flood_fill() would escape beyond a 4-connected space under some
243 circumstances.
244 Added many more flood_fill() tests.
245 https://rt.cpan.org/Ticket/Display.html?id=103786
246
647a47c9
TC
247Imager 1.002 - 3 Apr 2015
248============
249
334b8922
TC
250 - drawing anti-aliased filled circles is now 10 to 50 times faster
251 depending on the size of the circle.
0fda3cfd
TC
252 This also changed the center from being the center of the pixel to
253 being the top left of the pixel to match the filled arcs drawn by
254 arc().
334b8922
TC
255 https://rt.cpan.org/Ticket/Display.html?id=101682
256
257 - enhancements to polygon filling:
258
259 - added a mode parameter to control how overlapping regions behave
260
261 - added a polypolygon() method to fill more than one polygon at a
262 time
263
264 - polygon filling is now exposed through the API.
265
45c8e262
TC
266 - added colormodel(), alphachannel() and colorchannels() methods.
267 These were added for two reasons:
268
269 - a future version of Imager may allow the number of channels in
270 an image to not directly represent the color model of an image.
271 eg. a greyscale TIFF image with multiple alpha channels.
272
273 - a future version of Imager may allow an image to be read without
274 translation, for example a TIFF file that contains measurements
0fda3cfd 275 from an instrument. Currently Imager transforms the samples into
d96c4de8 276 the range 0.0 ... 1.0 which may means the user has to translate
45c8e262
TC
277 the value back.
278
279 An untranslated image would be unusable as image data, so
280 colormodel() would return "unknown" in this case.
281
282 Similarly a CMYK image might be returned as an "unknown" color
283 model image, if the caller chooses to disable translation to
284 RGB.
285
e301836a
TC
286Imager 1.001 - 2 Jan 2015
287============
288
aca60e01
TC
289 - both Imager and perl 5.21.3 define my_strerror(), prevent a conflict
290 Thanks to Slaven Rezic for the report and the patch.
291 https://rt.cpan.org/Public/Bug/Display.html?id=98234
292
0df260f6
TC
293 - GIF: clean-up a test file if the test for the giflib 4.2.0 file
294 version bug fails.
295
296 - fix Imager::Matrix2d::rotate()'s centre point handling
297 https://rt.cpan.org/Public/Bug/Display.html?id=99959
298
299 - ICO: don't apply the icon mask to images with an alpha channel by
300 default
301 https://rt.cpan.org/Public/Bug/Display.html?id=99507
302
56605f3f
TC
303 - make verbose probing output more verbose
304
f74bd978
TC
305 - use Imager::Probe to probe for freetype 1.x
306 https://rt.cpan.org/Ticket/Display.html?id=100502
307
308 - The --enable and --disable parameters to the top-level Makefile.PL
309 work again.
310
c7f06039
TC
311 - update the bundled/modified Devel::CheckLib to handle the gcc-4
312 symlink on Cygwin
313
c7285c3e
TC
314Imager 1.000 - 28 Jul 2014
315============
316
317There's nothing special about Imager 1.000, it's just another release.
318
fa3dac1d
TC
319 - fix the skip check for the iolayer qr// buffer test
320
321 - improve error reporting for the iolayer test failing on a small
322 number of Win32 CPAN testers
323
35349dba
TC
324Imager 0.99_02 - 21 Jul 2014
325==============
326
5dab5b9a
TC
327 - Imager::Filter::Mandelbrot (and dynfilt/mandelbrot.c) - initialize
328 the blue channel in the generated palette, and allow each color
329 component to be in the range 100..255 instead of just 100..254.
330 Thanks to Ralf Neubauer.
331 https://rt.cpan.org/Ticket/Display.html?id=97086
332
333 - revert "improved the XS for i_io_read() and i_io_raw_read()"
334 This caused problems with older perls and didn't provide much of a
335 performance improvement.
336
5bf25bc2 337 - support Inline 0.57 and later.
6d47a6af 338 Inline 0.57 changed the "with" interface.
5bf25bc2
TC
339 https://rt.cpan.org/Ticket/Display.html?id=97108
340
6d47a6af
TC
341 - don't define our own MAXINT macro, it conflicts with windows header
342 files and in a few places it was the wrong value to use anyway.
343 https://rt.cpan.org/Ticket/Display.html?id=96425
344
3c447960
TC
345Imager 0.99_01 - 29 Jun 2014
346==============
347
7b486870
TC
348 - GIF: add support for giflib 5.1.0, which added error code pointer
349 parameters to EGifCloseFile() and DGifCloseFile().
350 https://rt.cpan.org/Ticket/Display.html?id=96756
351
352 - GIF: avoid a double-free when do_write() fails.
353
28104a85 354 - fix SV type probing to work on perl before 5.12. Broken in 0.99.
ea87cee9
TC
355 https://rt.cpan.org/Ticket/Display.html?id=96761
356
df04d4b3
TC
357 - PNG: skip the benign error test before libpng 1.6.0, since the
358 error we're testing didn't exist before 1.6.0.
359 https://rt.cpan.org/Ticket/Display.html?id=94717 (continued)
360
15b3f5f2
TC
361Imager 0.99 - 25 Jun 2014
362===========
363
dce1523b
TC
364 - Imager::IO->new_buffer() (and hence Imager->read()'s data
365 parameter) now accepts a reference to a scalar as well as just a
366 plain scalar.
6a160bce 367 https://rt.cpan.org/Ticket/Display.html?id=92785
dce1523b
TC
368
369 - Imager::IO->new_buffer() now always makes a copy of the passed in
370 buffer to avoid problems with temporary objects used for the return
371 value of SvPVbyte().
6a160bce 372 https://rt.cpan.org/Ticket/Display.html?id=92785
dce1523b 373
c757e211
TC
374 - improved the XS for i_io_read() and i_io_raw_read()
375 https://rt.cpan.org/Ticket/Display.html?id=92738
376
377 - load plugins from absolute paths on Android
378 Thanks to Brian Fraser.
379 https://rt.cpan.org/Ticket/Display.html?id=93272
380
6a160bce
TC
381 - added the jpeg_optimize parameter for writing JPEG files. This can
382 significantly reduce file sizes, but uses more memory and time.
383 https://rt.cpan.org/Ticket/Display.html?id=94292
384
14fd9e5d
TC
385 - the autolevels filter now works on the luminosity of the image
386 rather then working per channel. The old autolevels filter is
387 still available as "autolevels_skew".
388 https://rt.cpan.org/Ticket/Display.html?id=94413
389
75d54149
TC
390 - Imager::File::PNG now supports libpng 1.6.10.
391 1.6.10 changed CRC errors from benign errors to normal errors,
392 which broke the test which used CRC errors to check for benign
393 error support. Switched to using a 1-bit grey-scale image with a
394 palette to test for benign errors.
395 https://rt.cpan.org/Ticket/Display.html?id=94717
396
607f5d2c
TC
397Imager 0.98 - 3 Jan 2014
398===========
399
f84f86a2
TC
400Incompatible changes:
401
402 - the return value of setpixel() has changed.
403
404 Previously the return values for undrawable pixels vs caller errors
405 changed depending on whether you used the multiple pixel calling
406 mechanism, or the single pixel mechanism.
407
408 Now:
409
410 - for an invalid parameter, such as an unknown colour, or missing
411 parameter, an empty list (or undef in scalar context) is
412 returned, and errstr() is set,
413
414 - otherwise the number of pixels drawn is returned. If none of
415 the pixels could be drawn (they were all outside the image), "0
416 but true" is returned.
417
418 https://rt.cpan.org/Ticket/Display.html?id=87650
419
420Other changes:
421
6ba09ab9
TC
422 - when drawing on an image with an alpha channel where the source
423 minimum is greater than zero, Imager would read from beyond the end
424 of a malloc() allocated buffer. In rare circumstances this could
425 lead to some of the source image not being written to the target
426 image, or possibly to a segmentation fault.
427 I don't believe this has any security concerns beyond that.
428
0d052fd9
TC
429 - if the first text drawn with Imager::Font::T1 is not anti-aliased,
430 text drawn would be nonsense. This would also read beyond the end
431 of a malloced buffer.
432
13671b17
TC
433 - non-AA text drawn with an Imager::Font::TT (Truetype 1) font would be
434 truncated early.
435 https://rt.cpan.org/Ticket/Display.html?id=88993
436
d6f4e964
TC
437 - Imager::Font::Wrap no longer requires the image parameter.
438 https://rt.cpan.org/Ticket/Display.html?id=87338
439
f84f86a2
TC
440 - a documentation typo fix in Imager::Transformations
441 Thanks to Adrian Yee.
442 https://rt.cpan.org/Ticket/Display.html?id=88598
443
0179ecd6
TC
444 - Image::Probe, Imager's internal module for probing library
445 locations now searches the directories specified by LD_RUN_PATH,
446 LD_LIBRARY_PATH, DYLD_LIBRARY_PATH and LIBRARY_PATH for libraries,
447 and the corresponing s/\blib$/include/ directories for header
448 files.
449 https://rt.cpan.org/Ticket/Display.html?id=86428
450
8decb191
TC
451Imager 0.97 - 15 Jul 2013
452===========
453
454No changes from 0.96_02.
455
d9ae3f2b
TC
456Imager 0.96_02 - 8 Jul 2013
457==============
458
aaf82685
TC
459 - PNG: treat a version mismatch between headers and library as a
460 probe failure.
461 https://rt.cpan.org/Ticket/Display.html?id=86659
462
8e90f677
TC
463 - PNG: the check for benign error support is more complex than a
464 simple library version check, check for the appropriate macro.
465 Thanks for Slaven Rezic for following up on my CPAN Testers result
466 queries.
467 https://rt.cpan.org/Ticket/Display.html?id=86659
468
f94da9c0
TC
469 - W32: add a missing head1 AUTHORS to the old Win32.pm
470 https://rt.cpan.org/Ticket/Display.html?id=86658
471
d9ae3f2b 472Imager 0.96_01 - 1 Jul 2013
b4ed9bcb
TC
473==============
474
05c9b356
TC
475 - TIFF: handle SampleFormat = 2 by translating the signed integer
476 values to unsigned by flipping their sign bits.
477
478 Handle SampleFormat = 3 where possible.
479
480 SampleFormat is ignored for paletted images.
481
237d9e03
TC
482 Mixed SampleFormat are handled incorrectly, since libtiff returns
483 only the first SampleFormat value, and an image with both an alpha
484 channel and SampleFormat = 2 for color channels probably has a
485 different SampleFormat for the alpha channel.
05c9b356
TC
486
487 https://rt.cpan.org/Ticket/Display.html?id=74540
488
face45e7 489 - XS clean up:
29969fa2 490 https://rt.cpan.org/Ticket/Display.html?id=69243
face45e7 491
237d9e03 492 - Imager::Color's rgba() method now returns its values as integers
face45e7
TC
493 instead of floating point. (IV instead of NV).
494
19e9591b
TC
495 - The XS for i_map() and i_matrix_transform() now use the AV *
496 typemap instead of rolling their own.
497
75cebca8
TC
498 - The XS for DSO_call() now uses the HV * typemap instead of
499 rolling it's own.
500
0aaa8b4d
TC
501 - The XS for i_poly_aa(), i_poly_aa_cfill(), i_transform() and
502 i_gradgen() now use a new T_AVARRAY typemap that greatly
503 simplifies the XS code.
face45e7 504
ccd01d49
TC
505 - many other minor XS changes
506
face45e7 507 - some XS code formatting
a54e32ba 508
dcab59bc
TC
509 - TT (Freetype 1.x) and FT2 (Freetype 2.x) non-antialiased rendering
510 now renders in alpha-combining mode, to match antialiased output.
511 https://rt.cpan.org/Ticket/Display.html?id=73359
b482243a 512
8db7b6fa
TC
513 - add sample code and cookbook notes for drawing a blurred drop-shadow.
514
515 - add support for libpng 1.6, which changed the defaults for
516 reporting some types of error.
517 https://rt.cpan.org/Ticket/Display.html?id=85746
518
dc076f98
TC
519 - FT2: use gsamp/psamp() to transfer pixels from the work image to
520 the output image instead of gpix/ppix.
521 https://rt.cpan.org/Ticket/Display.html?id=83478
522
98747309
TC
523 - eliminate various GCC warnings, mostly initialized but otherwise
524 unused variables.
525
d72e91c5
TC
526Imager 0.96 - 19 May 2013
527===========
528
c2e251d9
TC
529 - rearrange Imager's test files.
530 https://rt.cpan.org/Ticket/Display.html?id=84596
531
532 - Imager::Probe::_gcc_lib_paths now forces C locale.
533 A sufficiently recent gcc prints localized keys for the search
534 paths, which avoids that localization.
535 https://rt.cpan.org/Ticket/Display.html?id=84963
536
537 - fix a pod error detected by Pod::Simple 3.27 and laterm and skip
538 pod tests unless AUTOMATED_TESTING or IMAGER_AUTHOR_TESTING is set
539 and true.
540 https://rt.cpan.org/Ticket/Display.html?id=85262
541 reported by Andreas König
542
543 - add a test for unclosed POD in C source, and fix the errors it
544 found.
545 https://rt.cpan.org/Ticket/Display.html?id=74875
546
547 - fix some spelling errors detected by the newer aspell in Debian
548 Wheezy.
549
550 - remove a trailing ' from lib/Imager/Font/Test.pm's POD
551 thanks to gregor herrmann <gregoa@debian.org>
552 https://rt.cpan.org/Ticket/Display.html?id=85413
553
554 - add a test for standard =head1 commands and fix the errors found
555
f9e1a2e7
TC
556Imager 0.95 - 19 Apr 2013
557===========
558
0a2956ab
TC
559 - handle the SVf_UTF8 flag correctly on magic strings passed to
560 Imager::IO's write() and raw_write() methods.
561 This may misbehave in perl 5.6.x since the UTF8 flag may not be
562 visible in the main SV after SvGETMAGIC().
563 https://rt.cpan.org/Ticket/Display.html?id=83438
564
565 - document that bounding_box() ignores the transformation matrix
566 supplied to tranform() for fonts.
567 https://rt.cpan.org/Ticket/Display.html?id=84106
568
4f94c146
TC
569Imager 0.94_02 - 5 Apr 2013
570==============
571
1540d1d4
TC
572 - enable debug logging for the standard font tests
573
574 - skip the overloaded UTF-8 text output checks on 5.6.x and earlier,
575 due to a bug in that version of perl.
576
577 - don't test for read() failing on a write-only handle in 5.8.x and
578 earlier, this was fixed in change 862083f7e4 in perl.
579
580 - report the version of Inline found during testing (an attempt to
581 diagnose some intermittent failures.)
582
2fe429a9
TC
583Imager 0.94_01 - 2 Mar 2013
584==============
585
14a4ea18 586 - NOTE: possibly backward incompatible:
3dcf7595
TC
587 support reading from/writing to perl filehandes that aren't raw
588 files.
589
590 This allows Imager's I/O to honour handles with layers such as
591 gzip, scalar file handles or tied file handles.
592
14a4ea18 593 This is backward incompatible in that previous Imager would simply
3dcf7595
TC
594 use fileno() to retrieve the fd for the file and call write(2) etc
595 on it directly.
04d8c568
TC
596 https://rt.cpan.org/Ticket/Display.html?id=78843
597
598 - moved most of README to lib/Imager/Install.pod which should make it
599 more accessible to the "web" generation, also significantly updated
600 and re-worked it.
3dcf7595 601
ca96f811
TC
602 - updated README's for the separately distributed modules to refer to
603 Imager::Install, and that they need -dev versions of packages
604 https://rt.cpan.org/Ticket/Display.html?id=81265
605
26e8a226
TC
606 - the JPEG test code now reports the compile-time library version
607
41125e7d
TC
608 - avoid a possible compiler optimization issue on CentOS 5.9 i386 by
609 rearranging (and mildly optimizing) some code.
ca96f811
TC
610 https://rt.cpan.org/Ticket/Display.html?id=83212
611
612 - fix a POD error in Imager::Fill (detected on new Pod-Simple)
613 https://rt.cpan.org/Ticket/Display.html?id=83434
614
615 - fix a broken link to Graphics::Magick
616 https://rt.cpan.org/Ticket/Display.html?id=82743
41125e7d 617
c732ffa5
TC
618 - drawing text to a channel with FT2 would draw with random coverage
619 due to an uninitialized alpha channel.
620
621 - marked the function pointer underlying the mm_log() API with the
622 correct gcc magic and fixed the resulting warnings.
623
624 - fixed some other compiler warnings
625
14a4ea18
TC
626 - Imager::Font::W32 now properly reports text drawing errors
627 https://rt.cpan.org/Ticket/Display.html?id=70098
628
0a2956ab 629 - handle the SVf_UTF8 flag correctly on magic (eg. overloaded)
14a4ea18
TC
630 strings passed as text to draw(), bounding_box(), has_chars(),
631 glyph_names() (where supported) in each of the font drivers.
0a2956ab
TC
632 This may misbehave in perl 5.6.x since the UTF8 flag may not be
633 visible in the main SV after SvGETMAGIC().
14a4ea18
TC
634 https://rt.cpan.org/Ticket/Display.html?id=83438 (partial)
635
06115805
TC
636Imager 0.94 - 15 Dec 2012
637=========================
638
639Variations on some of these changes were included in development
640releases.
641
4be61824
TC
642 - improved thread safety
643 - the internal error stack and log file handle are now in a per-thread
644 context object
645 - JPEG now captures IPTC information in a thread-safe way
646 - avoid globals where possible for warning capture in libtiff
244725cf
TC
647 - use a mutex to avoid re-entering thread-unsafe giflib
648 - use a mutex to avoid re-entering thread-unsafe tifflib
649 - use a mutex to avoid re-entering thread-unsafe T1Lib
650 - use a library handle per thread for freetype 2.
0124c060 651 - use an engine handle per thread for freetype 1.x.
0eebfd59
TC
652 - originally these changes broke ABI compatibility, this has been
653 restored.
abffffed 654
6254ad14
TC
655 - clarify the return value of getpixel();
656 https://rt.cpan.org/Ticket/Display.html?id=81198
657
658 - fixed a race condition in parallel testing for T1
659
660 - fixed a bug in handling yoff for untransformed image-based fills
661
662 - documentation improvements for Imager::Fill
663
5e8f194e
TC
664 - FT2: report the library version while testing.
665
e9daa5af
TC
666Imager 0.93 - 15 Oct 2012
667===========
668
669Bug fixes:
71fbe41a
TC
670
671 - previously a transparency enabled GIF write (the default) would
672 always use a GIF89a header even if none of the images were
673 transparent.
7a5f7bc6 674
b2f967ef
TC
675 - previously the probe step for freetype-config would fail on cygwin
676
b2f967ef
TC
677 - catch an invalid matrix parameter to convert() instead of crashing
678 https://rt.cpan.org/Ticket/Display.html?id=79922
679
680 - remove the 16-bit/sample limitation from the documentation for
681 setsamples(), it hasn't applied for many releases.
682 https://rt.cpan.org/Ticket/Display.html?id=79989
683
9673d97e
TC
684 - don't copy setsamples() data parameter, it may be a large scalar
685 https://rt.cpan.org/Ticket/Display.html?id=79990
686
70b577d3
TC
687 - clean up .dSYM directories generated performing probes on OS X
688 Mountain Lion.
689
8c323994
TC
690 - pass the --verbose command-line option through to Imager::Probe in
691 sub-module's Makefile.PLs
692 https://rt.cpan.org/Ticket/Display.html?id=75878
693
e9daa5af
TC
694Enhancements:
695
696 - support for giflib 5.0. (5.0.1 and later)
697 https://rt.cpan.org/Ticket/Display.html?id=79029
698 The giflib API Imager uses doesn't have a mechanism to set the
699 header version in 5.0.0.
700
701 - update the GIF library probe code to check for the new giflib 5.0.1
702 EGifSetGifVersion() function, and to check for the giflib 4.2.0
703 uninitialized gif89 bug.
704 https://rt.cpan.org/Ticket/Display.html?id=79679
705 http://sourceforge.net/tracker/?func=detail&aid=3574283&group_id=102202&atid=631304
706
707 - avoid static variables when capturing IPTC data from JPEG files
708
d96c4de8 709 - match Imager::Font::T1's error message translations to those from
e9daa5af
TC
710 later versions of T1Lib.
711
712 - for libtiff versions that support extended warning handlers (3.8.0
713 or later), use them to avoid some global variables.
714
715 - note Image::ExifTool for better metadata support.
716 https://rt.cpan.org/Ticket/Display.html?id=79251
717
41c938ec
TC
718Imager 0.92 - 14 Aug 2012
719===========
720
b1c75496
TC
721 - giflib 4.2 eliminates the GIF_LIB_VERSION macro, handle that
722 correctly for both probing and runtime.
723 https://rt.cpan.org/Ticket/Display.html?id=77672
724
dcc10c4e
TC
725 - allow building JPEG/imexif.c on C89 compilers.
726
272fcca5
TC
727 - allow building GIF/imgif.c on C89 compilers.
728
ec8f0ee2
TC
729Imager 0.91 - 4 Jun 2012
730===========
731
ef84bb32 732Bug fixes:
38742a13 733
289d65f4
TC
734 - The size of rotated images is no longer rounded up so aggressively.
735 Added rounding to the linear interpolation done for rotate() and
736 matrix_transform() for 1 and 3 channel 8-bit images.
737 Adjusted the two tranlate matrices used to build the final rotation
738 matrix to use the distance between the outlier pixels rather than
739 the pixel dimensions (ie. dimension-1).
740 With all of this the output of rotate(degrees => 270) on an 8-bit
741 image exactly matches the output of rotate(right => 270).
742 https://rt.cpan.org/Ticket/Display.html?id=77063
743
ef84bb32
TC
744Other changes:
745
746 - eliminate the old IIM_new(), IIM_DESTROY() names from Imager's
747 internals, those names only matter for the XS interface.
748
749 - improve error reporting when PERL_INITIALIZE_IMAGER_CALLBACKS finds
750 the API level compiled into a loadable module such as
751 Imager::File::GIF doesn't match that of Imager. Previously it
752 could be difficult to determine exactly which module was failing to
753 load.
754 https://rt.cpan.org/Ticket/Display.html?id=77173
755
756 - added Imager->check_file_limits() as an interface to the
757 i_int_check_image_file_limits() API.
758
759 - Imager->set_file_limits(reset => 1) now resets the limits to the
760 defaults rather than setting them all to unlimited.
761
762 - wrote a brief security note as Imager::Security
763 https://rt.cpan.org/Ticket/Display.html?id=68910
764
6f31dd14 765Imager 0.90 - 30 Apr 2012
7c4464f5
TC
766===========
767
768Bug fixes:
769
770 - Imager::Test::is_imaged() attempted to process an "epsilon"
771 parameter but the prototype didn't allow for the extra parameter.
772 Corrected the prototype.
773
29b38678
TC
774 - when downconverting samples (eg. from floating point to 8 bit)
775 Imager now rounds the sample value rather than attempting to
776 allocate input values over output values equally. The old
777 behaviour had the probably surprising effect of converting a
778 floating point 2.1/255.0 into an 8-bit 3 rather than the expected
779 2.
780 This may result in slightly different 8 or 16-bit output images.
781
e2a86bac
TC
782 - BI_BITFIELD BMP images were handled incorrectly, both in
783 incorrectly calculating the space required for the masks and in
784 processing the image data itself.
785 https://rt.cpan.org/Ticket/Display.html?id=76736
786
787 - some odd width BMP BI_RLE4 images use run lengths that run one off
788 the edge of the image. Imager now allows this, discarding the
789 extra column.
790
791 - odd length RLE4 runs in BMP images were decoded incorrectly.
792
82eb0687
TC
793 - pkg-config could sometimes return a library that was in a directory
794 EU::MM / $Config{libpth} doesn't know about, but the compiler did.
795 If no -L is included in the pkg-config library information check if
796 EU::MM can find the library, and if not, search our configured
797 directories and insert that into the library flags.
798 https://rt.cpan.org/Ticket/Display.html?id=75869
799
de50f459
TC
800 - Imager::Probe can now probe for libraries with dependent libraries,
801 common for static linking, eg. libpng requires libz.
802 https://rt.cpan.org/Ticket/Display.html?id=74043
803
804 - libpng 1.5 specific probes were looking for libpng 1.4 filenames.
805
806 - added alternative probe configurations that try to link libz, to
807 handle a statically linked libpng.
808 https://rt.cpan.org/Ticket/Display.html?id=74043
809
810 - if a probe includes testcode, Imager::Probe now checks that code as
811 part of the process of checking each configuration rather than as a
812 post test of the found configuration. This allows alternate
813 configurations to be checked if a matching but non-working
814 configuration is found.
815 https://rt.cpan.org/Ticket/Display.html?id=74043
816
9d5ff8a6
TC
817Other changes:
818
819 - when reading or writing images via callbacks, the default callbacks
820 now push an error message indicating that a required callback was
821 called but not supplied.
822 https://rt.cpan.org/Ticket/Display.html?id=76782
823
824 - clarify which callbacks are required for reading and writing TIFF
825 images.
826
827 - improve logging for creation of callback I/O layers.
828
de50f459
TC
829 - a little more documentation for Imager::Probe.
830
594f5933
TC
831 - the i_get_file_background() and i_get_file_backgroundf() APIs now
832 return int to indicate whether the i_background tag was found.
833
1b46057d
TC
834 - PNG rework
835 - improve error reporting
836 - add png_interlace, png_bits tags
837 - read paletted images as paletted images, including transparency
838 - read 1 bit greyscale images as a type suitable for other file
839 handlers to write as bilevel
840 - read 16 bit/sample PNG as 16-bit/sample Imager images
841 - write "bilevel" paletted images as 1 bit grayscale images
842 - write paletted images as paletted images
843 - write 16-bit (or higher)/sample images as 16-bit/sample PNG
844 images
845 - improved metadata support
846 https://rt.cpan.org/Ticket/Display.html?id=29268
847
2c1ffb77
TC
848Imager 0.89 - 18 Mar 2012
849===========
850
851Bug fixes:
852
93eab01e
TC
853 - getpixel(..., type => "float") and the API i_gpixf() have been
854 broken on paletted images since they were implemented.
855 https://rt.cpan.org/Ticket/Display.html?id=75258
856
2c1ffb77
TC
857Other changes:
858
61be9694
TC
859 - links in the METHOD INDEX now point at the method documentation
860 rather than the heading you can find them under.
861 https://rt.cpan.org/Ticket/Display.html?id=71495
862
a5919365
TC
863 - Imager (and the bundled dynamic modules) no longer fallback to
864 using DynaLoader if loading via XSLoader fails.
865 For the bundled modules this could hide useful error messages.
866 https://rt.cpan.org/Ticket/Display.html?id=75560
867
335078fc
TC
868 - IM_DEBUG_MALLOC mymalloc() no longer sn?printfs() a string to a
869 buffer in the array of allocations, but just stores the filename
870 pointer and line number.
871 https://rt.cpan.org/Ticket/Display.html?id=70388
872
3f53dd75
TC
873Imager 0.88 - 22 Feb 2012
874===========
875
43bef43b
TC
876 - describe how to build libgif etc on OS X in such a way as to be
877 compatible with a fat binary perl (such as the system perl), in
878 README.
879 https://rt.cpan.org/Ticket/Display.html?id=73371
880
69675eef
TC
881 - update the change notes for 0.77_01 to indicate that libungif
882 support was removed.
883
d4056453
TC
884 - add some other imaging modules to SEE ALSO
885 https://rt.cpan.org/Ticket/Display.html?id=73906
886
3b7f10da
TC
887 - note that the generator of the apparently non-DFSG-free postscript
888 in MMOne.pfb is a Debian package.
889
02323e69
TC
890 - setsamples() is now a true complement to getsamples() - it can
891 write 8-bit or floating point samples from a scalar or array
892 reference. This adds i_psamp() and i_psampf() to the C level API.
893
894 - the XS interfaces to i_gsamp(), i_gsampf() and i_gsamp_bits() have
895 changed to make better use of the typemap, but these aren't part of
896 the perl level API anyway. There were no changes to the C level
897 interfaces to these functions.
898
2a27eeff
TC
899 - getpixel() and setpixel() now accept a mix of scalar and array
900 references for the x and y parameters, and unequal array lengths is
901 no longer an error.
902 https://rt.cpan.org/Ticket/Display.html?id=73697
903
ef74691a
TC
904Bug fixes:
905
906 - correctly calculate the size of a rotated image
907 https://rt.cpan.org/Ticket/Display.html?id=69261
908
909 - fix incorrect rounding of color values for matrix_transform() and
910 rotate().
911 https://rt.cpan.org/Ticket/Display.html?id=69261
912
5091168a
TC
913 - Win32 text output is now done in normal combine mode, the alpha
914 component of the color is now significant.
915 https://rt.cpan.org/Ticket/Display.html?id=70014
916
fa0b1452
TC
917 - remove long unused gif case from read()
918 https://rt.cpan.org/Ticket/Display.html?id=69244 (partial)
919
7640e3bb
TC
920 - the getsamples() target parameter was being treated as a hashref
921 when it's meant to be an array reference.
922 https://rt.cpan.org/Ticket/Display.html?id=74882
923
2a27eeff
TC
924 - getpixel() and setpixel() now returns an empty list when invalid
925 parameters are supplied.
926 Invalid values for type now result in an error for getpixel().
927 https://rt.cpan.org/Ticket/Display.html?id=73697
928
fcc81fa4 929Imager 0.87 - 03 Jan 2012
f0f6c630
TC
930===========
931
c18dd26e
TC
932 - document the return value of the filter() method.
933 https://rt.cpan.org/Ticket/Display.html?id=72369
934
48095bd4
TC
935 - document i_gsamp_bits() and i_psamp_bits().
936 https://rt.cpan.org/Ticket/Display.html?id=68815
937
f5b90025
TC
938 - properly increment the Imager::Matrix2d $VERSION.
939
35f2f9fb
TC
940 - actually include the Imager::Test tests in the dist
941
2fe1e4bc
TC
942 - correctly read and write 256x256 pixel ICO files
943 https://rt.cpan.org/Ticket/Display.html?id=69599
944
4f21e06e
TC
945 - make the error message from read() or read_multi() when they can't
946 identify the file type match reality.
947 https://rt.cpan.org/Ticket/Display.html?id=72475
948
949 - read() now uses $FORMATGUESS if it can't determine the file type
950 based on the file header, to match read_multi().
951
952 - re-work and add tests for def_guess_type(). def_guess_type() no
953 longer returns any random file extension as the file type.
954
5e9a7fbd
TC
955 - add gray4, gray16 and gray as presets for make_colors.
956 https://rt.cpan.org/Ticket/Display.html?id=67911
957
958 - add make_palette() method that produces a palette from one or more
959 images.
960
32d74dbe
TC
961 - fix the Imager dependency for the separately distributed font
962 drivers.
963 https://rt.cpan.org/Ticket/Display.html?id=72643
964
a044f2c6
TC
965 - fix i_render_color() to properly draw in "normal" mode - ie. when
966 writing to a 1 or 3 channel image the second or fourth channel of
967 the source color was being ignored, it is now significant.
968 https://rt.cpan.org/Ticket/Display.html?id=71564
969
4b2e59d3
TC
970Imager 0.86 - 31 Oct 2011
971===========
972
b8b889ba
TC
973 - improve error reporting for W32 tests
974
6f7a49a2
TC
975Imager 0.85_02 - 24 Oct 2011
976==============
a10ce62e
TC
977
978Bug fixes:
979
980 - eliminate unused i_gif_opts type (clean-up)
981 https://rt.cpan.org/Ticket/Display.html?id=69245
982
98e1552d
TC
983 - fix combine=0 fill color anti-aliasing on the double/sample path
984 https://rt.cpan.org/Ticket/Display.html?id=71309
985
986 - make default text color non-transparent
987 https://rt.cpan.org/Ticket/Display.html?id=71469
988
372ba12c
TC
989 - apply the last of the Debian unforwarded spelling fixes
990 https://rt.cpan.org/Ticket/Display.html?id=70656
991
b7506a07
TC
992 - the log() method used its message parameter as a C level format
993 string.
994 https://rt.cpan.org/Ticket/Display.html?id=71653
995
cb4d223c
TC
996 - provide our own STRLEN typemap entry for older perls.
997 https://rt.cpan.org/Ticket/Display.html?id=71641
998
f35d1231
TC
999 - add extra ppport.h configuration to support older perls.
1000
954ac5d1
TC
1001 - depend on Scalar::Util, since we use it and older perls don't have
1002 it.
1003
5efba0c6
TC
1004 - add overloaded eq to Imager::Matrix2d, since older perls don't seem
1005 to synthesize it from overloaded "".
1006
73e3ff55
TC
1007 - use T1_StrError() for error messages on modern libt1
1008 https://rt.cpan.org/Ticket/Display.html?id=69879
1009
1010 - actually load the font rather than just adding it to the catalog on
1011 creation.
1012
1013 - Imager::Font->new now produces better error messages for the T1
1014 engine.
1015
6e938c74
TC
1016 - the font has_chars() method now returns perl's true and false
1017 values in list context rather than integers, which should be more
1018 efficient.
1019 https://rt.cpan.org/Ticket/Display.html?id=69158
1020
b934971a
TC
1021 - the btm data structure used by the flood_fill code is now
1022 initialized more efficiently.
1023 https://rt.cpan.org/Ticket/Display.html?id=68994
1024
872def8b
TC
1025 - updated the Thanks list in README
1026 https://rt.cpan.org/Ticket/Display.html?id=71607
1027
1e0418f1
TC
1028 - check there's at least one coefficient for the convolution filter
1029 https://rt.cpan.org/Ticket/Display.html?id=68993
1030
81409c5e
TC
1031 - make the APIRef synopsis ordering consistent, older versions of
1032 perl could order it differently.
1033 https://rt.cpan.org/Ticket/Display.html?id=71675
1034
336ce474
TC
1035 - we rely on Config.pm's d_vsnprintf as to whether we use
1036 vsnprintf/snprintf, which is defined in the Win32 Config.pm even
1037 though it only has _ prefixed versions of these. Define our own
1038 prefixed names on Win32.
1039 https://rt.cpan.org/Ticket/Display.html?id=71642
1040
ae394c13
TC
1041 - fix library detection with MSVC
1042
84e2cc94
TC
1043 - search a few more library directories, so EU::MM doesn't discard
1044 them. Hopefully fixes:
1045 https://rt.cpan.org/Ticket/Display.html?id=71643
1046
31be6e9a 1047Imager 0.85_01 - 10 Oct 2011
6d5c85a2 1048==============
a7e32beb
TC
1049
1050 - add simple tests for the Imager::Test test_image generators
1051
6d5c85a2
TC
1052 - io_glue I/O buffering re-work:
1053
1054 - reorganize io_glue to do it's own buffering by default
1055
1056 - the unbuffered functions are available as i_io_raw_read() (or
1057 raw_read() from perl) etc but are not recommended for typical
1058 use.
1059
1060 - use the new i_io_peekn() when checking for file magic to avoid
1061 seek, allowing Imager to detect the file type and read the file
1062 from an unseekable stream (for formats that don't use random
1063 access)
1064
1065 - added several new I/O layer API functions.
1066
1067 - fix the TGA performance problem, most noticably on Win32
1068 https://rt.cpan.org/Ticket/Display.html?id=70037
1069
1070 - TIFF now uses wrapper functions of the correct types to avoid casts
1071 https://rt.cpan.org/Ticket/Display.html?id=69912
1072
1073 - the callback IO object did its own buffering, controlled by the
1074 maxbuffer parameter supplied to the read() and write() methods.
1075 This buffering has been removed, to avoid redundancy with the
1076 common io_glue buffering. This also avoids a bug in that code
1077 which could rarely pass a zero length to the read callback and
1078 then panic about the result.
1079
1080 - the callback IO object now tests the result of calling the close
1081 callback, which should return true for success.
1082
1083 - the PNM reader did its own buffering. This buffering has been
1084 removed to avoid redundancy with the common io_glue buffering.
1085
1086 - previously the read handlers for fd and callback I/O layers would
1087 call the underlying interface (POSIX read or your supplied callback)
1088 until it filled the buffer. It now only makes one call.
1089
1090 - added public constructors for I/O layer objects (see Imager::IO)
1091
1092 - all core file handlers now use the i_io_foo() wrappers to gain
1093 access to buffered I/O rather than calling the I/O layer
1094 callbacks directly.
1095
1096 - all core file handlers now check for error on close.
1097
1098 - Backward compatibility: if you hava custom file handlers, you can
1099 use i_io_write() etc since they're available as macros in older
1100 versions of Imager.
1101
1102 - eliminate the final remnants of io_glue_commit_types().
1103
1104 - bump IMAGER_API_VERSION, since the above may break assumptions.
1105
1106 - removed the long unused i_gen_reader() and i_gen_writer() utility
1107 functions.
1108
0c647c9a 1109Imager 0.85 - 29 Aug 2011
6ad7e4bc
TC
1110===========
1111
0c647c9a
TC
1112The main changes in the release versus 0.84 are:
1113
1114 - on 64-bit systems, 64-bit types are consistently used for image
1115 dimensions and co-ordinated, and for memory block sizes.
1116
1117 - handle IFD loops in TIFF files correctly. Previously this would
1118 lead to an infinite loop.
1119
6ad7e4bc
TC
1120Bug fixes:
1121
1122 - fix the link in the getheight() entry in the method index
1123
7ef6338c
TC
1124Imager 0.84_02 - 22 Aug 2011
1125==============
1126
1127Development release, this will become 0.85 if CPAN testers is
1128favourable.
6b7197d0
TC
1129
1130Bug fixes:
1131
1132 - the image file limits set by set_file_limits() weren't being
1133 checked when reading TIFF files.
1134 https://rt.cpan.org/Ticket/Display.html?id=69915
1135
5970bd39
TC
1136 - Provide more information about file format module load errors on a
1137 failed image file read() or write().
1138 https://rt.cpan.org/Ticket/Display.html?id=69194
1139
4ce3551c
TC
1140 - use TIFFReadDirectory() instead of TIFFSetDirectory() to iterate
1141 through TIFF images, since it checks for IFD loops.
1142 https://rt.cpan.org/Ticket/Display.html?id=69914
1143
a16bca6d
TC
1144 - don't leak memory when out of range palette indexes are supplied to
1145 setscanline().
1146 https://rt.cpan.org/Ticket/Display.html?id=69242
1147
1148 - require a later version of CPAN::Meta to ensure JSON::PP and
1149 CPAN::Meta::YAML are available.
1150 https://rt.cpan.org/Ticket/Display.html?id=69008
1151
ac575c5f
TC
1152 - hoist the per-line calculations for the flines implementations, and
1153 modernize the tests a bit.
1154 https://rt.cpan.org/Ticket/Display.html?id=70126
1155
86c8d19a
TC
1156 - detect snprintf()/vsnprintf() (cheat by using Config.pm) and use
1157 them when available.
1158 https://rt.cpan.org/Ticket/Display.html?id=69147
1159
a3fd7df7
TC
1160 - if t1lib failed to reinitialize it would be left as marked
1161 initialized.
1162 https://rt.cpan.org/Ticket/Display.html?id=69877
1163
5fd542c7
TC
1164 - update the bundled (and still modified) Devel::CheckLib
1165 https://rt.cpan.org/Ticket/Display.html?id=69170
1166
fa61d195
TC
1167Imager 0.84_01 - 8 Aug 2011
1168==============
1169
1170Development release as a sanity check for the types re-work.
8d14daab
TC
1171
1172Massive types re-work:
1173
1174 - the type used internally for pixel co-ordinates and image sizes is
1175 now 64-bit on 64-bit platforms (at least sane ones).
1176
1177 - size_t is now used consistently for memory block sizes.
1178
1179 - since this changes the binary interface, the Imager API version has
1180 been incremented. Any module that uses the API will need to be
1181 rebuilt. In most cases that will be enough, but calls to any APIs
1182 that take a pointer to image sizes may need source changes.
1183
1184 - you should be able to create very large images on 64-bit systems,
1185 if you have enough memory. Successfully created a 32768 x 49192 x
1186 3 channel image, filled with a tiled image and scaled it. The
1187 unscaled image was also successfully saved to a JPEG.
1188
1189 - check the image size before attempting to write BMP, GIF, JPEG,
1190 PNG, SGI, TGA, TIFF images.
1191
1192 - correctly handle reading TGA images over 32767 pixels wide or tall.
1193
1194Incidental changes:
1195
1196 - the gif_left and gif_top tags are now clamped to non-negative
1197 values when writing a GIF image.
1198
1199 - removed dead callback read/write code
1200
1201The default maximum memory size when reading files is now 1G.
1202
bd80e51e 1203Imager 0.84 - 20 Jun 2011
b1e66a82
TC
1204===========
1205
1206 - Imager no longer inherits from Exporter (unless you're running an
1207 old, old perl.
1208
92e9df65
TC
1209 - Imager can now write progressive JPEGs (it could always read them).
1210 https://rt.cpan.org/Ticket/Display.html?id=68691
1211
10ea52a3
TC
1212Bug fixes:
1213
1214 - re-work, document and test Imager's logging facility.
1215 https://rt.cpan.org/Ticket/Display.html?id=65227
1216
4989229f
TC
1217 - fix META.yml testing and the generated META.yml
1218 https://rt.cpan.org/Ticket/Display.html?id=65235
1219
3bcba6df
TC
1220 - test and add error reporting to to_*() family methods
1221
bfe6ba3f
TC
1222 - add to_rgb_double() method.
1223 https://rt.cpan.org/Ticket/Display.html?id=65101
1224
e1a42e19
TC
1225 - Imager no longer exports anything by default
1226 https://rt.cpan.org/Ticket/Display.html?id=65228
1227
6d068d36
TC
1228 - convert colors to grayscale if the supplied (or generated) palette
1229 contains only grays when performing error diffusion color
1230 translation.
1231 https://rt.cpan.org/Ticket/Display.html?id=68508
1232
59c150a4
TC
1233 - writing a paletted image to GIF wouldn't always use the colors
1234 supplied (or generated, eg. via make_colors => "mono"), which was
1235 confusing at best.
1236 https://rt.cpan.org/Ticket/Display.html?id=67912
1237
5b480b14
TC
1238 - replace (imager|tony)@imager.perl.org in the doc, since I don't
1239 plan to continue receiving mail at that address.
1240 https://rt.cpan.org/Ticket/Display.html?id=68591
1241
101861e2 1242Imager 0.83 - 21 May 2011
46c21d48
TC
1243===========
1244
1245Bug fixes:
1246
1247 - diag() the error message on failure for some TIFF tests that are
1248 failing on a Solaris smoker.
1249 http://www.cpantesters.org/cpan/report/6396db1e-8090-11e0-9682-112b785ebe45
1250
cd758af2
TC
1251Imager 0.82_01 - 17 May 2011
1252==============
1253
1254Dev release, in case the compose tests are too sensitive.
deb1a916
TC
1255
1256Bug fixes:
1257
1258 - Imager::Font::T1 incorrectly checked for absolute filename under
1259 Win32. Thanks to kmx for the report and fix.
1260 https://rt.cpan.org/Ticket/Display.html?id=67963
1261
618a3282
TC
1262 - compose() with the target, source or mask position off the top or
1263 left of the target image didn't clip the source image correctly.
1264 https://rt.cpan.org/Ticket/Display.html?id=67220
1265
1266 - compose() now returns a useful error message on a non-positive
1267 opacity.
1268
1269 - compose.im now at 100% test coverage. (As opposed to, umm, much,
1270 much less.)
1271
c1d16c8f 1272Imager 0.82 - 14 Mar 2011
2368cfec
TC
1273===========
1274
1275Bug fixes:
1276
1277 - eliminate calls to i_has_format() from the test suite, since it's
1278 no longer a useful way to check for file format support. Eliminate
1279 i_has_format() from the functions exposed via XS.
1280 https://rt.cpan.org/Ticket/Display.html?id=65863
1281
7540f84a
TC
1282 - eliminate calls to note(), which isn't in the (very old) version of
1283 Test::More we have as a pre-requisite. note() is modern enough
1284 that I don't feel a need to require a Test::More upgrade for it.
1285 https://rt.cpan.org/Ticket/Display.html?id=65864
1286
81984f30
TC
1287 - skip the threads tests on Test::More 2.00_*
1288 https://rt.cpan.org/Ticket/Display.html?id=65812
1289
57fc3f48
TC
1290 - add an (unshipped) test to check Imager's internal POD links
1291 https://rt.cpan.org/Ticket/Display.html?id=65749
1292
d97c8dbd
TC
1293 - improve the library detection summary
1294 https://rt.cpan.org/Ticket/Display.html?id=9675
1295
c901f27d
TC
1296 - increase the version of Imager::Font::Type1 so that upgrades don't
1297 downgrade the version in this file.
1298 https://rt.cpan.org/Ticket/Display.html?id=66250
1299
1300 - if we see an -rpath (or -R) option in $Config{lddlflags} supply
1301 that option for the directories that would normally go in
1302 LD_RUN_PATH. Typically an explicit -rpath overrides LD_RUN_PATH.
1303 https://rt.cpan.org/Ticket/Display.html?id=65955
1304
533bab3e 1305Imager 0.81 - 14 Feb 2011
416e9814
TC
1306===========
1307
1308 - added coverage tests for masked images (maskimg.c @100% test coverage)
1309
9ea78101
TC
1310 - add hsv() method to Imager::Color
1311 Thanks to Leolo (Philip Gwyn)
1312 https://rt.cpan.org/Ticket/Display.html?id=65385
1313
1f289f50
TC
1314 - split libt1 Type 1 font support into a sub-module
1315 https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
1316
2c331f9f
TC
1317 - add a preload() class method for use in forking servers, and to
1318 work around limitations in PAR.
1319 https://rt.cpan.org/Ticket/Display.html?id=65665
1320
416e9814
TC
1321Bug fixes:
1322
1323 - paletted writes to a masked image are now masked correctly.
1324 Revealed by new coverage tests.
1325
130225b1
TC
1326 - update the filter plugin documentation.
1327 https://rt.cpan.org/Ticket/Display.html?id=56513
1328
4326b23a 1329 - add the matrix() method to Imager::Matrix2d to allow creation of a
a34dc54c
TC
1330 matrix with specified co-efficients. You can now multiple an
1331 Imager::Matrix2d object by a 9 element array ref or a number.
4326b23a
TC
1332 https://rt.cpan.org/Ticket/Display.html?id=29938
1333
9ea78101
TC
1334 - really fix loading TTF fonts with FT2 when FT1 isn't available.
1335 Thanks to Leolo (Philip Gwyn)
1336 https://rt.cpan.org/Ticket/Display.html?id=65386
1337 https://rt.cpan.org/Ticket/Display.html?id=62855
1338
40e78f96
TC
1339 - make sure each test script that needs testout/ creates it.
1340 https://rt.cpan.org/Ticket/Display.html?id=65088
1341
afee75f6
TC
1342 - handle a slightly different warning from libtiff 4.x
1343 https://rt.cpan.org/Ticket/Display.html?id=65268
1344
52b0d318
TC
1345 - the sat transform2() op returned an incorrect saturation.
1346 https://rt.cpan.org/Ticket/Display.html?id=65391
1347
d33f20c1 1348Imager 0.80 - 17 Jan 2011
95c08d71
TC
1349===========
1350
9a5df694
TC
1351 - added coverage tests for Imager::Fountain and Imager::Color::Float
1352
1353 - Imager is now maintained in git
1354 http://git.imager.perl.org/imager.git
1355 git://git.imager.perl.org/imager.git
1356
95c08d71
TC
1357Bug fixes:
1358
1359 - images with an translucent alpha channel were not scaled correctly
1360 by the default (qtype=normal) scaling method.
1361 https://rt.cpan.org/Public/Bug/Display.html?id=63922
1362
34c03f04
TC
1363 - Imager::Color::Float now translates "#FFFFFF" to white instead of
1364 just a little darker.
1365
9a5df694
TC
1366 - make the default color map build algorithm "mediancut". This
1367 changes the default color map builder for writing GIFs back to what
1368 it was in 0.77, reverting a performance regression.
0348fe07
TC
1369 https://rt.cpan.org/Ticket/Display.html?id=64785
1370
416e9814
TC
1371 - handle failure to create a masked image correctly
1372
95c08d71 1373Imager 0.79 - 10 Dec 2010
62869327
TC
1374===========
1375
1376 - add Imager::Test to the POD coverage tests and document the missing
1377 functions.
1378
2a2c791f
TC
1379 - the convert() method now optimizes the case where all output
1380 channels are either 0, sourced from a single input channel or 1.
1381 This significantly speeds up presets like "addalpha", "green".
1382 https://rt.cpan.org/Ticket/Display.html?id=51254
1383
b5c0ab7f
TC
1384 - add wiggle.pl sample, as suggested by Dan Oppenheim.
1385
b47464c1
TC
1386 - add the combine() method to combine channels from multiple source
1387 images into a new image
1388 https://rt.cpan.org/Ticket/Display.html?id=11872
1389
62869327
TC
1390Bug fixes:
1391
1392 - treat the co-efficients for convert() as doubles instead of floats.
1393
d67dd866
TC
1394 - If a higher (earlier) priority font handler failed to load, that
1395 would crash preventing loading of later font handlers.
9413a3f3
TC
1396 https://rt.cpan.org/Ticket/Display.html?id=62855
1397
a9120a5e
TC
1398 - parse defines from the options returned by pkg-config --cflags
1399 https://rt.cpan.org/Ticket/Display.html?id=63223
02f040a6
TC
1400
1401 - a regen of the MANIFEST revealed that GIF and FT2 tests weren't
1402 included in the tarball. They are now included.
a9120a5e 1403
893474f1 1404Imager 0.78 - 4 Oct 2010
f5b4354e
TC
1405===========
1406
1407Bug fixes:
1408
1409 - don't access deprecated members of the png_structp.
1410 https://rt.cpan.org/Ticket/Display.html?id=60242
1411
8289f78b
TC
1412 - document that using color objects is faster than supplying colors
1413 by name, etc.
1414 https://rt.cpan.org/Ticket/Display.html?id=61047
1415
0c3c1180
TC
1416 - Imager::Probe now accepts array references for incpath and libpath.
1417 https://rt.cpan.org/Ticket/Display.html?id=60244
1418
b6035795 1419Imager 0.77_02 - 27 Sep 2010
aca4e30a
TC
1420==============
1421
95b9922f 1422 - moved Win32, FreeType 2 font support into sub-modules.
aca4e30a
TC
1423 https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
1424 Uses Imager::Probe now.
1425 https://rt.cpan.org/Public/Bug/Display.html?id=61328
1426
c6683e4d
TC
1427 - tested successfully with jpeg-8b
1428 https://rt.cpan.org/Ticket/Display.html?id=60221
1429
e85532b9
TC
1430Bug fixes:
1431
1432 - from _01: look for missing file support test files in the right
1433 places.
1434
353eb6e7
TC
1435 - flood_fill() wouldn't fill the right side of a single scan-line
1436 fill area.
1437 Thanks to Nicolas Roggli for reporting this.
1438
95b9922f
TC
1439 - flood_fill wouldn't fill to the left edge of the image if the
1440 starting line didn't reach the left edge.
1441 Thanks to Nicolas Roggli for reporting this.
1442
beb9ba23
TC
1443Imager 0.77_01 - 13 Sep 2010
1444==============
82f14556
TC
1445
1446 - add each library-directory/pkgconfig/ to the pkg-config search path
1447 in Imager::Probe.
1448 Thanks to Justin Davis.
1449 https://rt.cpan.org/Ticket/Display.html?id=60491
1450
8ab27e7e
TC
1451 - moved GIF, TIFF, JPEG file handling code into sub-modules in
1452 preparation for separate distribution.
ec6d8908
TC
1453 https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
1454
69675eef
TC
1455 Note: this removed support for libungif from Imager.
1456
173c91ba
TC
1457 - optimize filled box drawing (color, not fill)
1458
82f14556
TC
1459Bug fixes:
1460
1461 - Imager::Probe was calling ExtUtils::Liblist to initialize
1462 LD_RUN_PATH supplying an undefined value rather than the found
1463 directory. Thanks to Justin Davis.
1464 https://rt.cpan.org/Ticket/Display.html?id=60491
1465
b851aeeb
TC
1466 - only prepend ./ to font filenames when passing them to T1Lib and
1467 then only when it would use its search mechanisms.
1468 https://rt.cpan.org/Ticket/Display.html?id=60509
1469
173c91ba 1470 - fix the cache check for the X rgb.txt loader. This is typically
cb4f51d6
TC
1471 used for color translation on Unix-like systems, and the fix
1472 improves performance of supplying colors by name by about 80 times.
1473 Test code that managed 3400 10x10 pixel boxes/second sped up to
1474 25700 boxes/second.
b851aeeb 1475
d3a96113
TC
1476 - clarify that Imager doesn't write EXIF metadata to images.
1477 https://rt.cpan.org/Ticket/Display.html?id=60637
1478
1479 - Imager::Probe can now search subdirectories under its include path.
1480 Used by the PNG Makefile.PL to find headers and libraries when they
1481 aren't in the base directory, as in cygwin.
1482 https://rt.cpan.org/Ticket/Display.html?id=60635
1483
43452432
TC
1484Imager 0.77 - 11 Aug 2010
1485===========
1486
1487I don't want Imager::File::PNG indexed as part of Imager, but forgot
1488to update the META.yml before updating the version.
1489
1490 - don't index Imager::File::PNG as part of Imager
1491
1492 - add resources to META.yml
1493
1494Imager 0.76 - not released
120f4287
TC
1495===========
1496
1497Bug fixes:
1498
1499 - the align_string() method would ignore a string of "0" due to a
1500 mis-use of C< ||= >.
1501 Thanks to Maurice Height for reporting this.
1502 https://rt.cpan.org/Ticket/Display.html?id=60199
1503
0e66b07f
TC
1504Imager 0.75_03 - 09 Aug 2010
1505==============
1506
1507Bug fixes:
1508
1509 - read_types() and write_types() would include png when it wasn't
1510 available due to a problem with the %formats tie
1511
1512 - handle dependent libraries correctly (eg -lpng requiring -lz) in
1513 the code run phase of library probing.
1514
7ac2e52e
TC
1515Imager 0.75_02 - 07 Aug 2010
1516==============
1517
1518Bug fixes:
1519
1520 - add file missing from MANIFEST, which was causing TIFF failures.
1521
496ea64d
TC
1522Imager 0.75_01 - 06 Aug 2010
1523==============
1524
1525Test release for the new PNG probe.
75812841 1526
a596d4f6
TC
1527 - added the ability to read multiple-image PNM files.
1528 Note that unlike the pbm/pgm/ppm specification this accepts mixed
1529 format files and allows white space padding between files.
1530 Thanks to Philip Gwyn (Leolo) for this patch.
1531
1d7e3124
TC
1532 - moved the PNG file handling code into a sub-module in preparation
1533 for separate distribution.
1534 https://rt.cpan.org/Ticket/Display.html?id=49616 (partial)
1535 Also helps avoid complications from -I/-L compile/link options from
1536 other libraries.
1537
75812841
TC
1538Bugs:
1539
1540 - Imager->new(data => $data) didn't try to process image file data in
1541 $data
1542 https://rt.cpan.org/Ticket/Display.html?id=58761
1543
b6071a43
TC
1544 - t/t50basicoo.t no longer depends on the other tests to generate its
1545 input files.
1546 https://rt.cpan.org/Ticket/Display.html?id=9798
1547 Also, it wasn't testing pnm (pnm vs ppm mix-up)
1548
a9da425a
TC
1549 - update the documentation of hardinvert to match the change in 0.62.
1550 https://rt.cpan.org/Ticket/Display.html?id=59785
1551
5558f899
TC
1552 - added hardinvertall filter which also inverts the alpha channel
1553 (sorry for the mess)
1554
10b85929
TC
1555 - when probing for TIFF, set LD_RUN_PATH just as the Makefile does so
1556 the probe can find the library for the test run.
1557 https://rt.cpan.org/Ticket/Display.html?id=57518
1558
75812841 1559Imager 0.75 - 20 Jun 2010
b13a3ddb
TC
1560===========
1561
1562 - use PERL_NO_GET_CONTEXT to slightly improve performance on threaded
1563 perls (not measured)
1564
46e2e4a3
TC
1565Bugs:
1566
8c194049
TC
1567 - an opacity fill based on a fountain fill would segfault when
1568 filling an 8-bit/sample image.
1569
1c5252ed
TC
1570 - merge thickline branch polygon fix
1571 https://rt.cpan.org/Ticket/Display.html?id=43518
1572
41c88ecd 1573Imager 0.74 - 7 May 2010
8d46e5da
TC
1574===========
1575
1576Bug fixes:
1577
1578 - read_multi() didn't handle a missing file format library correctly,
1579 aborting on failing to call i_readgif_multi_wiol() or
1580 i_readtiff_multi_wiol().
1581
5715f7c3
TC
1582 - fix spelling errors patched by Debian
1583 http://svn.debian.org/viewsvn/pkg-perl/trunk/libimager-perl/debian/patches/spelling.patch?revision=54839&view=markup
1584
1585 - add an (unshipped) author test to spellcheck Imager's POD.
7468f3fa 1586
38218f79
TC
1587 - update the TIFF file format documentation
1588 https://rt.cpan.org/Ticket/Display.html?id=56510
1589
e17da819
TC
1590 - lib/Imager/IO.pod was written almost 4 years ago but never shipped.
1591
704f12d5 1592Imager 0.73 - 15 Mar 2010
40068b33
TC
1593===========
1594
1595 - implement outline circles, both anti-aliased and not
1596 https://rt.cpan.org/Ticket/Display.html?id=19755
1597
e958b64e
TC
1598 - a combine => "none" fill to a 1 or 3 channel image would produce
1599 the incorrect colour.
1600
b2db3662
TC
1601Imager 0.72 - 09 Dec 2009
1602===========
1603
1604Bump version for release, since 0.71_03 is stable with CPAN testers.
1605
6936706b
TC
1606Imager 0.71_03 - 5 Dec 2009
1607==============
1608
1609 - further adjust the threads test so it only performs the tests on
1610 perls where it's expected to work, and only if the threads module
1611 can be loaded.
1612
0750777c
TC
1613Imager 0.71_02 - 1 Dec 2009
1614==============
1615
48ad0e66
TC
1616 - adjust the way we load the threads module for the threads test so
1617 it works with non-threaded perls
0750777c 1618
b89f0fcd 1619Imager 0.71_01 - 30 Nov 2009
e41cfe8f
TC
1620===========
1621
1622Bug fixes:
1623
1624 - use scanline oriented operations to flip images instead of pixel
1625 operations
1626 https://rt.cpan.org/Ticket/Display.html?id=39278
1627
1628 - use double/sample operations to flip large sample images instead of
1629 8-bit sample operations.
1630 https://rt.cpan.org/Ticket/Display.html?id=39280
1631
de3ca2fd
TC
1632 - fix POD nits
1633 https://rt.cpan.org/Ticket/Display.html?id=51874
1634
ffddd407
TC
1635 - prevent double-frees when someone creates Imager objects and then
1636 creates a thread. Note: this just handles some simple cases,
1637 Imager doesn't support perl threads, and isn't likely to.
1638 https://rt.cpan.org/Ticket/Display.html?id=52268
1639
3517794b 1640Imager 0.71 - 16 Nov 2009
6a3cbaef
TC
1641===========
1642
a16bae72
TC
1643 - add the opacity fill type - an adaptor that modifies the opacity of
1644 another fill.
1645
6a3cbaef
TC
1646Bug fixes:
1647
1648 - the conv filter now enforces that the sum of the coefficients is
1649 non-zero. Also, rather than skipping pixels off the edge off the
1650 edge of the image, the closest edge pixel is used. Previously
1651 dividing by the zero sum of coefficients could cause invalid
1652 results or runtime exceptions.
1653 Thanks to David Cantrell's Alpha-NetBSD CPAN test box for revealing
1654 this bug.
1655
189d5775 1656Imager 0.70 - 21 Sep 2009
2b82e731
TC
1657===========
1658
1659Bug fixes:
1660
1661 - release image row and comments memory on all error returns in gif
1662 reader
1663
1664 - handle zero length extensions, previously this would cause a null
1665 pointer dereference
1666 Thanks to Krzysztof Wojtaś for the test data and fix for this.
1667
b3afeed5
TC
1668 - an integer division meant that preview scaling to below 1 pixel
1669 wide or high (which isn't too useful anyway) was calculating using
1670 NaNs on most platforms, and causing an exception on others.
1671 Thanks to David Cantrell for producing a backtrace of the crash on
1672 his Alpha-NetBSD CPAN test box which made it possible to track this
1673 down.
1674
b1e29946 1675Imager 0.69 - 08 Sep 2009
25f4e775
TC
1676===========
1677
b1e29946 1678Bug fixes:
25f4e775
TC
1679
1680 - broken test fix - was attempting to call a function skip_all, when
1681 that should be a parameter to plan().
1682
b1e29946
TC
1683 - briefly document apidocs.perl, the tool used to build
1684 Imager::APIRef and make some minor enhancements
1685
1686 - various minor documentation enhancements and fixes.
1687
5920304a 1688Imager 0.68 - 07 Sep 2009
c5f447ac
TC
1689===========
1690
3c252111
TC
1691 - Imager->new(file => $filename) and other similar incantations will
1692 load the given file.
1693 https://rt.cpan.org/Ticket/Display.html?id=48261
1694
c5f447ac
TC
1695Bug fixes:
1696
1697 - avoid using CHECK as a label in Imager::Test
1698 http://nntp.x.perl.org/group/perl.cpan.testers/5220921
1699
0d670555
TC
1700 - re-work most image file test files that require a library into
1701 separate library present/not present files to remove stupidly long
1702 conditionals
1703
1704 - don't treat rubthrough() outside the bounds of the target image as
1705 an error.
1706 http://nntp.x.perl.org/group/perl.cpan.testers/5185716
1707
8d800216
TC
1708Imager 0.67_01 - 02 Sep 2009
1709==============
500888da
TC
1710
1711Bug fixes:
1712
1713 - correct documentation of default of raw image interleave read
1714 parameter
1715 https://rt.cpan.org/Ticket/Display.html?id=42074
1716
1717 - add raw_ prefix to raw read parameters, though the original names
1718 still work.
1719
1720 - fail the read if an invalid raw_interleave parameter is supplied
1721
1722 - warn if no interleave or raw_interleave parameter is supplied,
1723 since the documented default was wrong, and incompatible with the
1724 write format
1725
1726 - for reading raw images, if raw_storechannels > raw_datachannels,
1727 set the extra channels in the image to 0
1728
cd476e58
TC
1729 - when probing for executables like freetype-config, search for .bat
1730 and .cmd on MSWin32, as well as .exe.
1731 https://rt.cpan.org/Ticket/Display.html?id=49275
500888da 1732
f9a39263
TC
1733 - re-work the external libraries section of README:
1734 - list Debian and Redhat package names for each library
1735 - reformatting
1736 - update URLs
1737
f45b774f
TC
1738 - use the new EU::MM META_MERGE facility instead of generating
1739 META.yml from scratch
1740 https://rt.cpan.org/Ticket/Display.html?id=47888
1741
d6b51d8c
TC
1742 - use Devel::CheckLib (bundled, modified) to check which release of
1743 libtiff is installed and reject 3.9.0
78645bd4
TC
1744 http://bugzilla.maptools.org/show_bug.cgi?id=2088
1745 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543079
d6b51d8c 1746
249af030
TC
1747Imager 0.67 - 12 Dec 2008
1748===========
1749
1750Bug fixes:
1751
1752 - fix a packaging error
1753
cca21862 1754Imager 0.66 - 12 Dec 2008
3c8fee33
TC
1755===========
1756
6b22ba84
TC
1757 - 24-bit color .ICO/.CUR files can now be read.
1758
3c8fee33
TC
1759Bug fixes:
1760
6b22ba84
TC
1761 - an optimization skipping 0 src alpha values could cause the
1762 rubthrough() to read past the end of a buffer.
1763 http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1509184.html
1764
5c0d0ddf
TC
1765 - corrected a reference leak where writing GIFs would leak memory.
1766 This could also happen calling to_paletted().
1767 Also documented the underlying long existing feature where the
1768 colors parameter is filled with the generated color table and added
1769 tests for it.
3c8fee33
TC
1770 http://rt.cpan.org/Ticket/Display.html?id=41028
1771
8e7f5809
TC
1772 - write out the image size in bytes field of a BMP correctly.
1773 http://rt.cpan.org/Ticket/Display.html?id=41406
1774
c586eb58
TC
1775 - add limited tests for Imager::ExtUtils
1776
1777 - make Imager::ExtUtils->includes use an absolute path, since
1778 a relative path could cause failures using Inline::C.
1779 http://rt.cpan.org/Ticket/Display.html?id=37353
1780
6b22ba84
TC
1781 - re-arrange the POD for Imager::Font::BBox:
1782 - mark total_width(), pos_width(), end_offset() obsolete, since
1783 they're mostly for backwards compatibility
1784 - group width methods and height methods
1785 https://rt.cpan.org/Ticket/Display.html?id=39999
17d9fe35 1786
0727e3f5 1787Imager 0.65 - 20 May 2008
546ea21c
TC
1788===========
1789
1790Bug fixes:
1791
1792 - In some cases when an error occurs reading those parts of a JPEG
1793 file after the image the scan-line buffer could be freed a second
1794 time. In cases where the the error occured while reading the image
1795 data it's possible that the buffer could have leaked.
1796 Thanks to Gabriel Vasseur for reporting this and help in tracking
1797 it down.
1798
43b2b326
TC
1799 - the gif_screen_height tag was overriding the screen width and being
1800 ignored for the screen height when present.
1801 https://rt.cpan.org/Public/Bug/Display.html?id=35568
1802
e02d22d2 1803Imager 0.64 - 23 April 2008
de470892
TC
1804===========
1805
e02d22d2
TC
1806This is a bug fix release. This includes a fix for a possible
1807security issue.
1808
de470892
TC
1809Bug fixes:
1810
e02d22d2
TC
1811 - Possible security issue: The floating point sample path for image
1812 based fills had a buffer overflow. This would overwrite the end of
1813 a malloc()ed buffer with double precision floats.
1814 http://rt.cpan.org/Ticket/Display.html?id=35324
6912d85a 1815 CVE-2008-1928
e02d22d2 1816
de470892
TC
1817 - check that the result of fileno($fh) is defined rather than simply
1818 true when read() or write() is supplied with an fh parameter.
1819 http://rt.cpan.org/Ticket/Display.html?id=35139
1820
1821 - i_scale_axis() wasn't checking the result of i_img_new_ch()
1822 resulting in a SIGSEGV when attempting to scale an image to a size
1823 too large to fit in memory. This is a NULL pointer access issue,
1824 not a buffer overflow.
1825 Added a check for the failure.
1826 scale_calculate() (and hence scale()) will now fail if any of the
1827 scale size parameters are a reference.
1828 http://rt.cpan.org/Ticket/Display.html?id=35172
1829
04f85f63
TC
1830 - Regression: filling a greyscale image with a hatch used the wrong
1831 color channels from the supplied fg/bg colors.
1832 https://rt.cpan.org/Ticket/Display.html?id=35278
1833
a256aec5
TC
1834 - fixed a related problem for image fills.
1835
49240201 1836Imager 0.63 - 7 April 2008
33b0ffa6
TC
1837===========
1838
242d7497
TC
1839This release primarily contains changes to improve ease of use -
1840rather than you having to convert images to the appropriate number of
1841channels, Imager handles it internally. How to handle drawing colors
1842and the default combine mode is a thornier problem left for some other
1843release.
1844
d1555273
TC
1845 - the font libraries are now only initialized when needed.
1846 http://rt.cpan.org/Ticket/Display.html?id=28825
1847
9b1ec2b8
TC
1848 - moved the imtoc.perl code into Imager::Preprocess
1849
1850 - paste() and rubthrough() now adapt the source image data to the
1851 destination, so you can now safely paste/rubthrough from greyscale
1852 images to color images or back, or from alpha channel images to
1853 noalpha channels or back.
1854 https://rt.cpan.org/Ticket/Display.html?id=30908
1855
1856 - rubthrough() now falls back to pasting when the source doesn't have
1857 an alpha channel. This effectively treats the source as having a
1858 max alpha channel, the right thing to do.
1859 http://rt.cpan.org/Ticket/Display.html?id=29944
1860
1861 - re-worked most of the area filling code to use a common set of
1862 functions when filling.
1863 Corrected normal combine mode.
1864 Rewrote most of the combine modes to match the way the SVG draft
1865 defines them with respect to a translucent source and destination.
1866 Added tests for translucent source and destination.
1867 Added tests to check 8-bit/sample and double/sample combines work
1868 similarly.
1869 https://rt.cpan.org/Ticket/Display.html?id=29879
1870
07d9c639
TC
1871 - writing a 2 or 4 channel image to a JPEG file will now write that
1872 image as if composited against a background, black by default,
1873 overridable with the i_background tag/parameter.
6e4af7d4
TC
1874 https://rt.cpan.org/Ticket/Display.html?id=29876
1875
07d9c639
TC
1876 - writing a 2 or 4 channel image to a PGM/PPM file will now write
1877 that image as if composited against a background, black by default,
fa90de94
TC
1878 overridable with the i_background tag/parameter.
1879 http://rt.cpan.org/Ticket/Display.html?id=30074
1880
07d9c639
TC
1881 - writing a 2 or 4 channel image to a BMP file will now write that
1882 image as if composited against a background, black by default,
1883 overridable with the i_background tag/parameter.
1884 http://rt.cpan.org/Ticket/Display.html?id=30075
1885
33b0ffa6
TC
1886Bug fixes:
1887
1888 - Imager::Matrix2d->translate() now only requires one of the x or y
1889 parameters.
1890 http://rt.cpan.org/Ticket/Display.html?id=29937
1891
2757bad0
TC
1892 - mixing qtype scaling now sets all channels of a pixel to zero if
1893 the pixel has zero coverage (zero alpha). This should produce more
1894 compressible output files.
1895 http://rt.cpan.org/Ticket/Display.html?id=32324
1896
3da08517
TC
1897 - removed the pointless #! line from lib/Imager/Font/Wrap.pm
1898 Noticed when I saw:
1899 https://bugzilla.redhat.com/show_bug.cgi?id=166254
1900 I'm not changing the #! lines of the sample code, since it's sample
1901 code, not intended for installation.
1902 http://rt.cpan.org/Ticket/Display.html?id=33408
1903
242d7497
TC
1904 - some TGA images weren't being detected correctly as TGA images
1905 https://rt.cpan.org/Ticket/Display.html?id=32925
1906
1907 - handling of the left-over bit for 16-bit/pixel TGA images has been
1908 changed to match the behaviour of the GIMP. Previously the bit
1909 being set was treated as an opaque pixel, but one user reported a
1910 problem with loading such an image. I haven't been able to find any
1911 tools beyond the GIMP that handle alpha-channel 16-bit TGAs, so
1912 I'll match it's behaviour. See issue 114913 in the GIMP's
1913 bugzilla.
1914 http://rt.cpan.org/Ticket/Display.html?id=32926
1915
5daa9d34 1916Imager 0.62 - 10 December 2007
ac8138b0
TC
1917===========
1918
d8e0c3ba
TC
1919 - Makefile.PL now expands ~/path supplied to --incpath or --libpath
1920 to /path under your home directory.
1921 http://rt.cpan.org/Ticket/Display.html?id=29484
1922
50ff958e
TC
1923 - the old dynaload code used Mach API functions to load dynamic
1924 libraries on Mac OS X. These APIs have been deprecated in OS X
1925 10.5 and were causing some build problems.
1926 So henceforth Imager uses the dlopen() family of functions, and you
1927 will need version 10.3 or later of OS X.
1928
3309187a
TC
1929 - added the det() function to the transform2() engine.
1930 added the sample quad_to_square.pl
1931 Courtesy Richard Fairhurst.
1932 http://rt.cpan.org/Ticket/Display.html?id=31244
1933
ac8138b0
TC
1934Bug fixes:
1935
1936 - samples/gifscale.pl sourced the base value for gif_top from
1937 gif_left.
1938 Thanks to Eleneldil G. Arilou for pointing this out.
1939
678a9a65
TC
1940 - t/t82inline.t no longer loads B at runtime, to work around a bug
1941 in some 5.005_0[45] installations.
1942 http://rt.cpan.org/Ticket/Display.html?id=30508
1943
1944 - work around Module::Depends::Intrusive bug #21229
1945 http://rt.cpan.org/Ticket/Display.html?id=30520
ac8138b0 1946
bea65b1f
TC
1947 - the hardinvert filter no-longer inverts the alpha channel.
1948 http://rt.cpan.org/Ticket/Display.html?id=30002
1949
1950 - the hardinvert filter now supports large samples
1951
b7809486 1952Imager 0.61_02 - 28 November 2007
f74e6efc 1953==============
874c55db 1954
bd8052a6
TC
1955 - major TIFF support re-work
1956 http://rt.cpan.org/Ticket/Display.html?id=20329
1957
1958 - added a C level image interface for accessing samples from 1-32
1959 bits, exposed this at the perl level in getsamples()
1960
1961 - the conv filter now works at floating point precision for high bit
1962 images
1963
1964 - added is_bilevel method to test whether an image should be written as
1965 a bilevel image if the image format supports it.
1966
1967 - added -log-stderr as an Imager import list option
1968
1969 - added some important types to Imager::APIRef
1970
1971 - added test_image_double() to Imager::Test
1972
874c55db
TC
1973Bug fixes:
1974
1975 - Imager::Fountain couldn't read GIMP gradient files with 10 or more
1976 segments
1977
1978 - the scale() method with qtype mixing now handles images with an
1979 alpha channel correctly.
1980
8d17eae9
TC
1981 - fixed a broken link from the "animated GIF" entry in the concept index.
1982 Thanks to Slaven Rezic.
1983 http://rt.cpan.org/Ticket/Display.html?id=30889
1984
d3bf4eaf
TC
1985 - on some perl's the infix expression parser test would fail due to
1986 actions in the grammar returning false. Made sure all actions return
1987 a true value.
8b96ad6b
TC
1988 Thanks to Richard Fairhurst for spending a lot of time in tracking
1989 down this problem.
680c329d 1990 http://rt.cpan.org/Public/Bug/Display.html?id=29562
d3bf4eaf 1991
d06f6707 1992Imager 0.61 - 5 November 2007
1cfa190e
TC
1993===========
1994
1995 - added samples/gifscale.pl, which adjusts the screen size/position tags
1996 when scaling an animated gif
1997 http://rt.cpan.org/Ticket/Display.html?id=27591
1998
8a2cd317
TC
1999Bug fixes:
2000
e7ac18bd
TC
2001 - correct handling of sz in matrix_transform() - this should allow
2002 perspective type transformations to work now.
2003 http://rt.cpan.org/Ticket/Display.html?id=29936
2004
8a2cd317
TC
2005 - prevent a cast to integer warning on x64 builds in datatypes.c
2006 also fixed some other type warnings
2007 https://rt.cpan.org/Ticket/Display.html?id=30204
2008
9188b23e
TC
2009 - some sub-directory tests depended on files produced by the parent
2010 directory tests
2011 http://rt.cpan.org/Ticket/Display.html?id=30203
2012
7febff1d
TC
2013 - Imager::Font::Wrap doesn't correctly set savepos
2014 thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this.
2015 http://rt.cpan.org/Ticket/Display.html?id=29771
2016
76411e99
TC
2017 - test 171 in t/t01introvert.t was failing on perls configured to
2018 use long double.
2019 http://rt.cpan.org/Ticket/Display.html?id=29413
2020
3f29de50
TC
2021 - the code for the transform2() uminus operator was missing a break.
2022 Added tests for better code coverage of the ops.
2023 http://rt.cpan.org/Ticket/Display.html?id=29296
2024
ed107438
TC
2025 - the SGI RLE compression code could overflow its compression buffer
2026 http://rt.cpan.org/Ticket/Display.html?id=30334
2027
2028 - the 32-bit output function used by the SGI code only handled values
2029 under 0x10000. This was most noticable when writing large RLE images.
2030 http://rt.cpan.org/Ticket/Display.html?id=30335
2031
c7481ae1
TC
2032 - validate chan_count for chans == NULL for each of the i_gsamp()
2033 implementations.
2034 http://rt.cpan.org/Ticket/Display.html?id=28985
2035
ff37fc3f
TC
2036 - attempt to work around the test failure at
2037 http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html
2038 http://rt.cpan.org/Ticket/Display.html?id=29562
2039
f245645a
TC
2040 - improve the error messages produced when attempting to read or write
2041 an unknown image file format.
2042 http://rt.cpan.org/Ticket/Display.html?id=30103
2043
333d7485
TC
2044 - improve the transform2() documentation
2045 http://rt.cpan.org/Ticket/Display.html?id=29267
2046
3b115720
TC
2047 - correctly generate the author key in META.yml
2048 http://rt.cpan.org/Ticket/Display.html?id=30377
2049
13c9a303
TC
2050 - correctly blend a rotated (or matrix_transformed()) image when
2051 performing interpolation in the presence of an alpha channel.
8a071022
TC
2052 Also corrected the centring of the rotated image on the output
2053 image.
13c9a303 2054
0e622083 2055Imager 0.60 - 30 August 2007
bcff4dd9
TC
2056===========
2057
d5477d3d
TC
2058 - Finished/rewrote Arnar's old SGI RGB file format support, so Imager
2059 now has full SGI RGB image format, including RLE and 16-bit/sample
2060 images.
2061 https://rt.cpan.org/Ticket/Display.html?id=8666
2062
2063 - logging functions are now available in the API
2064
a60905e4
TC
2065 - applied Gabriel Vasseur's patch
2066 added documentation, further tests, and support for greyscale images
2067 Obviously problems are my fault :)
2068 https://rt.cpan.org/Ticket/Display.html?id=28142
2069
413dc198
TC
2070 - the mask for ICO/CUR images is now applied as an alpha channel to
2071 the returned image. For the old behaviour, supply ico_masked => 0
2072 to read() or read_multi(). This should be less confusing when
2073 using Imager as a general image processor.
2074 https://rt.cpan.org/Ticket/Display.html?id=29001
2075
bcff4dd9
TC
2076Bug fixes:
2077
2078 - in some cases it's possible for giflib/libungif to return color
2079 indexes outside the range of colors defined by the image's palette.
2080 We now expand the palette to match the indexes used.
2081 Thanks to Gabriel Vasseur for reporting this.
2082
02576e8d
TC
2083 - fixed various memory leaks that could occur when failing to read png,
2084 jpeg, bmp or tga files.
2085
b3aa972f
TC
2086 - to avoid confusion, channels not present in the image are returned as
2087 zero by getscanline(). This has no effect on the C level i_glin()
2088 and i_glinf() API functions which continue to not set the unused
2089 channels.
2090
d5477d3d
TC
2091 - the convert() method now returns an image of the same sample size as
2092 the source image.
2093 https://rt.cpan.org/Ticket/Display.html?id=28492
2094
baa880ef
TC
2095 - remove repeated text in Imager::Files
2096 http://rt.cpan.org/Ticket/Display.html?id=27589
2097
2098 - be even more explicit that scale() and friends don't modify the source
2099 image, but return a new image.
2100 http://rt.cpan.org/Ticket/Display.html?id=28570
2101
0561d49c
TC
2102 - improve the error message from errstr() when you try to load a font
2103 for which the driver hasn't been built in Imager.
2104 http://rt.cpan.org/Ticket/Display.html?id=27571
2105
d8a39ce0
TC
2106 - transparency is now enabled by default when writing GIF images
2107 http://rt.cpan.org/Ticket/Display.html?id=27615
2108
5730d6e7
TC
2109 - Imager would not load on Windows 98
2110 http://rt.cpan.org/Ticket/Display.html?id=27653
2111
b4996113 2112Imager 0.59 - 14 June 2007
e6e94ab0
TC
2113===========
2114
2115Bug fixes:
2116
2117 - fixes a regression introduced by the fixes for RT 11972
2118 http://rt.cpan.org/Ticket/Display.html?id=27546
2119
9fc9d0ca
TC
2120 - cropping outside the image would return an Imager object with
2121 no low-level image object, instead of returning false.
2122 Fixed by: Philip Gwyn (Leolo)
2123 http://rt.cpan.org/Ticket/Display.html?id=27509
2124
7e7508dd
TC
2125Imager 0.58 - 16 May 2007
2126===========
2127
2128No significant changes from 0.57_01.
2129
1970a2c7
TC
2130Imager 0.57_01 - 11 May 2007
2131==============
d034a178 2132
f8e36694
TC
2133 - added to_rgb16 to produce a 16-bit/sample version of an image
2134
95b2bff4
TC
2135 - improve freetype 1.x text output efficiency
2136
d034a178
TC
2137Bug fixes:
2138
2139 - search another place for rgb.txt, and check all the places
2140 Imager::Color checks when deciding whether to skip testing it
2141 http://rt.cpan.org/Ticket/Display.html?id=26064
2142
73962964
TC
2143 - use a convolution kernel size based on the stddev rather than a
2144 fixed size when performing a gaussian blur
2145 http://rt.cpan.org/Ticket/Display.html?id=25645
2146
01b84320
TC
2147 - document the difference() method's mindist parameter, and debug it.
2148
7e7508dd 2149 - put the Imager release number in the Inline::C generated code to
22f9ca48
TC
2150 regenerate Inline code when a new release of Imager is installed.
2151 http://rt.cpan.org/Ticket/Display.html?id=26278
2152
fa16b6c6
TC
2153 - fix rendering on alpha channel images for the FreeType 1.x driver.
2154 http://rt.cpan.org/Ticket/Display.html?id=11972
2155
4c84ccfb
TC
2156 - fix rendering on alpha channel images for the T1lib driver.
2157 http://rt.cpan.org/Ticket/Display.html?id=11972
2158
1fe8316b
TC
2159 - reworked library probing, we can now set more than one probe
2160 function for a library. Disabled the default (non-freetype-config)
2161 library probe and added an extra probe function that searches for
2162 both ft2build.h and whatever it includes, and adds -I as needed.
2163 Hopefully this will fix build problems like
2164 http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html
2165 http://rt.cpan.org/Ticket/Display.html?id=26086
2166
bb5712de
TC
2167Imager 0.57 - 30 Apr 2007
2168===========
2169
2170This is a maintenence release fixing a security issue in Imager.
2171
2172 - CRITICAL: a specially crafted compressed BMP file can cause a buffer
2173 overflow in malloced memory. There will be further discussion of
2174 this issue in the ticket below.
2175 http://rt.cpan.org/Ticket/Display.html?id=26811
7e7508dd
TC
2176 CVE-2007-2459 CVE-2007-2413
2177 The descriptions at cve.mitre.org varied in quality, please see the
2178 ticket at rt.cpan.org for a more accurate description of the issue.
bb5712de 2179
d034a178 2180Imager 0.56 - 1 Apr 2007
7623d340
TC
2181===========
2182
2183 - added support for reading 16-bit/sample PGM/PPM images
2184
2185 - added support for writing 16-bit/sample PGM/PPM images
2186
2187 - improved performance of reading PBM/PGM/PPM images
2188
2189 - added support for writing PBM images if the image is paletted and
2190 contains only black and white
2191
2192 - added a new make_colors value - "mono"
2193
2194 - switched from the svn log Changes to a manual Changes to reduce
2195 noise
2196
1225d272
TC
2197 - new sample code - samples/flasher.pl
2198
7623d340
TC
2199Bug fixes:
2200
2201 - CRITICAL: the "Imager" typemap entry (not used by Imager itself)
2202 was returning an image object with an extra reference, this
2203 resulted in a memory leak.
2204 http://rt.cpan.org/Ticket/Display.html?id=24992
2205
2206 - fix rendering on alpha channel images for the FreeType 2.x driver
2207 http://rt.cpan.org/Ticket/Display.html?id=11972
2208
2209 - reading bmp files now consitently handles short reads. You can now
2210 supply a parameter to treat a short read as successful and set
2211 i_incomplete
2212 http://rt.cpan.org/Ticket/Display.html?id=8426
2213
2214 - previously, reading ASCII PBM files required spaces between samples,
2215 even though the format doesn't require that
2216
1225d272
TC
2217 - improved documentation of the unsharpmask filter (I hope)
2218 http://rt.cpan.org/Ticket/Display.html?id=25531
2219
2220 - force flushing of the output from i_tt_dump_names() and test output
2221 in t/t35ttfont.t to prevent output from being mixed up.
2222 https://rt.cpan.org/Ticket/Display.html?id=24859
2223
2224 - rewrite a conditional expression as an if() to hopefully work around
2225 a bug in the pre-4.0 GCC Apple shipped with OS X 10.4.
2226 https://rt.cpan.org/Ticket/Display.html?id=25561
2227
2228 - avoid Data::Dumper in regops.perl to support older releases of perl
2229 https://rt.cpan.org/Ticket/Display.html?id=24391
2230
7623d340
TC
2231Imager 0.55 - 16 Dec 2006
2232===========
2233
2234This is primarily a bug fix release.
2235
2236Note: Test::More is now a pre-requisite for Imager and is no longer bundled.
2237
2238There is one new feature:
2239
2240 - the Win32 font driver now supports UTF8 (RT 22166)
2241 http://www.cpanforum.com/threads/3276
2242 http://rt.cpan.org/Ticket/Display.html?id=22166
2243
2244Several bugs were fixed:
2245
2246 - the string() method would not output the string "0"
2247 http://rt.cpan.org/Public/Bug/Display.html?id=21770
2248
2249 - fills.c was failing to compile on Solaris 10 (compiler unknown)
2250 http://rt.cpan.org/Public/Bug/Display.html?id=21944
2251
2252 - the gif_disposal and gif_user_input tags weren't being read from
2253 the file correctly
2254 http://rt.cpan.org/Public/Bug/Display.html?id=22192
2255
2256 - gif.c was failing to build under MSVC
2257 http://rt.cpan.org/Ticket/Display.html?id=23922
2258
2259 - in some cases strings passed to the string() method were treated as
2260 terminated by NUL (chr 0)
2261 http://rt.cpan.org/Public/Bug/Display.html?id=21770
2262
2263 - on "MSWin32" perl builds we now link to -lzlib instead of -lz since
2264 that's the default build name for zlib on Win32.
2265 http://rt.cpan.org/Ticket/Display.html?id=23064
2266
2267 - search $Config{incpath} for headers too, which we should have been
2268 doing all along.
2269
2270Win32 font driver fixes:
2271
2272 - the global descent value from bounding box was the wrong sign
2273 http://www.cpanforum.com/threads/3276
2274
2275 - if the first or last glyph overflowed the left or right side of the
2276 advance width they would be clipped
2277
2278
2279Imager 0.54 - 14 Sep 2006
2280===========
2281
2282This is primarily a feature release:
2283
2284 - a new qtype value 'mixing' has been added to the scale()
2285 method. This is faster than 'normal', slower than 'preview'. This
2286 is based on the method used by pnmscale, and seems to produce less
2287 blurry results than normal.
2288 http://rt.cpan.org/Public/Bug/Display.html?id=20677
2289
2290 - the rubthrough() method can now render onto images with an alpha
2291 channel.
2292 http://rt.cpan.org/Ticket/Display.html?id=20678
2293
2294 - the read_multi() method now falls back to calling doing a single
2295 image read via the read() method and write_multi() will now fall
2296 back to calling write() if a single image is supplied. This means
2297 you can simply call the read_multi() or write_multi() functions
2298 without having to check if the type is formatted by that method.
2299 http://rt.cpan.org/Ticket/Display.html?id=19457
2300 http://rt.cpan.org/Ticket/Display.html?id=19458
2301
2302 - the GIF loop extension can now be written. If you don't have
2303 libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you
2304 should upgrade.
2305 http://rt.cpan.org/Ticket/Display.html?id=21185
2306
2307 - getscanline() and setscanline() can now read/write palette index
2308 based data from/to the image for paletted images, by setting type to
2309 'index'.
2310 http://rt.cpan.org/Ticket/Display.html?id=20338
2311
2312 - we no longer hassle you to disable GIF support
2313 http://rt.cpan.org/Ticket/Display.html?id=20687
2314
2315 - minor documentation fixes
2316
2317
2318Imager 0.53 - 26 Jul 2006
2319===========
2320
2321This is a bugfix release.
2322
2323Some test code was left in a code path not covered by the test
2324suite. A test was added to cover this code path and the test code was
2325removed.
2326http://rt.cpan.org/Public/Bug/Display.html?id=20705
2327
2328
2329Imager 0.52 - 25 Jul 2006
2330===========
2331
2332This is primarily a feature release, but contains a fair few bug
2333fixes, new features:
2334
2335 - ability to read and write MS Windows ICO and CUR files
2336
2337 - you can now add file format plugins to support new file formats
2338
2339 - add POD coverage tests
2340
2341 - setcolors() and addcolors() now accept color names and so on
2342 instead of requiring Imager::Color objects.
2343 http://rt.cpan.org/Ticket/Display.html?id=20056
2344
2345 - flood_fill() can now fill to a specified border color instead of
2346 just to the area the same color as the seed.
2347 http://rt.cpan.org/Ticket/Display.html?id=19618
2348
2349
2350Bug fixes:
2351
2352 - bounding_box for the T1 driver wasn't converting UTF8 to ascii when
2353 calculating the advance width.
2354 http://rt.cpan.org/Public/Bug/Display.html?id=20554
2355
2356 - bounding_box for the T1 driver wasn't including leading and
2357 trailing spaces in the bounding box as the other drivers did, it also
2358 produced strange results for empty strings or strings containing only
2359 spaces
2360
2361 - when reading CMYK jpeg images they were being transferred to the
2362 image object as is, producing a four channel image. It only looked ok
2363 due to an old still unfixed Photoshop bug. We now convert from the
2364 inverted CMYK that photoshop (and Corel for example) produce into RGB.
2365 http://rt.cpan.org/Ticket/Display.html?id=20416
2366
2367 - reading a CYMK TIFF would result in a 4 channel image, reading any
2368 image with more than 4 channels (eg. RGB with 2 alpha channels) would
2369 result in an error.
2370 http://rt.cpan.org/Ticket/Display.html?id=20415
2371
2372 - added /usr/local/include to the default include search path, since
2373 we were already searching /usr/local/lib for libraries.
2374
2375And various minor fixes and documentation updates.
2376
2377
2378Imager 0.51 - 23 Apr 2006
2379===========
2380
2381 - fix a validation bug when processing JPEG EXIF data that can cause
2382 a crash
2383 http://rt.cpan.org/Public/Bug/Display.html?id=18496
2384
2385 - fix mis-processing of the src_maxx and src_maxy parameters of the
2386 paste() method
2387 http://rt.cpan.org/Public/Bug/Display.html?id=18712
2388
2389 - fix a problem in Imager's "smart" handling of the color parameter
2390 to various methods.
2391 http://rt.cpan.org/Public/Bug/Display.html?id=18561
2392
2393
2394Imager 0.50 - 29 Mar 2006
2395===========
2396
2397 - CRITICAL: fixes a segmentation fault from attempting to write a 2
2398 or 4 channel image to jpeg or a 2 channel image to tga where the
2399 output is an in-memeory buffer.
2400 http://rt.cpan.org/Public/Bug/Display.html?id=18397
2401
2402 - fixes an incorrect pointer parameter in the PNG code
2403 http://rt.cpan.org/Public/Bug/Display.html?id=18051
2404
2405 - skip Inline::C tests when building in a directory with spaces
2406 http://rt.cpan.org/Public/Bug/Display.html?id=18049