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