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