Commit | Line | Data |
---|---|---|
7623d340 TC |
1 | Imager release history. Older releases can be found in Changes.old |
2 | ||
ac8138b0 TC |
3 | Imager 0.62 - unreleased |
4 | =========== | |
5 | ||
d8e0c3ba TC |
6 | - Makefile.PL now expands ~/path supplied to --incpath or --libpath |
7 | to /path under your home directory. | |
8 | http://rt.cpan.org/Ticket/Display.html?id=29484 | |
9 | ||
50ff958e TC |
10 | - the old dynaload code used Mach API functions to load dynamic |
11 | libraries on Mac OS X. These APIs have been deprecated in OS X | |
12 | 10.5 and were causing some build problems. | |
13 | So henceforth Imager uses the dlopen() family of functions, and you | |
14 | will need version 10.3 or later of OS X. | |
15 | ||
3309187a TC |
16 | - added the det() function to the transform2() engine. |
17 | added the sample quad_to_square.pl | |
18 | Courtesy Richard Fairhurst. | |
19 | http://rt.cpan.org/Ticket/Display.html?id=31244 | |
20 | ||
ac8138b0 TC |
21 | Bug fixes: |
22 | ||
23 | - samples/gifscale.pl sourced the base value for gif_top from | |
24 | gif_left. | |
25 | Thanks to Eleneldil G. Arilou for pointing this out. | |
26 | ||
678a9a65 TC |
27 | - t/t82inline.t no longer loads B at runtime, to work around a bug |
28 | in some 5.005_0[45] installations. | |
29 | http://rt.cpan.org/Ticket/Display.html?id=30508 | |
30 | ||
31 | - work around Module::Depends::Intrusive bug #21229 | |
32 | http://rt.cpan.org/Ticket/Display.html?id=30520 | |
ac8138b0 | 33 | |
bea65b1f TC |
34 | - the hardinvert filter no-longer inverts the alpha channel. |
35 | http://rt.cpan.org/Ticket/Display.html?id=30002 | |
36 | ||
37 | - the hardinvert filter now supports large samples | |
38 | ||
b7809486 | 39 | Imager 0.61_02 - 28 November 2007 |
f74e6efc | 40 | ============== |
874c55db | 41 | |
bd8052a6 TC |
42 | - major TIFF support re-work |
43 | http://rt.cpan.org/Ticket/Display.html?id=20329 | |
44 | ||
45 | - added a C level image interface for accessing samples from 1-32 | |
46 | bits, exposed this at the perl level in getsamples() | |
47 | ||
48 | - the conv filter now works at floating point precision for high bit | |
49 | images | |
50 | ||
51 | - added is_bilevel method to test whether an image should be written as | |
52 | a bilevel image if the image format supports it. | |
53 | ||
54 | - added -log-stderr as an Imager import list option | |
55 | ||
56 | - added some important types to Imager::APIRef | |
57 | ||
58 | - added test_image_double() to Imager::Test | |
59 | ||
874c55db TC |
60 | Bug fixes: |
61 | ||
62 | - Imager::Fountain couldn't read GIMP gradient files with 10 or more | |
63 | segments | |
64 | ||
65 | - the scale() method with qtype mixing now handles images with an | |
66 | alpha channel correctly. | |
67 | ||
8d17eae9 TC |
68 | - fixed a broken link from the "animated GIF" entry in the concept index. |
69 | Thanks to Slaven Rezic. | |
70 | http://rt.cpan.org/Ticket/Display.html?id=30889 | |
71 | ||
d3bf4eaf TC |
72 | - on some perl's the infix expression parser test would fail due to |
73 | actions in the grammar returning false. Made sure all actions return | |
74 | a true value. | |
8b96ad6b TC |
75 | Thanks to Richard Fairhurst for spending a lot of time in tracking |
76 | down this problem. | |
680c329d | 77 | http://rt.cpan.org/Public/Bug/Display.html?id=29562 |
d3bf4eaf | 78 | |
d06f6707 | 79 | Imager 0.61 - 5 November 2007 |
1cfa190e TC |
80 | =========== |
81 | ||
82 | - added samples/gifscale.pl, which adjusts the screen size/position tags | |
83 | when scaling an animated gif | |
84 | http://rt.cpan.org/Ticket/Display.html?id=27591 | |
85 | ||
8a2cd317 TC |
86 | Bug fixes: |
87 | ||
e7ac18bd TC |
88 | - correct handling of sz in matrix_transform() - this should allow |
89 | perspective type transformations to work now. | |
90 | http://rt.cpan.org/Ticket/Display.html?id=29936 | |
91 | ||
8a2cd317 TC |
92 | - prevent a cast to integer warning on x64 builds in datatypes.c |
93 | also fixed some other type warnings | |
94 | https://rt.cpan.org/Ticket/Display.html?id=30204 | |
95 | ||
9188b23e TC |
96 | - some sub-directory tests depended on files produced by the parent |
97 | directory tests | |
98 | http://rt.cpan.org/Ticket/Display.html?id=30203 | |
99 | ||
7febff1d TC |
100 | - Imager::Font::Wrap doesn't correctly set savepos |
101 | thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this. | |
102 | http://rt.cpan.org/Ticket/Display.html?id=29771 | |
103 | ||
76411e99 TC |
104 | - test 171 in t/t01introvert.t was failing on perls configured to |
105 | use long double. | |
106 | http://rt.cpan.org/Ticket/Display.html?id=29413 | |
107 | ||
3f29de50 TC |
108 | - the code for the transform2() uminus operator was missing a break. |
109 | Added tests for better code coverage of the ops. | |
110 | http://rt.cpan.org/Ticket/Display.html?id=29296 | |
111 | ||
ed107438 TC |
112 | - the SGI RLE compression code could overflow its compression buffer |
113 | http://rt.cpan.org/Ticket/Display.html?id=30334 | |
114 | ||
115 | - the 32-bit output function used by the SGI code only handled values | |
116 | under 0x10000. This was most noticable when writing large RLE images. | |
117 | http://rt.cpan.org/Ticket/Display.html?id=30335 | |
118 | ||
c7481ae1 TC |
119 | - validate chan_count for chans == NULL for each of the i_gsamp() |
120 | implementations. | |
121 | http://rt.cpan.org/Ticket/Display.html?id=28985 | |
122 | ||
ff37fc3f TC |
123 | - attempt to work around the test failure at |
124 | http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html | |
125 | http://rt.cpan.org/Ticket/Display.html?id=29562 | |
126 | ||
f245645a TC |
127 | - improve the error messages produced when attempting to read or write |
128 | an unknown image file format. | |
129 | http://rt.cpan.org/Ticket/Display.html?id=30103 | |
130 | ||
333d7485 TC |
131 | - improve the transform2() documentation |
132 | http://rt.cpan.org/Ticket/Display.html?id=29267 | |
133 | ||
3b115720 TC |
134 | - correctly generate the author key in META.yml |
135 | http://rt.cpan.org/Ticket/Display.html?id=30377 | |
136 | ||
13c9a303 TC |
137 | - correctly blend a rotated (or matrix_transformed()) image when |
138 | performing interpolation in the presence of an alpha channel. | |
8a071022 TC |
139 | Also corrected the centring of the rotated image on the output |
140 | image. | |
13c9a303 | 141 | |
0e622083 | 142 | Imager 0.60 - 30 August 2007 |
bcff4dd9 TC |
143 | =========== |
144 | ||
d5477d3d TC |
145 | - Finished/rewrote Arnar's old SGI RGB file format support, so Imager |
146 | now has full SGI RGB image format, including RLE and 16-bit/sample | |
147 | images. | |
148 | https://rt.cpan.org/Ticket/Display.html?id=8666 | |
149 | ||
150 | - logging functions are now available in the API | |
151 | ||
a60905e4 TC |
152 | - applied Gabriel Vasseur's patch |
153 | added documentation, further tests, and support for greyscale images | |
154 | Obviously problems are my fault :) | |
155 | https://rt.cpan.org/Ticket/Display.html?id=28142 | |
156 | ||
413dc198 TC |
157 | - the mask for ICO/CUR images is now applied as an alpha channel to |
158 | the returned image. For the old behaviour, supply ico_masked => 0 | |
159 | to read() or read_multi(). This should be less confusing when | |
160 | using Imager as a general image processor. | |
161 | https://rt.cpan.org/Ticket/Display.html?id=29001 | |
162 | ||
bcff4dd9 TC |
163 | Bug fixes: |
164 | ||
165 | - in some cases it's possible for giflib/libungif to return color | |
166 | indexes outside the range of colors defined by the image's palette. | |
167 | We now expand the palette to match the indexes used. | |
168 | Thanks to Gabriel Vasseur for reporting this. | |
169 | ||
02576e8d TC |
170 | - fixed various memory leaks that could occur when failing to read png, |
171 | jpeg, bmp or tga files. | |
172 | ||
b3aa972f TC |
173 | - to avoid confusion, channels not present in the image are returned as |
174 | zero by getscanline(). This has no effect on the C level i_glin() | |
175 | and i_glinf() API functions which continue to not set the unused | |
176 | channels. | |
177 | ||
d5477d3d TC |
178 | - the convert() method now returns an image of the same sample size as |
179 | the source image. | |
180 | https://rt.cpan.org/Ticket/Display.html?id=28492 | |
181 | ||
baa880ef TC |
182 | - remove repeated text in Imager::Files |
183 | http://rt.cpan.org/Ticket/Display.html?id=27589 | |
184 | ||
185 | - be even more explicit that scale() and friends don't modify the source | |
186 | image, but return a new image. | |
187 | http://rt.cpan.org/Ticket/Display.html?id=28570 | |
188 | ||
0561d49c TC |
189 | - improve the error message from errstr() when you try to load a font |
190 | for which the driver hasn't been built in Imager. | |
191 | http://rt.cpan.org/Ticket/Display.html?id=27571 | |
192 | ||
d8a39ce0 TC |
193 | - transparency is now enabled by default when writing GIF images |
194 | http://rt.cpan.org/Ticket/Display.html?id=27615 | |
195 | ||
5730d6e7 TC |
196 | - Imager would not load on Windows 98 |
197 | http://rt.cpan.org/Ticket/Display.html?id=27653 | |
198 | ||
b4996113 | 199 | Imager 0.59 - 14 June 2007 |
e6e94ab0 TC |
200 | =========== |
201 | ||
202 | Bug fixes: | |
203 | ||
204 | - fixes a regression introduced by the fixes for RT 11972 | |
205 | http://rt.cpan.org/Ticket/Display.html?id=27546 | |
206 | ||
9fc9d0ca TC |
207 | - cropping outside the image would return an Imager object with |
208 | no low-level image object, instead of returning false. | |
209 | Fixed by: Philip Gwyn (Leolo) | |
210 | http://rt.cpan.org/Ticket/Display.html?id=27509 | |
211 | ||
7e7508dd TC |
212 | Imager 0.58 - 16 May 2007 |
213 | =========== | |
214 | ||
215 | No significant changes from 0.57_01. | |
216 | ||
1970a2c7 TC |
217 | Imager 0.57_01 - 11 May 2007 |
218 | ============== | |
d034a178 | 219 | |
f8e36694 TC |
220 | - added to_rgb16 to produce a 16-bit/sample version of an image |
221 | ||
95b2bff4 TC |
222 | - improve freetype 1.x text output efficiency |
223 | ||
d034a178 TC |
224 | Bug fixes: |
225 | ||
226 | - search another place for rgb.txt, and check all the places | |
227 | Imager::Color checks when deciding whether to skip testing it | |
228 | http://rt.cpan.org/Ticket/Display.html?id=26064 | |
229 | ||
73962964 TC |
230 | - use a convolution kernel size based on the stddev rather than a |
231 | fixed size when performing a gaussian blur | |
232 | http://rt.cpan.org/Ticket/Display.html?id=25645 | |
233 | ||
01b84320 TC |
234 | - document the difference() method's mindist parameter, and debug it. |
235 | ||
7e7508dd | 236 | - put the Imager release number in the Inline::C generated code to |
22f9ca48 TC |
237 | regenerate Inline code when a new release of Imager is installed. |
238 | http://rt.cpan.org/Ticket/Display.html?id=26278 | |
239 | ||
fa16b6c6 TC |
240 | - fix rendering on alpha channel images for the FreeType 1.x driver. |
241 | http://rt.cpan.org/Ticket/Display.html?id=11972 | |
242 | ||
4c84ccfb TC |
243 | - fix rendering on alpha channel images for the T1lib driver. |
244 | http://rt.cpan.org/Ticket/Display.html?id=11972 | |
245 | ||
1fe8316b TC |
246 | - reworked library probing, we can now set more than one probe |
247 | function for a library. Disabled the default (non-freetype-config) | |
248 | library probe and added an extra probe function that searches for | |
249 | both ft2build.h and whatever it includes, and adds -I as needed. | |
250 | Hopefully this will fix build problems like | |
251 | http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html | |
252 | http://rt.cpan.org/Ticket/Display.html?id=26086 | |
253 | ||
bb5712de TC |
254 | Imager 0.57 - 30 Apr 2007 |
255 | =========== | |
256 | ||
257 | This is a maintenence release fixing a security issue in Imager. | |
258 | ||
259 | - CRITICAL: a specially crafted compressed BMP file can cause a buffer | |
260 | overflow in malloced memory. There will be further discussion of | |
261 | this issue in the ticket below. | |
262 | http://rt.cpan.org/Ticket/Display.html?id=26811 | |
7e7508dd TC |
263 | CVE-2007-2459 CVE-2007-2413 |
264 | The descriptions at cve.mitre.org varied in quality, please see the | |
265 | ticket at rt.cpan.org for a more accurate description of the issue. | |
bb5712de | 266 | |
d034a178 | 267 | Imager 0.56 - 1 Apr 2007 |
7623d340 TC |
268 | =========== |
269 | ||
270 | - added support for reading 16-bit/sample PGM/PPM images | |
271 | ||
272 | - added support for writing 16-bit/sample PGM/PPM images | |
273 | ||
274 | - improved performance of reading PBM/PGM/PPM images | |
275 | ||
276 | - added support for writing PBM images if the image is paletted and | |
277 | contains only black and white | |
278 | ||
279 | - added a new make_colors value - "mono" | |
280 | ||
281 | - switched from the svn log Changes to a manual Changes to reduce | |
282 | noise | |
283 | ||
1225d272 TC |
284 | - new sample code - samples/flasher.pl |
285 | ||
7623d340 TC |
286 | Bug fixes: |
287 | ||
288 | - CRITICAL: the "Imager" typemap entry (not used by Imager itself) | |
289 | was returning an image object with an extra reference, this | |
290 | resulted in a memory leak. | |
291 | http://rt.cpan.org/Ticket/Display.html?id=24992 | |
292 | ||
293 | - fix rendering on alpha channel images for the FreeType 2.x driver | |
294 | http://rt.cpan.org/Ticket/Display.html?id=11972 | |
295 | ||
296 | - reading bmp files now consitently handles short reads. You can now | |
297 | supply a parameter to treat a short read as successful and set | |
298 | i_incomplete | |
299 | http://rt.cpan.org/Ticket/Display.html?id=8426 | |
300 | ||
301 | - previously, reading ASCII PBM files required spaces between samples, | |
302 | even though the format doesn't require that | |
303 | ||
1225d272 TC |
304 | - improved documentation of the unsharpmask filter (I hope) |
305 | http://rt.cpan.org/Ticket/Display.html?id=25531 | |
306 | ||
307 | - force flushing of the output from i_tt_dump_names() and test output | |
308 | in t/t35ttfont.t to prevent output from being mixed up. | |
309 | https://rt.cpan.org/Ticket/Display.html?id=24859 | |
310 | ||
311 | - rewrite a conditional expression as an if() to hopefully work around | |
312 | a bug in the pre-4.0 GCC Apple shipped with OS X 10.4. | |
313 | https://rt.cpan.org/Ticket/Display.html?id=25561 | |
314 | ||
315 | - avoid Data::Dumper in regops.perl to support older releases of perl | |
316 | https://rt.cpan.org/Ticket/Display.html?id=24391 | |
317 | ||
7623d340 TC |
318 | Imager 0.55 - 16 Dec 2006 |
319 | =========== | |
320 | ||
321 | This is primarily a bug fix release. | |
322 | ||
323 | Note: Test::More is now a pre-requisite for Imager and is no longer bundled. | |
324 | ||
325 | There is one new feature: | |
326 | ||
327 | - the Win32 font driver now supports UTF8 (RT 22166) | |
328 | http://www.cpanforum.com/threads/3276 | |
329 | http://rt.cpan.org/Ticket/Display.html?id=22166 | |
330 | ||
331 | Several bugs were fixed: | |
332 | ||
333 | - the string() method would not output the string "0" | |
334 | http://rt.cpan.org/Public/Bug/Display.html?id=21770 | |
335 | ||
336 | - fills.c was failing to compile on Solaris 10 (compiler unknown) | |
337 | http://rt.cpan.org/Public/Bug/Display.html?id=21944 | |
338 | ||
339 | - the gif_disposal and gif_user_input tags weren't being read from | |
340 | the file correctly | |
341 | http://rt.cpan.org/Public/Bug/Display.html?id=22192 | |
342 | ||
343 | - gif.c was failing to build under MSVC | |
344 | http://rt.cpan.org/Ticket/Display.html?id=23922 | |
345 | ||
346 | - in some cases strings passed to the string() method were treated as | |
347 | terminated by NUL (chr 0) | |
348 | http://rt.cpan.org/Public/Bug/Display.html?id=21770 | |
349 | ||
350 | - on "MSWin32" perl builds we now link to -lzlib instead of -lz since | |
351 | that's the default build name for zlib on Win32. | |
352 | http://rt.cpan.org/Ticket/Display.html?id=23064 | |
353 | ||
354 | - search $Config{incpath} for headers too, which we should have been | |
355 | doing all along. | |
356 | ||
357 | Win32 font driver fixes: | |
358 | ||
359 | - the global descent value from bounding box was the wrong sign | |
360 | http://www.cpanforum.com/threads/3276 | |
361 | ||
362 | - if the first or last glyph overflowed the left or right side of the | |
363 | advance width they would be clipped | |
364 | ||
365 | ||
366 | Imager 0.54 - 14 Sep 2006 | |
367 | =========== | |
368 | ||
369 | This is primarily a feature release: | |
370 | ||
371 | - a new qtype value 'mixing' has been added to the scale() | |
372 | method. This is faster than 'normal', slower than 'preview'. This | |
373 | is based on the method used by pnmscale, and seems to produce less | |
374 | blurry results than normal. | |
375 | http://rt.cpan.org/Public/Bug/Display.html?id=20677 | |
376 | ||
377 | - the rubthrough() method can now render onto images with an alpha | |
378 | channel. | |
379 | http://rt.cpan.org/Ticket/Display.html?id=20678 | |
380 | ||
381 | - the read_multi() method now falls back to calling doing a single | |
382 | image read via the read() method and write_multi() will now fall | |
383 | back to calling write() if a single image is supplied. This means | |
384 | you can simply call the read_multi() or write_multi() functions | |
385 | without having to check if the type is formatted by that method. | |
386 | http://rt.cpan.org/Ticket/Display.html?id=19457 | |
387 | http://rt.cpan.org/Ticket/Display.html?id=19458 | |
388 | ||
389 | - the GIF loop extension can now be written. If you don't have | |
390 | libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you | |
391 | should upgrade. | |
392 | http://rt.cpan.org/Ticket/Display.html?id=21185 | |
393 | ||
394 | - getscanline() and setscanline() can now read/write palette index | |
395 | based data from/to the image for paletted images, by setting type to | |
396 | 'index'. | |
397 | http://rt.cpan.org/Ticket/Display.html?id=20338 | |
398 | ||
399 | - we no longer hassle you to disable GIF support | |
400 | http://rt.cpan.org/Ticket/Display.html?id=20687 | |
401 | ||
402 | - minor documentation fixes | |
403 | ||
404 | ||
405 | Imager 0.53 - 26 Jul 2006 | |
406 | =========== | |
407 | ||
408 | This is a bugfix release. | |
409 | ||
410 | Some test code was left in a code path not covered by the test | |
411 | suite. A test was added to cover this code path and the test code was | |
412 | removed. | |
413 | http://rt.cpan.org/Public/Bug/Display.html?id=20705 | |
414 | ||
415 | ||
416 | Imager 0.52 - 25 Jul 2006 | |
417 | =========== | |
418 | ||
419 | This is primarily a feature release, but contains a fair few bug | |
420 | fixes, new features: | |
421 | ||
422 | - ability to read and write MS Windows ICO and CUR files | |
423 | ||
424 | - you can now add file format plugins to support new file formats | |
425 | ||
426 | - add POD coverage tests | |
427 | ||
428 | - setcolors() and addcolors() now accept color names and so on | |
429 | instead of requiring Imager::Color objects. | |
430 | http://rt.cpan.org/Ticket/Display.html?id=20056 | |
431 | ||
432 | - flood_fill() can now fill to a specified border color instead of | |
433 | just to the area the same color as the seed. | |
434 | http://rt.cpan.org/Ticket/Display.html?id=19618 | |
435 | ||
436 | ||
437 | Bug fixes: | |
438 | ||
439 | - bounding_box for the T1 driver wasn't converting UTF8 to ascii when | |
440 | calculating the advance width. | |
441 | http://rt.cpan.org/Public/Bug/Display.html?id=20554 | |
442 | ||
443 | - bounding_box for the T1 driver wasn't including leading and | |
444 | trailing spaces in the bounding box as the other drivers did, it also | |
445 | produced strange results for empty strings or strings containing only | |
446 | spaces | |
447 | ||
448 | - when reading CMYK jpeg images they were being transferred to the | |
449 | image object as is, producing a four channel image. It only looked ok | |
450 | due to an old still unfixed Photoshop bug. We now convert from the | |
451 | inverted CMYK that photoshop (and Corel for example) produce into RGB. | |
452 | http://rt.cpan.org/Ticket/Display.html?id=20416 | |
453 | ||
454 | - reading a CYMK TIFF would result in a 4 channel image, reading any | |
455 | image with more than 4 channels (eg. RGB with 2 alpha channels) would | |
456 | result in an error. | |
457 | http://rt.cpan.org/Ticket/Display.html?id=20415 | |
458 | ||
459 | - added /usr/local/include to the default include search path, since | |
460 | we were already searching /usr/local/lib for libraries. | |
461 | ||
462 | And various minor fixes and documentation updates. | |
463 | ||
464 | ||
465 | Imager 0.51 - 23 Apr 2006 | |
466 | =========== | |
467 | ||
468 | - fix a validation bug when processing JPEG EXIF data that can cause | |
469 | a crash | |
470 | http://rt.cpan.org/Public/Bug/Display.html?id=18496 | |
471 | ||
472 | - fix mis-processing of the src_maxx and src_maxy parameters of the | |
473 | paste() method | |
474 | http://rt.cpan.org/Public/Bug/Display.html?id=18712 | |
475 | ||
476 | - fix a problem in Imager's "smart" handling of the color parameter | |
477 | to various methods. | |
478 | http://rt.cpan.org/Public/Bug/Display.html?id=18561 | |
479 | ||
480 | ||
481 | Imager 0.50 - 29 Mar 2006 | |
482 | =========== | |
483 | ||
484 | - CRITICAL: fixes a segmentation fault from attempting to write a 2 | |
485 | or 4 channel image to jpeg or a 2 channel image to tga where the | |
486 | output is an in-memeory buffer. | |
487 | http://rt.cpan.org/Public/Bug/Display.html?id=18397 | |
488 | ||
489 | - fixes an incorrect pointer parameter in the PNG code | |
490 | http://rt.cpan.org/Public/Bug/Display.html?id=18051 | |
491 | ||
492 | - skip Inline::C tests when building in a directory with spaces | |
493 | http://rt.cpan.org/Public/Bug/Display.html?id=18049 |