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