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