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