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