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