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