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