better test coverage for tiff processing
[imager.git] / Changes
CommitLineData
7623d340
TC
1Imager release history. Older releases can be found in Changes.old
2
75812841
TC
3Imager 0.76
4===========
5
a596d4f6
TC
6 - added the ability to read multiple-image PNM files.
7 Note that unlike the pbm/pgm/ppm specification this accepts mixed
8 format files and allows white space padding between files.
9 Thanks to Philip Gwyn (Leolo) for this patch.
10
75812841
TC
11Bugs:
12
13 - Imager->new(data => $data) didn't try to process image file data in
14 $data
15 https://rt.cpan.org/Ticket/Display.html?id=58761
16
b6071a43
TC
17 - t/t50basicoo.t no longer depends on the other tests to generate its
18 input files.
19 https://rt.cpan.org/Ticket/Display.html?id=9798
20 Also, it wasn't testing pnm (pnm vs ppm mix-up)
21
75812841 22Imager 0.75 - 20 Jun 2010
b13a3ddb
TC
23===========
24
25 - use PERL_NO_GET_CONTEXT to slightly improve performance on threaded
26 perls (not measured)
27
46e2e4a3
TC
28Bugs:
29
8c194049
TC
30 - an opacity fill based on a fountain fill would segfault when
31 filling an 8-bit/sample image.
32
1c5252ed
TC
33 - merge thickline branch polygon fix
34 https://rt.cpan.org/Ticket/Display.html?id=43518
35
41c88ecd 36Imager 0.74 - 7 May 2010
8d46e5da
TC
37===========
38
39Bug fixes:
40
41 - read_multi() didn't handle a missing file format library correctly,
42 aborting on failing to call i_readgif_multi_wiol() or
43 i_readtiff_multi_wiol().
44
5715f7c3
TC
45 - fix spelling errors patched by Debian
46 http://svn.debian.org/viewsvn/pkg-perl/trunk/libimager-perl/debian/patches/spelling.patch?revision=54839&view=markup
47
48 - add an (unshipped) author test to spellcheck Imager's POD.
7468f3fa 49
38218f79
TC
50 - update the TIFF file format documentation
51 https://rt.cpan.org/Ticket/Display.html?id=56510
52
e17da819
TC
53 - lib/Imager/IO.pod was written almost 4 years ago but never shipped.
54
704f12d5 55Imager 0.73 - 15 Mar 2010
40068b33
TC
56===========
57
58 - implement outline circles, both anti-aliased and not
59 https://rt.cpan.org/Ticket/Display.html?id=19755
60
e958b64e
TC
61 - a combine => "none" fill to a 1 or 3 channel image would produce
62 the incorrect colour.
63
b2db3662
TC
64Imager 0.72 - 09 Dec 2009
65===========
66
67Bump version for release, since 0.71_03 is stable with CPAN testers.
68
6936706b
TC
69Imager 0.71_03 - 5 Dec 2009
70==============
71
72 - further adjust the threads test so it only performs the tests on
73 perls where it's expected to work, and only if the threads module
74 can be loaded.
75
0750777c
TC
76Imager 0.71_02 - 1 Dec 2009
77==============
78
48ad0e66
TC
79 - adjust the way we load the threads module for the threads test so
80 it works with non-threaded perls
0750777c 81
b89f0fcd 82Imager 0.71_01 - 30 Nov 2009
e41cfe8f
TC
83===========
84
85Bug fixes:
86
87 - use scanline oriented operations to flip images instead of pixel
88 operations
89 https://rt.cpan.org/Ticket/Display.html?id=39278
90
91 - use double/sample operations to flip large sample images instead of
92 8-bit sample operations.
93 https://rt.cpan.org/Ticket/Display.html?id=39280
94
de3ca2fd
TC
95 - fix POD nits
96 https://rt.cpan.org/Ticket/Display.html?id=51874
97
ffddd407
TC
98 - prevent double-frees when someone creates Imager objects and then
99 creates a thread. Note: this just handles some simple cases,
100 Imager doesn't support perl threads, and isn't likely to.
101 https://rt.cpan.org/Ticket/Display.html?id=52268
102
3517794b 103Imager 0.71 - 16 Nov 2009
6a3cbaef
TC
104===========
105
a16bae72
TC
106 - add the opacity fill type - an adaptor that modifies the opacity of
107 another fill.
108
6a3cbaef
TC
109Bug fixes:
110
111 - the conv filter now enforces that the sum of the coefficients is
112 non-zero. Also, rather than skipping pixels off the edge off the
113 edge of the image, the closest edge pixel is used. Previously
114 dividing by the zero sum of coefficients could cause invalid
115 results or runtime exceptions.
116 Thanks to David Cantrell's Alpha-NetBSD CPAN test box for revealing
117 this bug.
118
189d5775 119Imager 0.70 - 21 Sep 2009
2b82e731
TC
120===========
121
122Bug fixes:
123
124 - release image row and comments memory on all error returns in gif
125 reader
126
127 - handle zero length extensions, previously this would cause a null
128 pointer dereference
129 Thanks to Krzysztof Wojtaś for the test data and fix for this.
130
b3afeed5
TC
131 - an integer division meant that preview scaling to below 1 pixel
132 wide or high (which isn't too useful anyway) was calculating using
133 NaNs on most platforms, and causing an exception on others.
134 Thanks to David Cantrell for producing a backtrace of the crash on
135 his Alpha-NetBSD CPAN test box which made it possible to track this
136 down.
137
b1e29946 138Imager 0.69 - 08 Sep 2009
25f4e775
TC
139===========
140
b1e29946 141Bug fixes:
25f4e775
TC
142
143 - broken test fix - was attempting to call a function skip_all, when
144 that should be a parameter to plan().
145
b1e29946
TC
146 - briefly document apidocs.perl, the tool used to build
147 Imager::APIRef and make some minor enhancements
148
149 - various minor documentation enhancements and fixes.
150
5920304a 151Imager 0.68 - 07 Sep 2009
c5f447ac
TC
152===========
153
3c252111
TC
154 - Imager->new(file => $filename) and other similar incantations will
155 load the given file.
156 https://rt.cpan.org/Ticket/Display.html?id=48261
157
c5f447ac
TC
158Bug fixes:
159
160 - avoid using CHECK as a label in Imager::Test
161 http://nntp.x.perl.org/group/perl.cpan.testers/5220921
162
0d670555
TC
163 - re-work most image file test files that require a library into
164 separate library present/not present files to remove stupidly long
165 conditionals
166
167 - don't treat rubthrough() outside the bounds of the target image as
168 an error.
169 http://nntp.x.perl.org/group/perl.cpan.testers/5185716
170
8d800216
TC
171Imager 0.67_01 - 02 Sep 2009
172==============
500888da
TC
173
174Bug fixes:
175
176 - correct documentation of default of raw image interleave read
177 parameter
178 https://rt.cpan.org/Ticket/Display.html?id=42074
179
180 - add raw_ prefix to raw read parameters, though the original names
181 still work.
182
183 - fail the read if an invalid raw_interleave parameter is supplied
184
185 - warn if no interleave or raw_interleave parameter is supplied,
186 since the documented default was wrong, and incompatible with the
187 write format
188
189 - for reading raw images, if raw_storechannels > raw_datachannels,
190 set the extra channels in the image to 0
191
cd476e58
TC
192 - when probing for executables like freetype-config, search for .bat
193 and .cmd on MSWin32, as well as .exe.
194 https://rt.cpan.org/Ticket/Display.html?id=49275
500888da 195
f9a39263
TC
196 - re-work the external libraries section of README:
197 - list Debian and Redhat package names for each library
198 - reformatting
199 - update URLs
200
f45b774f
TC
201 - use the new EU::MM META_MERGE facility instead of generating
202 META.yml from scratch
203 https://rt.cpan.org/Ticket/Display.html?id=47888
204
d6b51d8c
TC
205 - use Devel::CheckLib (bundled, modified) to check which release of
206 libtiff is installed and reject 3.9.0
78645bd4
TC
207 http://bugzilla.maptools.org/show_bug.cgi?id=2088
208 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543079
d6b51d8c 209
249af030
TC
210Imager 0.67 - 12 Dec 2008
211===========
212
213Bug fixes:
214
215 - fix a packaging error
216
cca21862 217Imager 0.66 - 12 Dec 2008
3c8fee33
TC
218===========
219
6b22ba84
TC
220 - 24-bit color .ICO/.CUR files can now be read.
221
3c8fee33
TC
222Bug fixes:
223
6b22ba84
TC
224 - an optimization skipping 0 src alpha values could cause the
225 rubthrough() to read past the end of a buffer.
226 http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1509184.html
227
5c0d0ddf
TC
228 - corrected a reference leak where writing GIFs would leak memory.
229 This could also happen calling to_paletted().
230 Also documented the underlying long existing feature where the
231 colors parameter is filled with the generated color table and added
232 tests for it.
3c8fee33
TC
233 http://rt.cpan.org/Ticket/Display.html?id=41028
234
8e7f5809
TC
235 - write out the image size in bytes field of a BMP correctly.
236 http://rt.cpan.org/Ticket/Display.html?id=41406
237
c586eb58
TC
238 - add limited tests for Imager::ExtUtils
239
240 - make Imager::ExtUtils->includes use an absolute path, since
241 a relative path could cause failures using Inline::C.
242 http://rt.cpan.org/Ticket/Display.html?id=37353
243
6b22ba84
TC
244 - re-arrange the POD for Imager::Font::BBox:
245 - mark total_width(), pos_width(), end_offset() obsolete, since
246 they're mostly for backwards compatibility
247 - group width methods and height methods
248 https://rt.cpan.org/Ticket/Display.html?id=39999
17d9fe35 249
0727e3f5 250Imager 0.65 - 20 May 2008
546ea21c
TC
251===========
252
253Bug fixes:
254
255 - In some cases when an error occurs reading those parts of a JPEG
256 file after the image the scan-line buffer could be freed a second
257 time. In cases where the the error occured while reading the image
258 data it's possible that the buffer could have leaked.
259 Thanks to Gabriel Vasseur for reporting this and help in tracking
260 it down.
261
43b2b326
TC
262 - the gif_screen_height tag was overriding the screen width and being
263 ignored for the screen height when present.
264 https://rt.cpan.org/Public/Bug/Display.html?id=35568
265
e02d22d2 266Imager 0.64 - 23 April 2008
de470892
TC
267===========
268
e02d22d2
TC
269This is a bug fix release. This includes a fix for a possible
270security issue.
271
de470892
TC
272Bug fixes:
273
e02d22d2
TC
274 - Possible security issue: The floating point sample path for image
275 based fills had a buffer overflow. This would overwrite the end of
276 a malloc()ed buffer with double precision floats.
277 http://rt.cpan.org/Ticket/Display.html?id=35324
6912d85a 278 CVE-2008-1928
e02d22d2 279
de470892
TC
280 - check that the result of fileno($fh) is defined rather than simply
281 true when read() or write() is supplied with an fh parameter.
282 http://rt.cpan.org/Ticket/Display.html?id=35139
283
284 - i_scale_axis() wasn't checking the result of i_img_new_ch()
285 resulting in a SIGSEGV when attempting to scale an image to a size
286 too large to fit in memory. This is a NULL pointer access issue,
287 not a buffer overflow.
288 Added a check for the failure.
289 scale_calculate() (and hence scale()) will now fail if any of the
290 scale size parameters are a reference.
291 http://rt.cpan.org/Ticket/Display.html?id=35172
292
04f85f63
TC
293 - Regression: filling a greyscale image with a hatch used the wrong
294 color channels from the supplied fg/bg colors.
295 https://rt.cpan.org/Ticket/Display.html?id=35278
296
a256aec5
TC
297 - fixed a related problem for image fills.
298
49240201 299Imager 0.63 - 7 April 2008
33b0ffa6
TC
300===========
301
242d7497
TC
302This release primarily contains changes to improve ease of use -
303rather than you having to convert images to the appropriate number of
304channels, Imager handles it internally. How to handle drawing colors
305and the default combine mode is a thornier problem left for some other
306release.
307
d1555273
TC
308 - the font libraries are now only initialized when needed.
309 http://rt.cpan.org/Ticket/Display.html?id=28825
310
9b1ec2b8
TC
311 - moved the imtoc.perl code into Imager::Preprocess
312
313 - paste() and rubthrough() now adapt the source image data to the
314 destination, so you can now safely paste/rubthrough from greyscale
315 images to color images or back, or from alpha channel images to
316 noalpha channels or back.
317 https://rt.cpan.org/Ticket/Display.html?id=30908
318
319 - rubthrough() now falls back to pasting when the source doesn't have
320 an alpha channel. This effectively treats the source as having a
321 max alpha channel, the right thing to do.
322 http://rt.cpan.org/Ticket/Display.html?id=29944
323
324 - re-worked most of the area filling code to use a common set of
325 functions when filling.
326 Corrected normal combine mode.
327 Rewrote most of the combine modes to match the way the SVG draft
328 defines them with respect to a translucent source and destination.
329 Added tests for translucent source and destination.
330 Added tests to check 8-bit/sample and double/sample combines work
331 similarly.
332 https://rt.cpan.org/Ticket/Display.html?id=29879
333
07d9c639
TC
334 - writing a 2 or 4 channel image to a JPEG file will now write that
335 image as if composited against a background, black by default,
336 overridable with the i_background tag/parameter.
6e4af7d4
TC
337 https://rt.cpan.org/Ticket/Display.html?id=29876
338
07d9c639
TC
339 - writing a 2 or 4 channel image to a PGM/PPM file will now write
340 that image as if composited against a background, black by default,
fa90de94
TC
341 overridable with the i_background tag/parameter.
342 http://rt.cpan.org/Ticket/Display.html?id=30074
343
07d9c639
TC
344 - writing a 2 or 4 channel image to a BMP file will now write that
345 image as if composited against a background, black by default,
346 overridable with the i_background tag/parameter.
347 http://rt.cpan.org/Ticket/Display.html?id=30075
348
33b0ffa6
TC
349Bug fixes:
350
351 - Imager::Matrix2d->translate() now only requires one of the x or y
352 parameters.
353 http://rt.cpan.org/Ticket/Display.html?id=29937
354
2757bad0
TC
355 - mixing qtype scaling now sets all channels of a pixel to zero if
356 the pixel has zero coverage (zero alpha). This should produce more
357 compressible output files.
358 http://rt.cpan.org/Ticket/Display.html?id=32324
359
3da08517
TC
360 - removed the pointless #! line from lib/Imager/Font/Wrap.pm
361 Noticed when I saw:
362 https://bugzilla.redhat.com/show_bug.cgi?id=166254
363 I'm not changing the #! lines of the sample code, since it's sample
364 code, not intended for installation.
365 http://rt.cpan.org/Ticket/Display.html?id=33408
366
242d7497
TC
367 - some TGA images weren't being detected correctly as TGA images
368 https://rt.cpan.org/Ticket/Display.html?id=32925
369
370 - handling of the left-over bit for 16-bit/pixel TGA images has been
371 changed to match the behaviour of the GIMP. Previously the bit
372 being set was treated as an opaque pixel, but one user reported a
373 problem with loading such an image. I haven't been able to find any
374 tools beyond the GIMP that handle alpha-channel 16-bit TGAs, so
375 I'll match it's behaviour. See issue 114913 in the GIMP's
376 bugzilla.
377 http://rt.cpan.org/Ticket/Display.html?id=32926
378
5daa9d34 379Imager 0.62 - 10 December 2007
ac8138b0
TC
380===========
381
d8e0c3ba
TC
382 - Makefile.PL now expands ~/path supplied to --incpath or --libpath
383 to /path under your home directory.
384 http://rt.cpan.org/Ticket/Display.html?id=29484
385
50ff958e
TC
386 - the old dynaload code used Mach API functions to load dynamic
387 libraries on Mac OS X. These APIs have been deprecated in OS X
388 10.5 and were causing some build problems.
389 So henceforth Imager uses the dlopen() family of functions, and you
390 will need version 10.3 or later of OS X.
391
3309187a
TC
392 - added the det() function to the transform2() engine.
393 added the sample quad_to_square.pl
394 Courtesy Richard Fairhurst.
395 http://rt.cpan.org/Ticket/Display.html?id=31244
396
ac8138b0
TC
397Bug fixes:
398
399 - samples/gifscale.pl sourced the base value for gif_top from
400 gif_left.
401 Thanks to Eleneldil G. Arilou for pointing this out.
402
678a9a65
TC
403 - t/t82inline.t no longer loads B at runtime, to work around a bug
404 in some 5.005_0[45] installations.
405 http://rt.cpan.org/Ticket/Display.html?id=30508
406
407 - work around Module::Depends::Intrusive bug #21229
408 http://rt.cpan.org/Ticket/Display.html?id=30520
ac8138b0 409
bea65b1f
TC
410 - the hardinvert filter no-longer inverts the alpha channel.
411 http://rt.cpan.org/Ticket/Display.html?id=30002
412
413 - the hardinvert filter now supports large samples
414
b7809486 415Imager 0.61_02 - 28 November 2007
f74e6efc 416==============
874c55db 417
bd8052a6
TC
418 - major TIFF support re-work
419 http://rt.cpan.org/Ticket/Display.html?id=20329
420
421 - added a C level image interface for accessing samples from 1-32
422 bits, exposed this at the perl level in getsamples()
423
424 - the conv filter now works at floating point precision for high bit
425 images
426
427 - added is_bilevel method to test whether an image should be written as
428 a bilevel image if the image format supports it.
429
430 - added -log-stderr as an Imager import list option
431
432 - added some important types to Imager::APIRef
433
434 - added test_image_double() to Imager::Test
435
874c55db
TC
436Bug fixes:
437
438 - Imager::Fountain couldn't read GIMP gradient files with 10 or more
439 segments
440
441 - the scale() method with qtype mixing now handles images with an
442 alpha channel correctly.
443
8d17eae9
TC
444 - fixed a broken link from the "animated GIF" entry in the concept index.
445 Thanks to Slaven Rezic.
446 http://rt.cpan.org/Ticket/Display.html?id=30889
447
d3bf4eaf
TC
448 - on some perl's the infix expression parser test would fail due to
449 actions in the grammar returning false. Made sure all actions return
450 a true value.
8b96ad6b
TC
451 Thanks to Richard Fairhurst for spending a lot of time in tracking
452 down this problem.
680c329d 453 http://rt.cpan.org/Public/Bug/Display.html?id=29562
d3bf4eaf 454
d06f6707 455Imager 0.61 - 5 November 2007
1cfa190e
TC
456===========
457
458 - added samples/gifscale.pl, which adjusts the screen size/position tags
459 when scaling an animated gif
460 http://rt.cpan.org/Ticket/Display.html?id=27591
461
8a2cd317
TC
462Bug fixes:
463
e7ac18bd
TC
464 - correct handling of sz in matrix_transform() - this should allow
465 perspective type transformations to work now.
466 http://rt.cpan.org/Ticket/Display.html?id=29936
467
8a2cd317
TC
468 - prevent a cast to integer warning on x64 builds in datatypes.c
469 also fixed some other type warnings
470 https://rt.cpan.org/Ticket/Display.html?id=30204
471
9188b23e
TC
472 - some sub-directory tests depended on files produced by the parent
473 directory tests
474 http://rt.cpan.org/Ticket/Display.html?id=30203
475
7febff1d
TC
476 - Imager::Font::Wrap doesn't correctly set savepos
477 thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this.
478 http://rt.cpan.org/Ticket/Display.html?id=29771
479
76411e99
TC
480 - test 171 in t/t01introvert.t was failing on perls configured to
481 use long double.
482 http://rt.cpan.org/Ticket/Display.html?id=29413
483
3f29de50
TC
484 - the code for the transform2() uminus operator was missing a break.
485 Added tests for better code coverage of the ops.
486 http://rt.cpan.org/Ticket/Display.html?id=29296
487
ed107438
TC
488 - the SGI RLE compression code could overflow its compression buffer
489 http://rt.cpan.org/Ticket/Display.html?id=30334
490
491 - the 32-bit output function used by the SGI code only handled values
492 under 0x10000. This was most noticable when writing large RLE images.
493 http://rt.cpan.org/Ticket/Display.html?id=30335
494
c7481ae1
TC
495 - validate chan_count for chans == NULL for each of the i_gsamp()
496 implementations.
497 http://rt.cpan.org/Ticket/Display.html?id=28985
498
ff37fc3f
TC
499 - attempt to work around the test failure at
500 http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html
501 http://rt.cpan.org/Ticket/Display.html?id=29562
502
f245645a
TC
503 - improve the error messages produced when attempting to read or write
504 an unknown image file format.
505 http://rt.cpan.org/Ticket/Display.html?id=30103
506
333d7485
TC
507 - improve the transform2() documentation
508 http://rt.cpan.org/Ticket/Display.html?id=29267
509
3b115720
TC
510 - correctly generate the author key in META.yml
511 http://rt.cpan.org/Ticket/Display.html?id=30377
512
13c9a303
TC
513 - correctly blend a rotated (or matrix_transformed()) image when
514 performing interpolation in the presence of an alpha channel.
8a071022
TC
515 Also corrected the centring of the rotated image on the output
516 image.
13c9a303 517
0e622083 518Imager 0.60 - 30 August 2007
bcff4dd9
TC
519===========
520
d5477d3d
TC
521 - Finished/rewrote Arnar's old SGI RGB file format support, so Imager
522 now has full SGI RGB image format, including RLE and 16-bit/sample
523 images.
524 https://rt.cpan.org/Ticket/Display.html?id=8666
525
526 - logging functions are now available in the API
527
a60905e4
TC
528 - applied Gabriel Vasseur's patch
529 added documentation, further tests, and support for greyscale images
530 Obviously problems are my fault :)
531 https://rt.cpan.org/Ticket/Display.html?id=28142
532
413dc198
TC
533 - the mask for ICO/CUR images is now applied as an alpha channel to
534 the returned image. For the old behaviour, supply ico_masked => 0
535 to read() or read_multi(). This should be less confusing when
536 using Imager as a general image processor.
537 https://rt.cpan.org/Ticket/Display.html?id=29001
538
bcff4dd9
TC
539Bug fixes:
540
541 - in some cases it's possible for giflib/libungif to return color
542 indexes outside the range of colors defined by the image's palette.
543 We now expand the palette to match the indexes used.
544 Thanks to Gabriel Vasseur for reporting this.
545
02576e8d
TC
546 - fixed various memory leaks that could occur when failing to read png,
547 jpeg, bmp or tga files.
548
b3aa972f
TC
549 - to avoid confusion, channels not present in the image are returned as
550 zero by getscanline(). This has no effect on the C level i_glin()
551 and i_glinf() API functions which continue to not set the unused
552 channels.
553
d5477d3d
TC
554 - the convert() method now returns an image of the same sample size as
555 the source image.
556 https://rt.cpan.org/Ticket/Display.html?id=28492
557
baa880ef
TC
558 - remove repeated text in Imager::Files
559 http://rt.cpan.org/Ticket/Display.html?id=27589
560
561 - be even more explicit that scale() and friends don't modify the source
562 image, but return a new image.
563 http://rt.cpan.org/Ticket/Display.html?id=28570
564
0561d49c
TC
565 - improve the error message from errstr() when you try to load a font
566 for which the driver hasn't been built in Imager.
567 http://rt.cpan.org/Ticket/Display.html?id=27571
568
d8a39ce0
TC
569 - transparency is now enabled by default when writing GIF images
570 http://rt.cpan.org/Ticket/Display.html?id=27615
571
5730d6e7
TC
572 - Imager would not load on Windows 98
573 http://rt.cpan.org/Ticket/Display.html?id=27653
574
b4996113 575Imager 0.59 - 14 June 2007
e6e94ab0
TC
576===========
577
578Bug fixes:
579
580 - fixes a regression introduced by the fixes for RT 11972
581 http://rt.cpan.org/Ticket/Display.html?id=27546
582
9fc9d0ca
TC
583 - cropping outside the image would return an Imager object with
584 no low-level image object, instead of returning false.
585 Fixed by: Philip Gwyn (Leolo)
586 http://rt.cpan.org/Ticket/Display.html?id=27509
587
7e7508dd
TC
588Imager 0.58 - 16 May 2007
589===========
590
591No significant changes from 0.57_01.
592
1970a2c7
TC
593Imager 0.57_01 - 11 May 2007
594==============
d034a178 595
f8e36694
TC
596 - added to_rgb16 to produce a 16-bit/sample version of an image
597
95b2bff4
TC
598 - improve freetype 1.x text output efficiency
599
d034a178
TC
600Bug fixes:
601
602 - search another place for rgb.txt, and check all the places
603 Imager::Color checks when deciding whether to skip testing it
604 http://rt.cpan.org/Ticket/Display.html?id=26064
605
73962964
TC
606 - use a convolution kernel size based on the stddev rather than a
607 fixed size when performing a gaussian blur
608 http://rt.cpan.org/Ticket/Display.html?id=25645
609
01b84320
TC
610 - document the difference() method's mindist parameter, and debug it.
611
7e7508dd 612 - put the Imager release number in the Inline::C generated code to
22f9ca48
TC
613 regenerate Inline code when a new release of Imager is installed.
614 http://rt.cpan.org/Ticket/Display.html?id=26278
615
fa16b6c6
TC
616 - fix rendering on alpha channel images for the FreeType 1.x driver.
617 http://rt.cpan.org/Ticket/Display.html?id=11972
618
4c84ccfb
TC
619 - fix rendering on alpha channel images for the T1lib driver.
620 http://rt.cpan.org/Ticket/Display.html?id=11972
621
1fe8316b
TC
622 - reworked library probing, we can now set more than one probe
623 function for a library. Disabled the default (non-freetype-config)
624 library probe and added an extra probe function that searches for
625 both ft2build.h and whatever it includes, and adds -I as needed.
626 Hopefully this will fix build problems like
627 http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html
628 http://rt.cpan.org/Ticket/Display.html?id=26086
629
bb5712de
TC
630Imager 0.57 - 30 Apr 2007
631===========
632
633This is a maintenence release fixing a security issue in Imager.
634
635 - CRITICAL: a specially crafted compressed BMP file can cause a buffer
636 overflow in malloced memory. There will be further discussion of
637 this issue in the ticket below.
638 http://rt.cpan.org/Ticket/Display.html?id=26811
7e7508dd
TC
639 CVE-2007-2459 CVE-2007-2413
640 The descriptions at cve.mitre.org varied in quality, please see the
641 ticket at rt.cpan.org for a more accurate description of the issue.
bb5712de 642
d034a178 643Imager 0.56 - 1 Apr 2007
7623d340
TC
644===========
645
646 - added support for reading 16-bit/sample PGM/PPM images
647
648 - added support for writing 16-bit/sample PGM/PPM images
649
650 - improved performance of reading PBM/PGM/PPM images
651
652 - added support for writing PBM images if the image is paletted and
653 contains only black and white
654
655 - added a new make_colors value - "mono"
656
657 - switched from the svn log Changes to a manual Changes to reduce
658 noise
659
1225d272
TC
660 - new sample code - samples/flasher.pl
661
7623d340
TC
662Bug fixes:
663
664 - CRITICAL: the "Imager" typemap entry (not used by Imager itself)
665 was returning an image object with an extra reference, this
666 resulted in a memory leak.
667 http://rt.cpan.org/Ticket/Display.html?id=24992
668
669 - fix rendering on alpha channel images for the FreeType 2.x driver
670 http://rt.cpan.org/Ticket/Display.html?id=11972
671
672 - reading bmp files now consitently handles short reads. You can now
673 supply a parameter to treat a short read as successful and set
674 i_incomplete
675 http://rt.cpan.org/Ticket/Display.html?id=8426
676
677 - previously, reading ASCII PBM files required spaces between samples,
678 even though the format doesn't require that
679
1225d272
TC
680 - improved documentation of the unsharpmask filter (I hope)
681 http://rt.cpan.org/Ticket/Display.html?id=25531
682
683 - force flushing of the output from i_tt_dump_names() and test output
684 in t/t35ttfont.t to prevent output from being mixed up.
685 https://rt.cpan.org/Ticket/Display.html?id=24859
686
687 - rewrite a conditional expression as an if() to hopefully work around
688 a bug in the pre-4.0 GCC Apple shipped with OS X 10.4.
689 https://rt.cpan.org/Ticket/Display.html?id=25561
690
691 - avoid Data::Dumper in regops.perl to support older releases of perl
692 https://rt.cpan.org/Ticket/Display.html?id=24391
693
7623d340
TC
694Imager 0.55 - 16 Dec 2006
695===========
696
697This is primarily a bug fix release.
698
699Note: Test::More is now a pre-requisite for Imager and is no longer bundled.
700
701There is one new feature:
702
703 - the Win32 font driver now supports UTF8 (RT 22166)
704 http://www.cpanforum.com/threads/3276
705 http://rt.cpan.org/Ticket/Display.html?id=22166
706
707Several bugs were fixed:
708
709 - the string() method would not output the string "0"
710 http://rt.cpan.org/Public/Bug/Display.html?id=21770
711
712 - fills.c was failing to compile on Solaris 10 (compiler unknown)
713 http://rt.cpan.org/Public/Bug/Display.html?id=21944
714
715 - the gif_disposal and gif_user_input tags weren't being read from
716 the file correctly
717 http://rt.cpan.org/Public/Bug/Display.html?id=22192
718
719 - gif.c was failing to build under MSVC
720 http://rt.cpan.org/Ticket/Display.html?id=23922
721
722 - in some cases strings passed to the string() method were treated as
723 terminated by NUL (chr 0)
724 http://rt.cpan.org/Public/Bug/Display.html?id=21770
725
726 - on "MSWin32" perl builds we now link to -lzlib instead of -lz since
727 that's the default build name for zlib on Win32.
728 http://rt.cpan.org/Ticket/Display.html?id=23064
729
730 - search $Config{incpath} for headers too, which we should have been
731 doing all along.
732
733Win32 font driver fixes:
734
735 - the global descent value from bounding box was the wrong sign
736 http://www.cpanforum.com/threads/3276
737
738 - if the first or last glyph overflowed the left or right side of the
739 advance width they would be clipped
740
741
742Imager 0.54 - 14 Sep 2006
743===========
744
745This is primarily a feature release:
746
747 - a new qtype value 'mixing' has been added to the scale()
748 method. This is faster than 'normal', slower than 'preview'. This
749 is based on the method used by pnmscale, and seems to produce less
750 blurry results than normal.
751 http://rt.cpan.org/Public/Bug/Display.html?id=20677
752
753 - the rubthrough() method can now render onto images with an alpha
754 channel.
755 http://rt.cpan.org/Ticket/Display.html?id=20678
756
757 - the read_multi() method now falls back to calling doing a single
758 image read via the read() method and write_multi() will now fall
759 back to calling write() if a single image is supplied. This means
760 you can simply call the read_multi() or write_multi() functions
761 without having to check if the type is formatted by that method.
762 http://rt.cpan.org/Ticket/Display.html?id=19457
763 http://rt.cpan.org/Ticket/Display.html?id=19458
764
765 - the GIF loop extension can now be written. If you don't have
766 libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you
767 should upgrade.
768 http://rt.cpan.org/Ticket/Display.html?id=21185
769
770 - getscanline() and setscanline() can now read/write palette index
771 based data from/to the image for paletted images, by setting type to
772 'index'.
773 http://rt.cpan.org/Ticket/Display.html?id=20338
774
775 - we no longer hassle you to disable GIF support
776 http://rt.cpan.org/Ticket/Display.html?id=20687
777
778 - minor documentation fixes
779
780
781Imager 0.53 - 26 Jul 2006
782===========
783
784This is a bugfix release.
785
786Some test code was left in a code path not covered by the test
787suite. A test was added to cover this code path and the test code was
788removed.
789http://rt.cpan.org/Public/Bug/Display.html?id=20705
790
791
792Imager 0.52 - 25 Jul 2006
793===========
794
795This is primarily a feature release, but contains a fair few bug
796fixes, new features:
797
798 - ability to read and write MS Windows ICO and CUR files
799
800 - you can now add file format plugins to support new file formats
801
802 - add POD coverage tests
803
804 - setcolors() and addcolors() now accept color names and so on
805 instead of requiring Imager::Color objects.
806 http://rt.cpan.org/Ticket/Display.html?id=20056
807
808 - flood_fill() can now fill to a specified border color instead of
809 just to the area the same color as the seed.
810 http://rt.cpan.org/Ticket/Display.html?id=19618
811
812
813Bug fixes:
814
815 - bounding_box for the T1 driver wasn't converting UTF8 to ascii when
816 calculating the advance width.
817 http://rt.cpan.org/Public/Bug/Display.html?id=20554
818
819 - bounding_box for the T1 driver wasn't including leading and
820 trailing spaces in the bounding box as the other drivers did, it also
821 produced strange results for empty strings or strings containing only
822 spaces
823
824 - when reading CMYK jpeg images they were being transferred to the
825 image object as is, producing a four channel image. It only looked ok
826 due to an old still unfixed Photoshop bug. We now convert from the
827 inverted CMYK that photoshop (and Corel for example) produce into RGB.
828 http://rt.cpan.org/Ticket/Display.html?id=20416
829
830 - reading a CYMK TIFF would result in a 4 channel image, reading any
831 image with more than 4 channels (eg. RGB with 2 alpha channels) would
832 result in an error.
833 http://rt.cpan.org/Ticket/Display.html?id=20415
834
835 - added /usr/local/include to the default include search path, since
836 we were already searching /usr/local/lib for libraries.
837
838And various minor fixes and documentation updates.
839
840
841Imager 0.51 - 23 Apr 2006
842===========
843
844 - fix a validation bug when processing JPEG EXIF data that can cause
845 a crash
846 http://rt.cpan.org/Public/Bug/Display.html?id=18496
847
848 - fix mis-processing of the src_maxx and src_maxy parameters of the
849 paste() method
850 http://rt.cpan.org/Public/Bug/Display.html?id=18712
851
852 - fix a problem in Imager's "smart" handling of the color parameter
853 to various methods.
854 http://rt.cpan.org/Public/Bug/Display.html?id=18561
855
856
857Imager 0.50 - 29 Mar 2006
858===========
859
860 - CRITICAL: fixes a segmentation fault from attempting to write a 2
861 or 4 channel image to jpeg or a 2 channel image to tga where the
862 output is an in-memeory buffer.
863 http://rt.cpan.org/Public/Bug/Display.html?id=18397
864
865 - fixes an incorrect pointer parameter in the PNG code
866 http://rt.cpan.org/Public/Bug/Display.html?id=18051
867
868 - skip Inline::C tests when building in a directory with spaces
869 http://rt.cpan.org/Public/Bug/Display.html?id=18049