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