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