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