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