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