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