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