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