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