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