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