Commit | Line | Data |
---|---|---|
7623d340 TC |
1 | Imager release history. Older releases can be found in Changes.old |
2 | ||
14a4ea18 | 3 | - NOTE: possibly backward incompatible: |
3dcf7595 TC |
4 | support reading from/writing to perl filehandes that aren't raw |
5 | files. | |
6 | ||
7 | This allows Imager's I/O to honour handles with layers such as | |
8 | gzip, scalar file handles or tied file handles. | |
9 | ||
14a4ea18 | 10 | This is backward incompatible in that previous Imager would simply |
3dcf7595 TC |
11 | use fileno() to retrieve the fd for the file and call write(2) etc |
12 | on it directly. | |
04d8c568 TC |
13 | https://rt.cpan.org/Ticket/Display.html?id=78843 |
14 | ||
15 | - moved most of README to lib/Imager/Install.pod which should make it | |
16 | more accessible to the "web" generation, also significantly updated | |
17 | and re-worked it. | |
3dcf7595 | 18 | |
ca96f811 TC |
19 | - updated README's for the separately distributed modules to refer to |
20 | Imager::Install, and that they need -dev versions of packages | |
21 | https://rt.cpan.org/Ticket/Display.html?id=81265 | |
22 | ||
26e8a226 TC |
23 | - the JPEG test code now reports the compile-time library version |
24 | ||
41125e7d TC |
25 | - avoid a possible compiler optimization issue on CentOS 5.9 i386 by |
26 | rearranging (and mildly optimizing) some code. | |
ca96f811 TC |
27 | https://rt.cpan.org/Ticket/Display.html?id=83212 |
28 | ||
29 | - fix a POD error in Imager::Fill (detected on new Pod-Simple) | |
30 | https://rt.cpan.org/Ticket/Display.html?id=83434 | |
31 | ||
32 | - fix a broken link to Graphics::Magick | |
33 | https://rt.cpan.org/Ticket/Display.html?id=82743 | |
41125e7d | 34 | |
c732ffa5 TC |
35 | - drawing text to a channel with FT2 would draw with random coverage |
36 | due to an uninitialized alpha channel. | |
37 | ||
38 | - marked the function pointer underlying the mm_log() API with the | |
39 | correct gcc magic and fixed the resulting warnings. | |
40 | ||
41 | - fixed some other compiler warnings | |
42 | ||
14a4ea18 TC |
43 | - Imager::Font::W32 now properly reports text drawing errors |
44 | https://rt.cpan.org/Ticket/Display.html?id=70098 | |
45 | ||
46 | - handle the Svf_UTF8 flag correctly on magic (eg. overloaded) | |
47 | strings passed as text to draw(), bounding_box(), has_chars(), | |
48 | glyph_names() (where supported) in each of the font drivers. | |
49 | https://rt.cpan.org/Ticket/Display.html?id=83438 (partial) | |
50 | ||
06115805 TC |
51 | Imager 0.94 - 15 Dec 2012 |
52 | ========================= | |
53 | ||
54 | Variations on some of these changes were included in development | |
55 | releases. | |
56 | ||
4be61824 TC |
57 | - improved thread safety |
58 | - the internal error stack and log file handle are now in a per-thread | |
59 | context object | |
60 | - JPEG now captures IPTC information in a thread-safe way | |
61 | - avoid globals where possible for warning capture in libtiff | |
244725cf TC |
62 | - use a mutex to avoid re-entering thread-unsafe giflib |
63 | - use a mutex to avoid re-entering thread-unsafe tifflib | |
64 | - use a mutex to avoid re-entering thread-unsafe T1Lib | |
65 | - use a library handle per thread for freetype 2. | |
0124c060 | 66 | - use an engine handle per thread for freetype 1.x. |
0eebfd59 TC |
67 | - originally these changes broke ABI compatibility, this has been |
68 | restored. | |
abffffed | 69 | |
6254ad14 TC |
70 | - clarify the return value of getpixel(); |
71 | https://rt.cpan.org/Ticket/Display.html?id=81198 | |
72 | ||
73 | - fixed a race condition in parallel testing for T1 | |
74 | ||
75 | - fixed a bug in handling yoff for untransformed image-based fills | |
76 | ||
77 | - documentation improvements for Imager::Fill | |
78 | ||
5e8f194e TC |
79 | - FT2: report the library version while testing. |
80 | ||
e9daa5af TC |
81 | Imager 0.93 - 15 Oct 2012 |
82 | =========== | |
83 | ||
84 | Bug fixes: | |
71fbe41a TC |
85 | |
86 | - previously a transparency enabled GIF write (the default) would | |
87 | always use a GIF89a header even if none of the images were | |
88 | transparent. | |
7a5f7bc6 | 89 | |
b2f967ef TC |
90 | - previously the probe step for freetype-config would fail on cygwin |
91 | ||
b2f967ef TC |
92 | - catch an invalid matrix parameter to convert() instead of crashing |
93 | https://rt.cpan.org/Ticket/Display.html?id=79922 | |
94 | ||
95 | - remove the 16-bit/sample limitation from the documentation for | |
96 | setsamples(), it hasn't applied for many releases. | |
97 | https://rt.cpan.org/Ticket/Display.html?id=79989 | |
98 | ||
9673d97e TC |
99 | - don't copy setsamples() data parameter, it may be a large scalar |
100 | https://rt.cpan.org/Ticket/Display.html?id=79990 | |
101 | ||
70b577d3 TC |
102 | - clean up .dSYM directories generated performing probes on OS X |
103 | Mountain Lion. | |
104 | ||
8c323994 TC |
105 | - pass the --verbose command-line option through to Imager::Probe in |
106 | sub-module's Makefile.PLs | |
107 | https://rt.cpan.org/Ticket/Display.html?id=75878 | |
108 | ||
e9daa5af TC |
109 | Enhancements: |
110 | ||
111 | - support for giflib 5.0. (5.0.1 and later) | |
112 | https://rt.cpan.org/Ticket/Display.html?id=79029 | |
113 | The giflib API Imager uses doesn't have a mechanism to set the | |
114 | header version in 5.0.0. | |
115 | ||
116 | - update the GIF library probe code to check for the new giflib 5.0.1 | |
117 | EGifSetGifVersion() function, and to check for the giflib 4.2.0 | |
118 | uninitialized gif89 bug. | |
119 | https://rt.cpan.org/Ticket/Display.html?id=79679 | |
120 | http://sourceforge.net/tracker/?func=detail&aid=3574283&group_id=102202&atid=631304 | |
121 | ||
122 | - avoid static variables when capturing IPTC data from JPEG files | |
123 | ||
124 | - match Imager::Font;:T1's error message translations to those from | |
125 | later versions of T1Lib. | |
126 | ||
127 | - for libtiff versions that support extended warning handlers (3.8.0 | |
128 | or later), use them to avoid some global variables. | |
129 | ||
130 | - note Image::ExifTool for better metadata support. | |
131 | https://rt.cpan.org/Ticket/Display.html?id=79251 | |
132 | ||
41c938ec TC |
133 | Imager 0.92 - 14 Aug 2012 |
134 | =========== | |
135 | ||
b1c75496 TC |
136 | - giflib 4.2 eliminates the GIF_LIB_VERSION macro, handle that |
137 | correctly for both probing and runtime. | |
138 | https://rt.cpan.org/Ticket/Display.html?id=77672 | |
139 | ||
dcc10c4e TC |
140 | - allow building JPEG/imexif.c on C89 compilers. |
141 | ||
272fcca5 TC |
142 | - allow building GIF/imgif.c on C89 compilers. |
143 | ||
ec8f0ee2 TC |
144 | Imager 0.91 - 4 Jun 2012 |
145 | =========== | |
146 | ||
ef84bb32 | 147 | Bug fixes: |
38742a13 | 148 | |
289d65f4 TC |
149 | - The size of rotated images is no longer rounded up so aggressively. |
150 | Added rounding to the linear interpolation done for rotate() and | |
151 | matrix_transform() for 1 and 3 channel 8-bit images. | |
152 | Adjusted the two tranlate matrices used to build the final rotation | |
153 | matrix to use the distance between the outlier pixels rather than | |
154 | the pixel dimensions (ie. dimension-1). | |
155 | With all of this the output of rotate(degrees => 270) on an 8-bit | |
156 | image exactly matches the output of rotate(right => 270). | |
157 | https://rt.cpan.org/Ticket/Display.html?id=77063 | |
158 | ||
ef84bb32 TC |
159 | Other changes: |
160 | ||
161 | - eliminate the old IIM_new(), IIM_DESTROY() names from Imager's | |
162 | internals, those names only matter for the XS interface. | |
163 | ||
164 | - improve error reporting when PERL_INITIALIZE_IMAGER_CALLBACKS finds | |
165 | the API level compiled into a loadable module such as | |
166 | Imager::File::GIF doesn't match that of Imager. Previously it | |
167 | could be difficult to determine exactly which module was failing to | |
168 | load. | |
169 | https://rt.cpan.org/Ticket/Display.html?id=77173 | |
170 | ||
171 | - added Imager->check_file_limits() as an interface to the | |
172 | i_int_check_image_file_limits() API. | |
173 | ||
174 | - Imager->set_file_limits(reset => 1) now resets the limits to the | |
175 | defaults rather than setting them all to unlimited. | |
176 | ||
177 | - wrote a brief security note as Imager::Security | |
178 | https://rt.cpan.org/Ticket/Display.html?id=68910 | |
179 | ||
6f31dd14 | 180 | Imager 0.90 - 30 Apr 2012 |
7c4464f5 TC |
181 | =========== |
182 | ||
183 | Bug fixes: | |
184 | ||
185 | - Imager::Test::is_imaged() attempted to process an "epsilon" | |
186 | parameter but the prototype didn't allow for the extra parameter. | |
187 | Corrected the prototype. | |
188 | ||
29b38678 TC |
189 | - when downconverting samples (eg. from floating point to 8 bit) |
190 | Imager now rounds the sample value rather than attempting to | |
191 | allocate input values over output values equally. The old | |
192 | behaviour had the probably surprising effect of converting a | |
193 | floating point 2.1/255.0 into an 8-bit 3 rather than the expected | |
194 | 2. | |
195 | This may result in slightly different 8 or 16-bit output images. | |
196 | ||
e2a86bac TC |
197 | - BI_BITFIELD BMP images were handled incorrectly, both in |
198 | incorrectly calculating the space required for the masks and in | |
199 | processing the image data itself. | |
200 | https://rt.cpan.org/Ticket/Display.html?id=76736 | |
201 | ||
202 | - some odd width BMP BI_RLE4 images use run lengths that run one off | |
203 | the edge of the image. Imager now allows this, discarding the | |
204 | extra column. | |
205 | ||
206 | - odd length RLE4 runs in BMP images were decoded incorrectly. | |
207 | ||
82eb0687 TC |
208 | - pkg-config could sometimes return a library that was in a directory |
209 | EU::MM / $Config{libpth} doesn't know about, but the compiler did. | |
210 | If no -L is included in the pkg-config library information check if | |
211 | EU::MM can find the library, and if not, search our configured | |
212 | directories and insert that into the library flags. | |
213 | https://rt.cpan.org/Ticket/Display.html?id=75869 | |
214 | ||
de50f459 TC |
215 | - Imager::Probe can now probe for libraries with dependent libraries, |
216 | common for static linking, eg. libpng requires libz. | |
217 | https://rt.cpan.org/Ticket/Display.html?id=74043 | |
218 | ||
219 | - libpng 1.5 specific probes were looking for libpng 1.4 filenames. | |
220 | ||
221 | - added alternative probe configurations that try to link libz, to | |
222 | handle a statically linked libpng. | |
223 | https://rt.cpan.org/Ticket/Display.html?id=74043 | |
224 | ||
225 | - if a probe includes testcode, Imager::Probe now checks that code as | |
226 | part of the process of checking each configuration rather than as a | |
227 | post test of the found configuration. This allows alternate | |
228 | configurations to be checked if a matching but non-working | |
229 | configuration is found. | |
230 | https://rt.cpan.org/Ticket/Display.html?id=74043 | |
231 | ||
9d5ff8a6 TC |
232 | Other changes: |
233 | ||
234 | - when reading or writing images via callbacks, the default callbacks | |
235 | now push an error message indicating that a required callback was | |
236 | called but not supplied. | |
237 | https://rt.cpan.org/Ticket/Display.html?id=76782 | |
238 | ||
239 | - clarify which callbacks are required for reading and writing TIFF | |
240 | images. | |
241 | ||
242 | - improve logging for creation of callback I/O layers. | |
243 | ||
de50f459 TC |
244 | - a little more documentation for Imager::Probe. |
245 | ||
594f5933 TC |
246 | - the i_get_file_background() and i_get_file_backgroundf() APIs now |
247 | return int to indicate whether the i_background tag was found. | |
248 | ||
1b46057d TC |
249 | - PNG rework |
250 | - improve error reporting | |
251 | - add png_interlace, png_bits tags | |
252 | - read paletted images as paletted images, including transparency | |
253 | - read 1 bit greyscale images as a type suitable for other file | |
254 | handlers to write as bilevel | |
255 | - read 16 bit/sample PNG as 16-bit/sample Imager images | |
256 | - write "bilevel" paletted images as 1 bit grayscale images | |
257 | - write paletted images as paletted images | |
258 | - write 16-bit (or higher)/sample images as 16-bit/sample PNG | |
259 | images | |
260 | - improved metadata support | |
261 | https://rt.cpan.org/Ticket/Display.html?id=29268 | |
262 | ||
2c1ffb77 TC |
263 | Imager 0.89 - 18 Mar 2012 |
264 | =========== | |
265 | ||
266 | Bug fixes: | |
267 | ||
93eab01e TC |
268 | - getpixel(..., type => "float") and the API i_gpixf() have been |
269 | broken on paletted images since they were implemented. | |
270 | https://rt.cpan.org/Ticket/Display.html?id=75258 | |
271 | ||
2c1ffb77 TC |
272 | Other changes: |
273 | ||
61be9694 TC |
274 | - links in the METHOD INDEX now point at the method documentation |
275 | rather than the heading you can find them under. | |
276 | https://rt.cpan.org/Ticket/Display.html?id=71495 | |
277 | ||
a5919365 TC |
278 | - Imager (and the bundled dynamic modules) no longer fallback to |
279 | using DynaLoader if loading via XSLoader fails. | |
280 | For the bundled modules this could hide useful error messages. | |
281 | https://rt.cpan.org/Ticket/Display.html?id=75560 | |
282 | ||
335078fc TC |
283 | - IM_DEBUG_MALLOC mymalloc() no longer sn?printfs() a string to a |
284 | buffer in the array of allocations, but just stores the filename | |
285 | pointer and line number. | |
286 | https://rt.cpan.org/Ticket/Display.html?id=70388 | |
287 | ||
3f53dd75 TC |
288 | Imager 0.88 - 22 Feb 2012 |
289 | =========== | |
290 | ||
43bef43b TC |
291 | - describe how to build libgif etc on OS X in such a way as to be |
292 | compatible with a fat binary perl (such as the system perl), in | |
293 | README. | |
294 | https://rt.cpan.org/Ticket/Display.html?id=73371 | |
295 | ||
69675eef TC |
296 | - update the change notes for 0.77_01 to indicate that libungif |
297 | support was removed. | |
298 | ||
d4056453 TC |
299 | - add some other imaging modules to SEE ALSO |
300 | https://rt.cpan.org/Ticket/Display.html?id=73906 | |
301 | ||
3b7f10da TC |
302 | - note that the generator of the apparently non-DFSG-free postscript |
303 | in MMOne.pfb is a Debian package. | |
304 | ||
02323e69 TC |
305 | - setsamples() is now a true complement to getsamples() - it can |
306 | write 8-bit or floating point samples from a scalar or array | |
307 | reference. This adds i_psamp() and i_psampf() to the C level API. | |
308 | ||
309 | - the XS interfaces to i_gsamp(), i_gsampf() and i_gsamp_bits() have | |
310 | changed to make better use of the typemap, but these aren't part of | |
311 | the perl level API anyway. There were no changes to the C level | |
312 | interfaces to these functions. | |
313 | ||
2a27eeff TC |
314 | - getpixel() and setpixel() now accept a mix of scalar and array |
315 | references for the x and y parameters, and unequal array lengths is | |
316 | no longer an error. | |
317 | https://rt.cpan.org/Ticket/Display.html?id=73697 | |
318 | ||
ef74691a TC |
319 | Bug fixes: |
320 | ||
321 | - correctly calculate the size of a rotated image | |
322 | https://rt.cpan.org/Ticket/Display.html?id=69261 | |
323 | ||
324 | - fix incorrect rounding of color values for matrix_transform() and | |
325 | rotate(). | |
326 | https://rt.cpan.org/Ticket/Display.html?id=69261 | |
327 | ||
5091168a TC |
328 | - Win32 text output is now done in normal combine mode, the alpha |
329 | component of the color is now significant. | |
330 | https://rt.cpan.org/Ticket/Display.html?id=70014 | |
331 | ||
fa0b1452 TC |
332 | - remove long unused gif case from read() |
333 | https://rt.cpan.org/Ticket/Display.html?id=69244 (partial) | |
334 | ||
7640e3bb TC |
335 | - the getsamples() target parameter was being treated as a hashref |
336 | when it's meant to be an array reference. | |
337 | https://rt.cpan.org/Ticket/Display.html?id=74882 | |
338 | ||
2a27eeff TC |
339 | - getpixel() and setpixel() now returns an empty list when invalid |
340 | parameters are supplied. | |
341 | Invalid values for type now result in an error for getpixel(). | |
342 | https://rt.cpan.org/Ticket/Display.html?id=73697 | |
343 | ||
fcc81fa4 | 344 | Imager 0.87 - 03 Jan 2012 |
f0f6c630 TC |
345 | =========== |
346 | ||
c18dd26e TC |
347 | - document the return value of the filter() method. |
348 | https://rt.cpan.org/Ticket/Display.html?id=72369 | |
349 | ||
48095bd4 TC |
350 | - document i_gsamp_bits() and i_psamp_bits(). |
351 | https://rt.cpan.org/Ticket/Display.html?id=68815 | |
352 | ||
f5b90025 TC |
353 | - properly increment the Imager::Matrix2d $VERSION. |
354 | ||
35f2f9fb TC |
355 | - actually include the Imager::Test tests in the dist |
356 | ||
2fe1e4bc TC |
357 | - correctly read and write 256x256 pixel ICO files |
358 | https://rt.cpan.org/Ticket/Display.html?id=69599 | |
359 | ||
4f21e06e TC |
360 | - make the error message from read() or read_multi() when they can't |
361 | identify the file type match reality. | |
362 | https://rt.cpan.org/Ticket/Display.html?id=72475 | |
363 | ||
364 | - read() now uses $FORMATGUESS if it can't determine the file type | |
365 | based on the file header, to match read_multi(). | |
366 | ||
367 | - re-work and add tests for def_guess_type(). def_guess_type() no | |
368 | longer returns any random file extension as the file type. | |
369 | ||
5e9a7fbd TC |
370 | - add gray4, gray16 and gray as presets for make_colors. |
371 | https://rt.cpan.org/Ticket/Display.html?id=67911 | |
372 | ||
373 | - add make_palette() method that produces a palette from one or more | |
374 | images. | |
375 | ||
32d74dbe TC |
376 | - fix the Imager dependency for the separately distributed font |
377 | drivers. | |
378 | https://rt.cpan.org/Ticket/Display.html?id=72643 | |
379 | ||
a044f2c6 TC |
380 | - fix i_render_color() to properly draw in "normal" mode - ie. when |
381 | writing to a 1 or 3 channel image the second or fourth channel of | |
382 | the source color was being ignored, it is now significant. | |
383 | https://rt.cpan.org/Ticket/Display.html?id=71564 | |
384 | ||
4b2e59d3 TC |
385 | Imager 0.86 - 31 Oct 2011 |
386 | =========== | |
387 | ||
b8b889ba TC |
388 | - improve error reporting for W32 tests |
389 | ||
6f7a49a2 TC |
390 | Imager 0.85_02 - 24 Oct 2011 |
391 | ============== | |
a10ce62e TC |
392 | |
393 | Bug fixes: | |
394 | ||
395 | - eliminate unused i_gif_opts type (clean-up) | |
396 | https://rt.cpan.org/Ticket/Display.html?id=69245 | |
397 | ||
98e1552d TC |
398 | - fix combine=0 fill color anti-aliasing on the double/sample path |
399 | https://rt.cpan.org/Ticket/Display.html?id=71309 | |
400 | ||
401 | - make default text color non-transparent | |
402 | https://rt.cpan.org/Ticket/Display.html?id=71469 | |
403 | ||
372ba12c TC |
404 | - apply the last of the Debian unforwarded spelling fixes |
405 | https://rt.cpan.org/Ticket/Display.html?id=70656 | |
406 | ||
b7506a07 TC |
407 | - the log() method used its message parameter as a C level format |
408 | string. | |
409 | https://rt.cpan.org/Ticket/Display.html?id=71653 | |
410 | ||
cb4d223c TC |
411 | - provide our own STRLEN typemap entry for older perls. |
412 | https://rt.cpan.org/Ticket/Display.html?id=71641 | |
413 | ||
f35d1231 TC |
414 | - add extra ppport.h configuration to support older perls. |
415 | ||
954ac5d1 TC |
416 | - depend on Scalar::Util, since we use it and older perls don't have |
417 | it. | |
418 | ||
5efba0c6 TC |
419 | - add overloaded eq to Imager::Matrix2d, since older perls don't seem |
420 | to synthesize it from overloaded "". | |
421 | ||
73e3ff55 TC |
422 | - use T1_StrError() for error messages on modern libt1 |
423 | https://rt.cpan.org/Ticket/Display.html?id=69879 | |
424 | ||
425 | - actually load the font rather than just adding it to the catalog on | |
426 | creation. | |
427 | ||
428 | - Imager::Font->new now produces better error messages for the T1 | |
429 | engine. | |
430 | ||
6e938c74 TC |
431 | - the font has_chars() method now returns perl's true and false |
432 | values in list context rather than integers, which should be more | |
433 | efficient. | |
434 | https://rt.cpan.org/Ticket/Display.html?id=69158 | |
435 | ||
b934971a TC |
436 | - the btm data structure used by the flood_fill code is now |
437 | initialized more efficiently. | |
438 | https://rt.cpan.org/Ticket/Display.html?id=68994 | |
439 | ||
872def8b TC |
440 | - updated the Thanks list in README |
441 | https://rt.cpan.org/Ticket/Display.html?id=71607 | |
442 | ||
1e0418f1 TC |
443 | - check there's at least one coefficient for the convolution filter |
444 | https://rt.cpan.org/Ticket/Display.html?id=68993 | |
445 | ||
81409c5e TC |
446 | - make the APIRef synopsis ordering consistent, older versions of |
447 | perl could order it differently. | |
448 | https://rt.cpan.org/Ticket/Display.html?id=71675 | |
449 | ||
336ce474 TC |
450 | - we rely on Config.pm's d_vsnprintf as to whether we use |
451 | vsnprintf/snprintf, which is defined in the Win32 Config.pm even | |
452 | though it only has _ prefixed versions of these. Define our own | |
453 | prefixed names on Win32. | |
454 | https://rt.cpan.org/Ticket/Display.html?id=71642 | |
455 | ||
ae394c13 TC |
456 | - fix library detection with MSVC |
457 | ||
84e2cc94 TC |
458 | - search a few more library directories, so EU::MM doesn't discard |
459 | them. Hopefully fixes: | |
460 | https://rt.cpan.org/Ticket/Display.html?id=71643 | |
461 | ||
31be6e9a | 462 | Imager 0.85_01 - 10 Oct 2011 |
6d5c85a2 | 463 | ============== |
a7e32beb TC |
464 | |
465 | - add simple tests for the Imager::Test test_image generators | |
466 | ||
6d5c85a2 TC |
467 | - io_glue I/O buffering re-work: |
468 | ||
469 | - reorganize io_glue to do it's own buffering by default | |
470 | ||
471 | - the unbuffered functions are available as i_io_raw_read() (or | |
472 | raw_read() from perl) etc but are not recommended for typical | |
473 | use. | |
474 | ||
475 | - use the new i_io_peekn() when checking for file magic to avoid | |
476 | seek, allowing Imager to detect the file type and read the file | |
477 | from an unseekable stream (for formats that don't use random | |
478 | access) | |
479 | ||
480 | - added several new I/O layer API functions. | |
481 | ||
482 | - fix the TGA performance problem, most noticably on Win32 | |
483 | https://rt.cpan.org/Ticket/Display.html?id=70037 | |
484 | ||
485 | - TIFF now uses wrapper functions of the correct types to avoid casts | |
486 | https://rt.cpan.org/Ticket/Display.html?id=69912 | |
487 | ||
488 | - the callback IO object did its own buffering, controlled by the | |
489 | maxbuffer parameter supplied to the read() and write() methods. | |
490 | This buffering has been removed, to avoid redundancy with the | |
491 | common io_glue buffering. This also avoids a bug in that code | |
492 | which could rarely pass a zero length to the read callback and | |
493 | then panic about the result. | |
494 | ||
495 | - the callback IO object now tests the result of calling the close | |
496 | callback, which should return true for success. | |
497 | ||
498 | - the PNM reader did its own buffering. This buffering has been | |
499 | removed to avoid redundancy with the common io_glue buffering. | |
500 | ||
501 | - previously the read handlers for fd and callback I/O layers would | |
502 | call the underlying interface (POSIX read or your supplied callback) | |
503 | until it filled the buffer. It now only makes one call. | |
504 | ||
505 | - added public constructors for I/O layer objects (see Imager::IO) | |
506 | ||
507 | - all core file handlers now use the i_io_foo() wrappers to gain | |
508 | access to buffered I/O rather than calling the I/O layer | |
509 | callbacks directly. | |
510 | ||
511 | - all core file handlers now check for error on close. | |
512 | ||
513 | - Backward compatibility: if you hava custom file handlers, you can | |
514 | use i_io_write() etc since they're available as macros in older | |
515 | versions of Imager. | |
516 | ||
517 | - eliminate the final remnants of io_glue_commit_types(). | |
518 | ||
519 | - bump IMAGER_API_VERSION, since the above may break assumptions. | |
520 | ||
521 | - removed the long unused i_gen_reader() and i_gen_writer() utility | |
522 | functions. | |
523 | ||
0c647c9a | 524 | Imager 0.85 - 29 Aug 2011 |
6ad7e4bc TC |
525 | =========== |
526 | ||
0c647c9a TC |
527 | The main changes in the release versus 0.84 are: |
528 | ||
529 | - on 64-bit systems, 64-bit types are consistently used for image | |
530 | dimensions and co-ordinated, and for memory block sizes. | |
531 | ||
532 | - handle IFD loops in TIFF files correctly. Previously this would | |
533 | lead to an infinite loop. | |
534 | ||
6ad7e4bc TC |
535 | Bug fixes: |
536 | ||
537 | - fix the link in the getheight() entry in the method index | |
538 | ||
7ef6338c TC |
539 | Imager 0.84_02 - 22 Aug 2011 |
540 | ============== | |
541 | ||
542 | Development release, this will become 0.85 if CPAN testers is | |
543 | favourable. | |
6b7197d0 TC |
544 | |
545 | Bug fixes: | |
546 | ||
547 | - the image file limits set by set_file_limits() weren't being | |
548 | checked when reading TIFF files. | |
549 | https://rt.cpan.org/Ticket/Display.html?id=69915 | |
550 | ||
5970bd39 TC |
551 | - Provide more information about file format module load errors on a |
552 | failed image file read() or write(). | |
553 | https://rt.cpan.org/Ticket/Display.html?id=69194 | |
554 | ||
4ce3551c TC |
555 | - use TIFFReadDirectory() instead of TIFFSetDirectory() to iterate |
556 | through TIFF images, since it checks for IFD loops. | |
557 | https://rt.cpan.org/Ticket/Display.html?id=69914 | |
558 | ||
a16bca6d TC |
559 | - don't leak memory when out of range palette indexes are supplied to |
560 | setscanline(). | |
561 | https://rt.cpan.org/Ticket/Display.html?id=69242 | |
562 | ||
563 | - require a later version of CPAN::Meta to ensure JSON::PP and | |
564 | CPAN::Meta::YAML are available. | |
565 | https://rt.cpan.org/Ticket/Display.html?id=69008 | |
566 | ||
ac575c5f TC |
567 | - hoist the per-line calculations for the flines implementations, and |
568 | modernize the tests a bit. | |
569 | https://rt.cpan.org/Ticket/Display.html?id=70126 | |
570 | ||
86c8d19a TC |
571 | - detect snprintf()/vsnprintf() (cheat by using Config.pm) and use |
572 | them when available. | |
573 | https://rt.cpan.org/Ticket/Display.html?id=69147 | |
574 | ||
a3fd7df7 TC |
575 | - if t1lib failed to reinitialize it would be left as marked |
576 | initialized. | |
577 | https://rt.cpan.org/Ticket/Display.html?id=69877 | |
578 | ||
5fd542c7 TC |
579 | - update the bundled (and still modified) Devel::CheckLib |
580 | https://rt.cpan.org/Ticket/Display.html?id=69170 | |
581 | ||
fa61d195 TC |
582 | Imager 0.84_01 - 8 Aug 2011 |
583 | ============== | |
584 | ||
585 | Development release as a sanity check for the types re-work. | |
8d14daab TC |
586 | |
587 | Massive types re-work: | |
588 | ||
589 | - the type used internally for pixel co-ordinates and image sizes is | |
590 | now 64-bit on 64-bit platforms (at least sane ones). | |
591 | ||
592 | - size_t is now used consistently for memory block sizes. | |
593 | ||
594 | - since this changes the binary interface, the Imager API version has | |
595 | been incremented. Any module that uses the API will need to be | |
596 | rebuilt. In most cases that will be enough, but calls to any APIs | |
597 | that take a pointer to image sizes may need source changes. | |
598 | ||
599 | - you should be able to create very large images on 64-bit systems, | |
600 | if you have enough memory. Successfully created a 32768 x 49192 x | |
601 | 3 channel image, filled with a tiled image and scaled it. The | |
602 | unscaled image was also successfully saved to a JPEG. | |
603 | ||
604 | - check the image size before attempting to write BMP, GIF, JPEG, | |
605 | PNG, SGI, TGA, TIFF images. | |
606 | ||
607 | - correctly handle reading TGA images over 32767 pixels wide or tall. | |
608 | ||
609 | Incidental changes: | |
610 | ||
611 | - the gif_left and gif_top tags are now clamped to non-negative | |
612 | values when writing a GIF image. | |
613 | ||
614 | - removed dead callback read/write code | |
615 | ||
616 | The default maximum memory size when reading files is now 1G. | |
617 | ||
bd80e51e | 618 | Imager 0.84 - 20 Jun 2011 |
b1e66a82 TC |
619 | =========== |
620 | ||
621 | - Imager no longer inherits from Exporter (unless you're running an | |
622 | old, old perl. | |
623 | ||
92e9df65 TC |
624 | - Imager can now write progressive JPEGs (it could always read them). |
625 | https://rt.cpan.org/Ticket/Display.html?id=68691 | |
626 | ||
10ea52a3 TC |
627 | Bug fixes: |
628 | ||
629 | - re-work, document and test Imager's logging facility. | |
630 | https://rt.cpan.org/Ticket/Display.html?id=65227 | |
631 | ||
4989229f TC |
632 | - fix META.yml testing and the generated META.yml |
633 | https://rt.cpan.org/Ticket/Display.html?id=65235 | |
634 | ||
3bcba6df TC |
635 | - test and add error reporting to to_*() family methods |
636 | ||
bfe6ba3f TC |
637 | - add to_rgb_double() method. |
638 | https://rt.cpan.org/Ticket/Display.html?id=65101 | |
639 | ||
e1a42e19 TC |
640 | - Imager no longer exports anything by default |
641 | https://rt.cpan.org/Ticket/Display.html?id=65228 | |
642 | ||
6d068d36 TC |
643 | - convert colors to grayscale if the supplied (or generated) palette |
644 | contains only grays when performing error diffusion color | |
645 | translation. | |
646 | https://rt.cpan.org/Ticket/Display.html?id=68508 | |
647 | ||
59c150a4 TC |
648 | - writing a paletted image to GIF wouldn't always use the colors |
649 | supplied (or generated, eg. via make_colors => "mono"), which was | |
650 | confusing at best. | |
651 | https://rt.cpan.org/Ticket/Display.html?id=67912 | |
652 | ||
5b480b14 TC |
653 | - replace (imager|tony)@imager.perl.org in the doc, since I don't |
654 | plan to continue receiving mail at that address. | |
655 | https://rt.cpan.org/Ticket/Display.html?id=68591 | |
656 | ||
101861e2 | 657 | Imager 0.83 - 21 May 2011 |
46c21d48 TC |
658 | =========== |
659 | ||
660 | Bug fixes: | |
661 | ||
662 | - diag() the error message on failure for some TIFF tests that are | |
663 | failing on a Solaris smoker. | |
664 | http://www.cpantesters.org/cpan/report/6396db1e-8090-11e0-9682-112b785ebe45 | |
665 | ||
cd758af2 TC |
666 | Imager 0.82_01 - 17 May 2011 |
667 | ============== | |
668 | ||
669 | Dev release, in case the compose tests are too sensitive. | |
deb1a916 TC |
670 | |
671 | Bug fixes: | |
672 | ||
673 | - Imager::Font::T1 incorrectly checked for absolute filename under | |
674 | Win32. Thanks to kmx for the report and fix. | |
675 | https://rt.cpan.org/Ticket/Display.html?id=67963 | |
676 | ||
618a3282 TC |
677 | - compose() with the target, source or mask position off the top or |
678 | left of the target image didn't clip the source image correctly. | |
679 | https://rt.cpan.org/Ticket/Display.html?id=67220 | |
680 | ||
681 | - compose() now returns a useful error message on a non-positive | |
682 | opacity. | |
683 | ||
684 | - compose.im now at 100% test coverage. (As opposed to, umm, much, | |
685 | much less.) | |
686 | ||
c1d16c8f | 687 | Imager 0.82 - 14 Mar 2011 |
2368cfec TC |
688 | =========== |
689 | ||
690 | Bug fixes: | |
691 | ||
692 | - eliminate calls to i_has_format() from the test suite, since it's | |
693 | no longer a useful way to check for file format support. Eliminate | |
694 | i_has_format() from the functions exposed via XS. | |
695 | https://rt.cpan.org/Ticket/Display.html?id=65863 | |
696 | ||
7540f84a TC |
697 | - eliminate calls to note(), which isn't in the (very old) version of |
698 | Test::More we have as a pre-requisite. note() is modern enough | |
699 | that I don't feel a need to require a Test::More upgrade for it. | |
700 | https://rt.cpan.org/Ticket/Display.html?id=65864 | |
701 | ||
81984f30 TC |
702 | - skip the threads tests on Test::More 2.00_* |
703 | https://rt.cpan.org/Ticket/Display.html?id=65812 | |
704 | ||
57fc3f48 TC |
705 | - add an (unshipped) test to check Imager's internal POD links |
706 | https://rt.cpan.org/Ticket/Display.html?id=65749 | |
707 | ||
d97c8dbd TC |
708 | - improve the library detection summary |
709 | https://rt.cpan.org/Ticket/Display.html?id=9675 | |
710 | ||
c901f27d TC |
711 | - increase the version of Imager::Font::Type1 so that upgrades don't |
712 | downgrade the version in this file. | |
713 | https://rt.cpan.org/Ticket/Display.html?id=66250 | |
714 | ||
715 | - if we see an -rpath (or -R) option in $Config{lddlflags} supply | |
716 | that option for the directories that would normally go in | |
717 | LD_RUN_PATH. Typically an explicit -rpath overrides LD_RUN_PATH. | |
718 | https://rt.cpan.org/Ticket/Display.html?id=65955 | |
719 | ||
533bab3e | 720 | Imager 0.81 - 14 Feb 2011 |
416e9814 TC |
721 | =========== |
722 | ||
723 | - added coverage tests for masked images (maskimg.c @100% test coverage) | |
724 | ||
9ea78101 TC |
725 | - add hsv() method to Imager::Color |
726 | Thanks to Leolo (Philip Gwyn) | |
727 | https://rt.cpan.org/Ticket/Display.html?id=65385 | |
728 | ||
1f289f50 TC |
729 | - split libt1 Type 1 font support into a sub-module |
730 | https://rt.cpan.org/Ticket/Display.html?id=49616 (partial) | |
731 | ||
2c331f9f TC |
732 | - add a preload() class method for use in forking servers, and to |
733 | work around limitations in PAR. | |
734 | https://rt.cpan.org/Ticket/Display.html?id=65665 | |
735 | ||
416e9814 TC |
736 | Bug fixes: |
737 | ||
738 | - paletted writes to a masked image are now masked correctly. | |
739 | Revealed by new coverage tests. | |
740 | ||
130225b1 TC |
741 | - update the filter plugin documentation. |
742 | https://rt.cpan.org/Ticket/Display.html?id=56513 | |
743 | ||
4326b23a | 744 | - add the matrix() method to Imager::Matrix2d to allow creation of a |
a34dc54c TC |
745 | matrix with specified co-efficients. You can now multiple an |
746 | Imager::Matrix2d object by a 9 element array ref or a number. | |
4326b23a TC |
747 | https://rt.cpan.org/Ticket/Display.html?id=29938 |
748 | ||
9ea78101 TC |
749 | - really fix loading TTF fonts with FT2 when FT1 isn't available. |
750 | Thanks to Leolo (Philip Gwyn) | |
751 | https://rt.cpan.org/Ticket/Display.html?id=65386 | |
752 | https://rt.cpan.org/Ticket/Display.html?id=62855 | |
753 | ||
40e78f96 TC |
754 | - make sure each test script that needs testout/ creates it. |
755 | https://rt.cpan.org/Ticket/Display.html?id=65088 | |
756 | ||
afee75f6 TC |
757 | - handle a slightly different warning from libtiff 4.x |
758 | https://rt.cpan.org/Ticket/Display.html?id=65268 | |
759 | ||
52b0d318 TC |
760 | - the sat transform2() op returned an incorrect saturation. |
761 | https://rt.cpan.org/Ticket/Display.html?id=65391 | |
762 | ||
d33f20c1 | 763 | Imager 0.80 - 17 Jan 2011 |
95c08d71 TC |
764 | =========== |
765 | ||
9a5df694 TC |
766 | - added coverage tests for Imager::Fountain and Imager::Color::Float |
767 | ||
768 | - Imager is now maintained in git | |
769 | http://git.imager.perl.org/imager.git | |
770 | git://git.imager.perl.org/imager.git | |
771 | ||
95c08d71 TC |
772 | Bug fixes: |
773 | ||
774 | - images with an translucent alpha channel were not scaled correctly | |
775 | by the default (qtype=normal) scaling method. | |
776 | https://rt.cpan.org/Public/Bug/Display.html?id=63922 | |
777 | ||
34c03f04 TC |
778 | - Imager::Color::Float now translates "#FFFFFF" to white instead of |
779 | just a little darker. | |
780 | ||
9a5df694 TC |
781 | - make the default color map build algorithm "mediancut". This |
782 | changes the default color map builder for writing GIFs back to what | |
783 | it was in 0.77, reverting a performance regression. | |
0348fe07 TC |
784 | https://rt.cpan.org/Ticket/Display.html?id=64785 |
785 | ||
416e9814 TC |
786 | - handle failure to create a masked image correctly |
787 | ||
95c08d71 | 788 | Imager 0.79 - 10 Dec 2010 |
62869327 TC |
789 | =========== |
790 | ||
791 | - add Imager::Test to the POD coverage tests and document the missing | |
792 | functions. | |
793 | ||
2a2c791f TC |
794 | - the convert() method now optimizes the case where all output |
795 | channels are either 0, sourced from a single input channel or 1. | |
796 | This significantly speeds up presets like "addalpha", "green". | |
797 | https://rt.cpan.org/Ticket/Display.html?id=51254 | |
798 | ||
b5c0ab7f TC |
799 | - add wiggle.pl sample, as suggested by Dan Oppenheim. |
800 | ||
b47464c1 TC |
801 | - add the combine() method to combine channels from multiple source |
802 | images into a new image | |
803 | https://rt.cpan.org/Ticket/Display.html?id=11872 | |
804 | ||
62869327 TC |
805 | Bug fixes: |
806 | ||
807 | - treat the co-efficients for convert() as doubles instead of floats. | |
808 | ||
d67dd866 TC |
809 | - If a higher (earlier) priority font handler failed to load, that |
810 | would crash preventing loading of later font handlers. | |
9413a3f3 TC |
811 | https://rt.cpan.org/Ticket/Display.html?id=62855 |
812 | ||
a9120a5e TC |
813 | - parse defines from the options returned by pkg-config --cflags |
814 | https://rt.cpan.org/Ticket/Display.html?id=63223 | |
02f040a6 TC |
815 | |
816 | - a regen of the MANIFEST revealed that GIF and FT2 tests weren't | |
817 | included in the tarball. They are now included. | |
a9120a5e | 818 | |
893474f1 | 819 | Imager 0.78 - 4 Oct 2010 |
f5b4354e TC |
820 | =========== |
821 | ||
822 | Bug fixes: | |
823 | ||
824 | - don't access deprecated members of the png_structp. | |
825 | https://rt.cpan.org/Ticket/Display.html?id=60242 | |
826 | ||
8289f78b TC |
827 | - document that using color objects is faster than supplying colors |
828 | by name, etc. | |
829 | https://rt.cpan.org/Ticket/Display.html?id=61047 | |
830 | ||
0c3c1180 TC |
831 | - Imager::Probe now accepts array references for incpath and libpath. |
832 | https://rt.cpan.org/Ticket/Display.html?id=60244 | |
833 | ||
b6035795 | 834 | Imager 0.77_02 - 27 Sep 2010 |
aca4e30a TC |
835 | ============== |
836 | ||
95b9922f | 837 | - moved Win32, FreeType 2 font support into sub-modules. |
aca4e30a TC |
838 | https://rt.cpan.org/Ticket/Display.html?id=49616 (partial) |
839 | Uses Imager::Probe now. | |
840 | https://rt.cpan.org/Public/Bug/Display.html?id=61328 | |
841 | ||
c6683e4d TC |
842 | - tested successfully with jpeg-8b |
843 | https://rt.cpan.org/Ticket/Display.html?id=60221 | |
844 | ||
e85532b9 TC |
845 | Bug fixes: |
846 | ||
847 | - from _01: look for missing file support test files in the right | |
848 | places. | |
849 | ||
353eb6e7 TC |
850 | - flood_fill() wouldn't fill the right side of a single scan-line |
851 | fill area. | |
852 | Thanks to Nicolas Roggli for reporting this. | |
853 | ||
95b9922f TC |
854 | - flood_fill wouldn't fill to the left edge of the image if the |
855 | starting line didn't reach the left edge. | |
856 | Thanks to Nicolas Roggli for reporting this. | |
857 | ||
beb9ba23 TC |
858 | Imager 0.77_01 - 13 Sep 2010 |
859 | ============== | |
82f14556 TC |
860 | |
861 | - add each library-directory/pkgconfig/ to the pkg-config search path | |
862 | in Imager::Probe. | |
863 | Thanks to Justin Davis. | |
864 | https://rt.cpan.org/Ticket/Display.html?id=60491 | |
865 | ||
8ab27e7e TC |
866 | - moved GIF, TIFF, JPEG file handling code into sub-modules in |
867 | preparation for separate distribution. | |
ec6d8908 TC |
868 | https://rt.cpan.org/Ticket/Display.html?id=49616 (partial) |
869 | ||
69675eef TC |
870 | Note: this removed support for libungif from Imager. |
871 | ||
173c91ba TC |
872 | - optimize filled box drawing (color, not fill) |
873 | ||
82f14556 TC |
874 | Bug fixes: |
875 | ||
876 | - Imager::Probe was calling ExtUtils::Liblist to initialize | |
877 | LD_RUN_PATH supplying an undefined value rather than the found | |
878 | directory. Thanks to Justin Davis. | |
879 | https://rt.cpan.org/Ticket/Display.html?id=60491 | |
880 | ||
b851aeeb TC |
881 | - only prepend ./ to font filenames when passing them to T1Lib and |
882 | then only when it would use its search mechanisms. | |
883 | https://rt.cpan.org/Ticket/Display.html?id=60509 | |
884 | ||
173c91ba | 885 | - fix the cache check for the X rgb.txt loader. This is typically |
cb4f51d6 TC |
886 | used for color translation on Unix-like systems, and the fix |
887 | improves performance of supplying colors by name by about 80 times. | |
888 | Test code that managed 3400 10x10 pixel boxes/second sped up to | |
889 | 25700 boxes/second. | |
b851aeeb | 890 | |
d3a96113 TC |
891 | - clarify that Imager doesn't write EXIF metadata to images. |
892 | https://rt.cpan.org/Ticket/Display.html?id=60637 | |
893 | ||
894 | - Imager::Probe can now search subdirectories under its include path. | |
895 | Used by the PNG Makefile.PL to find headers and libraries when they | |
896 | aren't in the base directory, as in cygwin. | |
897 | https://rt.cpan.org/Ticket/Display.html?id=60635 | |
898 | ||
43452432 TC |
899 | Imager 0.77 - 11 Aug 2010 |
900 | =========== | |
901 | ||
902 | I don't want Imager::File::PNG indexed as part of Imager, but forgot | |
903 | to update the META.yml before updating the version. | |
904 | ||
905 | - don't index Imager::File::PNG as part of Imager | |
906 | ||
907 | - add resources to META.yml | |
908 | ||
909 | Imager 0.76 - not released | |
120f4287 TC |
910 | =========== |
911 | ||
912 | Bug fixes: | |
913 | ||
914 | - the align_string() method would ignore a string of "0" due to a | |
915 | mis-use of C< ||= >. | |
916 | Thanks to Maurice Height for reporting this. | |
917 | https://rt.cpan.org/Ticket/Display.html?id=60199 | |
918 | ||
0e66b07f TC |
919 | Imager 0.75_03 - 09 Aug 2010 |
920 | ============== | |
921 | ||
922 | Bug fixes: | |
923 | ||
924 | - read_types() and write_types() would include png when it wasn't | |
925 | available due to a problem with the %formats tie | |
926 | ||
927 | - handle dependent libraries correctly (eg -lpng requiring -lz) in | |
928 | the code run phase of library probing. | |
929 | ||
7ac2e52e TC |
930 | Imager 0.75_02 - 07 Aug 2010 |
931 | ============== | |
932 | ||
933 | Bug fixes: | |
934 | ||
935 | - add file missing from MANIFEST, which was causing TIFF failures. | |
936 | ||
496ea64d TC |
937 | Imager 0.75_01 - 06 Aug 2010 |
938 | ============== | |
939 | ||
940 | Test release for the new PNG probe. | |
75812841 | 941 | |
a596d4f6 TC |
942 | - added the ability to read multiple-image PNM files. |
943 | Note that unlike the pbm/pgm/ppm specification this accepts mixed | |
944 | format files and allows white space padding between files. | |
945 | Thanks to Philip Gwyn (Leolo) for this patch. | |
946 | ||
1d7e3124 TC |
947 | - moved the PNG file handling code into a sub-module in preparation |
948 | for separate distribution. | |
949 | https://rt.cpan.org/Ticket/Display.html?id=49616 (partial) | |
950 | Also helps avoid complications from -I/-L compile/link options from | |
951 | other libraries. | |
952 | ||
75812841 TC |
953 | Bugs: |
954 | ||
955 | - Imager->new(data => $data) didn't try to process image file data in | |
956 | $data | |
957 | https://rt.cpan.org/Ticket/Display.html?id=58761 | |
958 | ||
b6071a43 TC |
959 | - t/t50basicoo.t no longer depends on the other tests to generate its |
960 | input files. | |
961 | https://rt.cpan.org/Ticket/Display.html?id=9798 | |
962 | Also, it wasn't testing pnm (pnm vs ppm mix-up) | |
963 | ||
a9da425a TC |
964 | - update the documentation of hardinvert to match the change in 0.62. |
965 | https://rt.cpan.org/Ticket/Display.html?id=59785 | |
966 | ||
5558f899 TC |
967 | - added hardinvertall filter which also inverts the alpha channel |
968 | (sorry for the mess) | |
969 | ||
10b85929 TC |
970 | - when probing for TIFF, set LD_RUN_PATH just as the Makefile does so |
971 | the probe can find the library for the test run. | |
972 | https://rt.cpan.org/Ticket/Display.html?id=57518 | |
973 | ||
75812841 | 974 | Imager 0.75 - 20 Jun 2010 |
b13a3ddb TC |
975 | =========== |
976 | ||
977 | - use PERL_NO_GET_CONTEXT to slightly improve performance on threaded | |
978 | perls (not measured) | |
979 | ||
46e2e4a3 TC |
980 | Bugs: |
981 | ||
8c194049 TC |
982 | - an opacity fill based on a fountain fill would segfault when |
983 | filling an 8-bit/sample image. | |
984 | ||
1c5252ed TC |
985 | - merge thickline branch polygon fix |
986 | https://rt.cpan.org/Ticket/Display.html?id=43518 | |
987 | ||
41c88ecd | 988 | Imager 0.74 - 7 May 2010 |
8d46e5da TC |
989 | =========== |
990 | ||
991 | Bug fixes: | |
992 | ||
993 | - read_multi() didn't handle a missing file format library correctly, | |
994 | aborting on failing to call i_readgif_multi_wiol() or | |
995 | i_readtiff_multi_wiol(). | |
996 | ||
5715f7c3 TC |
997 | - fix spelling errors patched by Debian |
998 | http://svn.debian.org/viewsvn/pkg-perl/trunk/libimager-perl/debian/patches/spelling.patch?revision=54839&view=markup | |
999 | ||
1000 | - add an (unshipped) author test to spellcheck Imager's POD. | |
7468f3fa | 1001 | |
38218f79 TC |
1002 | - update the TIFF file format documentation |
1003 | https://rt.cpan.org/Ticket/Display.html?id=56510 | |
1004 | ||
e17da819 TC |
1005 | - lib/Imager/IO.pod was written almost 4 years ago but never shipped. |
1006 | ||
704f12d5 | 1007 | Imager 0.73 - 15 Mar 2010 |
40068b33 TC |
1008 | =========== |
1009 | ||
1010 | - implement outline circles, both anti-aliased and not | |
1011 | https://rt.cpan.org/Ticket/Display.html?id=19755 | |
1012 | ||
e958b64e TC |
1013 | - a combine => "none" fill to a 1 or 3 channel image would produce |
1014 | the incorrect colour. | |
1015 | ||
b2db3662 TC |
1016 | Imager 0.72 - 09 Dec 2009 |
1017 | =========== | |
1018 | ||
1019 | Bump version for release, since 0.71_03 is stable with CPAN testers. | |
1020 | ||
6936706b TC |
1021 | Imager 0.71_03 - 5 Dec 2009 |
1022 | ============== | |
1023 | ||
1024 | - further adjust the threads test so it only performs the tests on | |
1025 | perls where it's expected to work, and only if the threads module | |
1026 | can be loaded. | |
1027 | ||
0750777c TC |
1028 | Imager 0.71_02 - 1 Dec 2009 |
1029 | ============== | |
1030 | ||
48ad0e66 TC |
1031 | - adjust the way we load the threads module for the threads test so |
1032 | it works with non-threaded perls | |
0750777c | 1033 | |
b89f0fcd | 1034 | Imager 0.71_01 - 30 Nov 2009 |
e41cfe8f TC |
1035 | =========== |
1036 | ||
1037 | Bug fixes: | |
1038 | ||
1039 | - use scanline oriented operations to flip images instead of pixel | |
1040 | operations | |
1041 | https://rt.cpan.org/Ticket/Display.html?id=39278 | |
1042 | ||
1043 | - use double/sample operations to flip large sample images instead of | |
1044 | 8-bit sample operations. | |
1045 | https://rt.cpan.org/Ticket/Display.html?id=39280 | |
1046 | ||
de3ca2fd TC |
1047 | - fix POD nits |
1048 | https://rt.cpan.org/Ticket/Display.html?id=51874 | |
1049 | ||
ffddd407 TC |
1050 | - prevent double-frees when someone creates Imager objects and then |
1051 | creates a thread. Note: this just handles some simple cases, | |
1052 | Imager doesn't support perl threads, and isn't likely to. | |
1053 | https://rt.cpan.org/Ticket/Display.html?id=52268 | |
1054 | ||
3517794b | 1055 | Imager 0.71 - 16 Nov 2009 |
6a3cbaef TC |
1056 | =========== |
1057 | ||
a16bae72 TC |
1058 | - add the opacity fill type - an adaptor that modifies the opacity of |
1059 | another fill. | |
1060 | ||
6a3cbaef TC |
1061 | Bug fixes: |
1062 | ||
1063 | - the conv filter now enforces that the sum of the coefficients is | |
1064 | non-zero. Also, rather than skipping pixels off the edge off the | |
1065 | edge of the image, the closest edge pixel is used. Previously | |
1066 | dividing by the zero sum of coefficients could cause invalid | |
1067 | results or runtime exceptions. | |
1068 | Thanks to David Cantrell's Alpha-NetBSD CPAN test box for revealing | |
1069 | this bug. | |
1070 | ||
189d5775 | 1071 | Imager 0.70 - 21 Sep 2009 |
2b82e731 TC |
1072 | =========== |
1073 | ||
1074 | Bug fixes: | |
1075 | ||
1076 | - release image row and comments memory on all error returns in gif | |
1077 | reader | |
1078 | ||
1079 | - handle zero length extensions, previously this would cause a null | |
1080 | pointer dereference | |
1081 | Thanks to Krzysztof Wojtaś for the test data and fix for this. | |
1082 | ||
b3afeed5 TC |
1083 | - an integer division meant that preview scaling to below 1 pixel |
1084 | wide or high (which isn't too useful anyway) was calculating using | |
1085 | NaNs on most platforms, and causing an exception on others. | |
1086 | Thanks to David Cantrell for producing a backtrace of the crash on | |
1087 | his Alpha-NetBSD CPAN test box which made it possible to track this | |
1088 | down. | |
1089 | ||
b1e29946 | 1090 | Imager 0.69 - 08 Sep 2009 |
25f4e775 TC |
1091 | =========== |
1092 | ||
b1e29946 | 1093 | Bug fixes: |
25f4e775 TC |
1094 | |
1095 | - broken test fix - was attempting to call a function skip_all, when | |
1096 | that should be a parameter to plan(). | |
1097 | ||
b1e29946 TC |
1098 | - briefly document apidocs.perl, the tool used to build |
1099 | Imager::APIRef and make some minor enhancements | |
1100 | ||
1101 | - various minor documentation enhancements and fixes. | |
1102 | ||
5920304a | 1103 | Imager 0.68 - 07 Sep 2009 |
c5f447ac TC |
1104 | =========== |
1105 | ||
3c252111 TC |
1106 | - Imager->new(file => $filename) and other similar incantations will |
1107 | load the given file. | |
1108 | https://rt.cpan.org/Ticket/Display.html?id=48261 | |
1109 | ||
c5f447ac TC |
1110 | Bug fixes: |
1111 | ||
1112 | - avoid using CHECK as a label in Imager::Test | |
1113 | http://nntp.x.perl.org/group/perl.cpan.testers/5220921 | |
1114 | ||
0d670555 TC |
1115 | - re-work most image file test files that require a library into |
1116 | separate library present/not present files to remove stupidly long | |
1117 | conditionals | |
1118 | ||
1119 | - don't treat rubthrough() outside the bounds of the target image as | |
1120 | an error. | |
1121 | http://nntp.x.perl.org/group/perl.cpan.testers/5185716 | |
1122 | ||
8d800216 TC |
1123 | Imager 0.67_01 - 02 Sep 2009 |
1124 | ============== | |
500888da TC |
1125 | |
1126 | Bug fixes: | |
1127 | ||
1128 | - correct documentation of default of raw image interleave read | |
1129 | parameter | |
1130 | https://rt.cpan.org/Ticket/Display.html?id=42074 | |
1131 | ||
1132 | - add raw_ prefix to raw read parameters, though the original names | |
1133 | still work. | |
1134 | ||
1135 | - fail the read if an invalid raw_interleave parameter is supplied | |
1136 | ||
1137 | - warn if no interleave or raw_interleave parameter is supplied, | |
1138 | since the documented default was wrong, and incompatible with the | |
1139 | write format | |
1140 | ||
1141 | - for reading raw images, if raw_storechannels > raw_datachannels, | |
1142 | set the extra channels in the image to 0 | |
1143 | ||
cd476e58 TC |
1144 | - when probing for executables like freetype-config, search for .bat |
1145 | and .cmd on MSWin32, as well as .exe. | |
1146 | https://rt.cpan.org/Ticket/Display.html?id=49275 | |
500888da | 1147 | |
f9a39263 TC |
1148 | - re-work the external libraries section of README: |
1149 | - list Debian and Redhat package names for each library | |
1150 | - reformatting | |
1151 | - update URLs | |
1152 | ||
f45b774f TC |
1153 | - use the new EU::MM META_MERGE facility instead of generating |
1154 | META.yml from scratch | |
1155 | https://rt.cpan.org/Ticket/Display.html?id=47888 | |
1156 | ||
d6b51d8c TC |
1157 | - use Devel::CheckLib (bundled, modified) to check which release of |
1158 | libtiff is installed and reject 3.9.0 | |
78645bd4 TC |
1159 | http://bugzilla.maptools.org/show_bug.cgi?id=2088 |
1160 | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543079 | |
d6b51d8c | 1161 | |
249af030 TC |
1162 | Imager 0.67 - 12 Dec 2008 |
1163 | =========== | |
1164 | ||
1165 | Bug fixes: | |
1166 | ||
1167 | - fix a packaging error | |
1168 | ||
cca21862 | 1169 | Imager 0.66 - 12 Dec 2008 |
3c8fee33 TC |
1170 | =========== |
1171 | ||
6b22ba84 TC |
1172 | - 24-bit color .ICO/.CUR files can now be read. |
1173 | ||
3c8fee33 TC |
1174 | Bug fixes: |
1175 | ||
6b22ba84 TC |
1176 | - an optimization skipping 0 src alpha values could cause the |
1177 | rubthrough() to read past the end of a buffer. | |
1178 | http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1509184.html | |
1179 | ||
5c0d0ddf TC |
1180 | - corrected a reference leak where writing GIFs would leak memory. |
1181 | This could also happen calling to_paletted(). | |
1182 | Also documented the underlying long existing feature where the | |
1183 | colors parameter is filled with the generated color table and added | |
1184 | tests for it. | |
3c8fee33 TC |
1185 | http://rt.cpan.org/Ticket/Display.html?id=41028 |
1186 | ||
8e7f5809 TC |
1187 | - write out the image size in bytes field of a BMP correctly. |
1188 | http://rt.cpan.org/Ticket/Display.html?id=41406 | |
1189 | ||
c586eb58 TC |
1190 | - add limited tests for Imager::ExtUtils |
1191 | ||
1192 | - make Imager::ExtUtils->includes use an absolute path, since | |
1193 | a relative path could cause failures using Inline::C. | |
1194 | http://rt.cpan.org/Ticket/Display.html?id=37353 | |
1195 | ||
6b22ba84 TC |
1196 | - re-arrange the POD for Imager::Font::BBox: |
1197 | - mark total_width(), pos_width(), end_offset() obsolete, since | |
1198 | they're mostly for backwards compatibility | |
1199 | - group width methods and height methods | |
1200 | https://rt.cpan.org/Ticket/Display.html?id=39999 | |
17d9fe35 | 1201 | |
0727e3f5 | 1202 | Imager 0.65 - 20 May 2008 |
546ea21c TC |
1203 | =========== |
1204 | ||
1205 | Bug fixes: | |
1206 | ||
1207 | - In some cases when an error occurs reading those parts of a JPEG | |
1208 | file after the image the scan-line buffer could be freed a second | |
1209 | time. In cases where the the error occured while reading the image | |
1210 | data it's possible that the buffer could have leaked. | |
1211 | Thanks to Gabriel Vasseur for reporting this and help in tracking | |
1212 | it down. | |
1213 | ||
43b2b326 TC |
1214 | - the gif_screen_height tag was overriding the screen width and being |
1215 | ignored for the screen height when present. | |
1216 | https://rt.cpan.org/Public/Bug/Display.html?id=35568 | |
1217 | ||
e02d22d2 | 1218 | Imager 0.64 - 23 April 2008 |
de470892 TC |
1219 | =========== |
1220 | ||
e02d22d2 TC |
1221 | This is a bug fix release. This includes a fix for a possible |
1222 | security issue. | |
1223 | ||
de470892 TC |
1224 | Bug fixes: |
1225 | ||
e02d22d2 TC |
1226 | - Possible security issue: The floating point sample path for image |
1227 | based fills had a buffer overflow. This would overwrite the end of | |
1228 | a malloc()ed buffer with double precision floats. | |
1229 | http://rt.cpan.org/Ticket/Display.html?id=35324 | |
6912d85a | 1230 | CVE-2008-1928 |
e02d22d2 | 1231 | |
de470892 TC |
1232 | - check that the result of fileno($fh) is defined rather than simply |
1233 | true when read() or write() is supplied with an fh parameter. | |
1234 | http://rt.cpan.org/Ticket/Display.html?id=35139 | |
1235 | ||
1236 | - i_scale_axis() wasn't checking the result of i_img_new_ch() | |
1237 | resulting in a SIGSEGV when attempting to scale an image to a size | |
1238 | too large to fit in memory. This is a NULL pointer access issue, | |
1239 | not a buffer overflow. | |
1240 | Added a check for the failure. | |
1241 | scale_calculate() (and hence scale()) will now fail if any of the | |
1242 | scale size parameters are a reference. | |
1243 | http://rt.cpan.org/Ticket/Display.html?id=35172 | |
1244 | ||
04f85f63 TC |
1245 | - Regression: filling a greyscale image with a hatch used the wrong |
1246 | color channels from the supplied fg/bg colors. | |
1247 | https://rt.cpan.org/Ticket/Display.html?id=35278 | |
1248 | ||
a256aec5 TC |
1249 | - fixed a related problem for image fills. |
1250 | ||
49240201 | 1251 | Imager 0.63 - 7 April 2008 |
33b0ffa6 TC |
1252 | =========== |
1253 | ||
242d7497 TC |
1254 | This release primarily contains changes to improve ease of use - |
1255 | rather than you having to convert images to the appropriate number of | |
1256 | channels, Imager handles it internally. How to handle drawing colors | |
1257 | and the default combine mode is a thornier problem left for some other | |
1258 | release. | |
1259 | ||
d1555273 TC |
1260 | - the font libraries are now only initialized when needed. |
1261 | http://rt.cpan.org/Ticket/Display.html?id=28825 | |
1262 | ||
9b1ec2b8 TC |
1263 | - moved the imtoc.perl code into Imager::Preprocess |
1264 | ||
1265 | - paste() and rubthrough() now adapt the source image data to the | |
1266 | destination, so you can now safely paste/rubthrough from greyscale | |
1267 | images to color images or back, or from alpha channel images to | |
1268 | noalpha channels or back. | |
1269 | https://rt.cpan.org/Ticket/Display.html?id=30908 | |
1270 | ||
1271 | - rubthrough() now falls back to pasting when the source doesn't have | |
1272 | an alpha channel. This effectively treats the source as having a | |
1273 | max alpha channel, the right thing to do. | |
1274 | http://rt.cpan.org/Ticket/Display.html?id=29944 | |
1275 | ||
1276 | - re-worked most of the area filling code to use a common set of | |
1277 | functions when filling. | |
1278 | Corrected normal combine mode. | |
1279 | Rewrote most of the combine modes to match the way the SVG draft | |
1280 | defines them with respect to a translucent source and destination. | |
1281 | Added tests for translucent source and destination. | |
1282 | Added tests to check 8-bit/sample and double/sample combines work | |
1283 | similarly. | |
1284 | https://rt.cpan.org/Ticket/Display.html?id=29879 | |
1285 | ||
07d9c639 TC |
1286 | - writing a 2 or 4 channel image to a JPEG file will now write that |
1287 | image as if composited against a background, black by default, | |
1288 | overridable with the i_background tag/parameter. | |
6e4af7d4 TC |
1289 | https://rt.cpan.org/Ticket/Display.html?id=29876 |
1290 | ||
07d9c639 TC |
1291 | - writing a 2 or 4 channel image to a PGM/PPM file will now write |
1292 | that image as if composited against a background, black by default, | |
fa90de94 TC |
1293 | overridable with the i_background tag/parameter. |
1294 | http://rt.cpan.org/Ticket/Display.html?id=30074 | |
1295 | ||
07d9c639 TC |
1296 | - writing a 2 or 4 channel image to a BMP file will now write that |
1297 | image as if composited against a background, black by default, | |
1298 | overridable with the i_background tag/parameter. | |
1299 | http://rt.cpan.org/Ticket/Display.html?id=30075 | |
1300 | ||
33b0ffa6 TC |
1301 | Bug fixes: |
1302 | ||
1303 | - Imager::Matrix2d->translate() now only requires one of the x or y | |
1304 | parameters. | |
1305 | http://rt.cpan.org/Ticket/Display.html?id=29937 | |
1306 | ||
2757bad0 TC |
1307 | - mixing qtype scaling now sets all channels of a pixel to zero if |
1308 | the pixel has zero coverage (zero alpha). This should produce more | |
1309 | compressible output files. | |
1310 | http://rt.cpan.org/Ticket/Display.html?id=32324 | |
1311 | ||
3da08517 TC |
1312 | - removed the pointless #! line from lib/Imager/Font/Wrap.pm |
1313 | Noticed when I saw: | |
1314 | https://bugzilla.redhat.com/show_bug.cgi?id=166254 | |
1315 | I'm not changing the #! lines of the sample code, since it's sample | |
1316 | code, not intended for installation. | |
1317 | http://rt.cpan.org/Ticket/Display.html?id=33408 | |
1318 | ||
242d7497 TC |
1319 | - some TGA images weren't being detected correctly as TGA images |
1320 | https://rt.cpan.org/Ticket/Display.html?id=32925 | |
1321 | ||
1322 | - handling of the left-over bit for 16-bit/pixel TGA images has been | |
1323 | changed to match the behaviour of the GIMP. Previously the bit | |
1324 | being set was treated as an opaque pixel, but one user reported a | |
1325 | problem with loading such an image. I haven't been able to find any | |
1326 | tools beyond the GIMP that handle alpha-channel 16-bit TGAs, so | |
1327 | I'll match it's behaviour. See issue 114913 in the GIMP's | |
1328 | bugzilla. | |
1329 | http://rt.cpan.org/Ticket/Display.html?id=32926 | |
1330 | ||
5daa9d34 | 1331 | Imager 0.62 - 10 December 2007 |
ac8138b0 TC |
1332 | =========== |
1333 | ||
d8e0c3ba TC |
1334 | - Makefile.PL now expands ~/path supplied to --incpath or --libpath |
1335 | to /path under your home directory. | |
1336 | http://rt.cpan.org/Ticket/Display.html?id=29484 | |
1337 | ||
50ff958e TC |
1338 | - the old dynaload code used Mach API functions to load dynamic |
1339 | libraries on Mac OS X. These APIs have been deprecated in OS X | |
1340 | 10.5 and were causing some build problems. | |
1341 | So henceforth Imager uses the dlopen() family of functions, and you | |
1342 | will need version 10.3 or later of OS X. | |
1343 | ||
3309187a TC |
1344 | - added the det() function to the transform2() engine. |
1345 | added the sample quad_to_square.pl | |
1346 | Courtesy Richard Fairhurst. | |
1347 | http://rt.cpan.org/Ticket/Display.html?id=31244 | |
1348 | ||
ac8138b0 TC |
1349 | Bug fixes: |
1350 | ||
1351 | - samples/gifscale.pl sourced the base value for gif_top from | |
1352 | gif_left. | |
1353 | Thanks to Eleneldil G. Arilou for pointing this out. | |
1354 | ||
678a9a65 TC |
1355 | - t/t82inline.t no longer loads B at runtime, to work around a bug |
1356 | in some 5.005_0[45] installations. | |
1357 | http://rt.cpan.org/Ticket/Display.html?id=30508 | |
1358 | ||
1359 | - work around Module::Depends::Intrusive bug #21229 | |
1360 | http://rt.cpan.org/Ticket/Display.html?id=30520 | |
ac8138b0 | 1361 | |
bea65b1f TC |
1362 | - the hardinvert filter no-longer inverts the alpha channel. |
1363 | http://rt.cpan.org/Ticket/Display.html?id=30002 | |
1364 | ||
1365 | - the hardinvert filter now supports large samples | |
1366 | ||
b7809486 | 1367 | Imager 0.61_02 - 28 November 2007 |
f74e6efc | 1368 | ============== |
874c55db | 1369 | |
bd8052a6 TC |
1370 | - major TIFF support re-work |
1371 | http://rt.cpan.org/Ticket/Display.html?id=20329 | |
1372 | ||
1373 | - added a C level image interface for accessing samples from 1-32 | |
1374 | bits, exposed this at the perl level in getsamples() | |
1375 | ||
1376 | - the conv filter now works at floating point precision for high bit | |
1377 | images | |
1378 | ||
1379 | - added is_bilevel method to test whether an image should be written as | |
1380 | a bilevel image if the image format supports it. | |
1381 | ||
1382 | - added -log-stderr as an Imager import list option | |
1383 | ||
1384 | - added some important types to Imager::APIRef | |
1385 | ||
1386 | - added test_image_double() to Imager::Test | |
1387 | ||
874c55db TC |
1388 | Bug fixes: |
1389 | ||
1390 | - Imager::Fountain couldn't read GIMP gradient files with 10 or more | |
1391 | segments | |
1392 | ||
1393 | - the scale() method with qtype mixing now handles images with an | |
1394 | alpha channel correctly. | |
1395 | ||
8d17eae9 TC |
1396 | - fixed a broken link from the "animated GIF" entry in the concept index. |
1397 | Thanks to Slaven Rezic. | |
1398 | http://rt.cpan.org/Ticket/Display.html?id=30889 | |
1399 | ||
d3bf4eaf TC |
1400 | - on some perl's the infix expression parser test would fail due to |
1401 | actions in the grammar returning false. Made sure all actions return | |
1402 | a true value. | |
8b96ad6b TC |
1403 | Thanks to Richard Fairhurst for spending a lot of time in tracking |
1404 | down this problem. | |
680c329d | 1405 | http://rt.cpan.org/Public/Bug/Display.html?id=29562 |
d3bf4eaf | 1406 | |
d06f6707 | 1407 | Imager 0.61 - 5 November 2007 |
1cfa190e TC |
1408 | =========== |
1409 | ||
1410 | - added samples/gifscale.pl, which adjusts the screen size/position tags | |
1411 | when scaling an animated gif | |
1412 | http://rt.cpan.org/Ticket/Display.html?id=27591 | |
1413 | ||
8a2cd317 TC |
1414 | Bug fixes: |
1415 | ||
e7ac18bd TC |
1416 | - correct handling of sz in matrix_transform() - this should allow |
1417 | perspective type transformations to work now. | |
1418 | http://rt.cpan.org/Ticket/Display.html?id=29936 | |
1419 | ||
8a2cd317 TC |
1420 | - prevent a cast to integer warning on x64 builds in datatypes.c |
1421 | also fixed some other type warnings | |
1422 | https://rt.cpan.org/Ticket/Display.html?id=30204 | |
1423 | ||
9188b23e TC |
1424 | - some sub-directory tests depended on files produced by the parent |
1425 | directory tests | |
1426 | http://rt.cpan.org/Ticket/Display.html?id=30203 | |
1427 | ||
7febff1d TC |
1428 | - Imager::Font::Wrap doesn't correctly set savepos |
1429 | thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this. | |
1430 | http://rt.cpan.org/Ticket/Display.html?id=29771 | |
1431 | ||
76411e99 TC |
1432 | - test 171 in t/t01introvert.t was failing on perls configured to |
1433 | use long double. | |
1434 | http://rt.cpan.org/Ticket/Display.html?id=29413 | |
1435 | ||
3f29de50 TC |
1436 | - the code for the transform2() uminus operator was missing a break. |
1437 | Added tests for better code coverage of the ops. | |
1438 | http://rt.cpan.org/Ticket/Display.html?id=29296 | |
1439 | ||
ed107438 TC |
1440 | - the SGI RLE compression code could overflow its compression buffer |
1441 | http://rt.cpan.org/Ticket/Display.html?id=30334 | |
1442 | ||
1443 | - the 32-bit output function used by the SGI code only handled values | |
1444 | under 0x10000. This was most noticable when writing large RLE images. | |
1445 | http://rt.cpan.org/Ticket/Display.html?id=30335 | |
1446 | ||
c7481ae1 TC |
1447 | - validate chan_count for chans == NULL for each of the i_gsamp() |
1448 | implementations. | |
1449 | http://rt.cpan.org/Ticket/Display.html?id=28985 | |
1450 | ||
ff37fc3f TC |
1451 | - attempt to work around the test failure at |
1452 | http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html | |
1453 | http://rt.cpan.org/Ticket/Display.html?id=29562 | |
1454 | ||
f245645a TC |
1455 | - improve the error messages produced when attempting to read or write |
1456 | an unknown image file format. | |
1457 | http://rt.cpan.org/Ticket/Display.html?id=30103 | |
1458 | ||
333d7485 TC |
1459 | - improve the transform2() documentation |
1460 | http://rt.cpan.org/Ticket/Display.html?id=29267 | |
1461 | ||
3b115720 TC |
1462 | - correctly generate the author key in META.yml |
1463 | http://rt.cpan.org/Ticket/Display.html?id=30377 | |
1464 | ||
13c9a303 TC |
1465 | - correctly blend a rotated (or matrix_transformed()) image when |
1466 | performing interpolation in the presence of an alpha channel. | |
8a071022 TC |
1467 | Also corrected the centring of the rotated image on the output |
1468 | image. | |
13c9a303 | 1469 | |
0e622083 | 1470 | Imager 0.60 - 30 August 2007 |
bcff4dd9 TC |
1471 | =========== |
1472 | ||
d5477d3d TC |
1473 | - Finished/rewrote Arnar's old SGI RGB file format support, so Imager |
1474 | now has full SGI RGB image format, including RLE and 16-bit/sample | |
1475 | images. | |
1476 | https://rt.cpan.org/Ticket/Display.html?id=8666 | |
1477 | ||
1478 | - logging functions are now available in the API | |
1479 | ||
a60905e4 TC |
1480 | - applied Gabriel Vasseur's patch |
1481 | added documentation, further tests, and support for greyscale images | |
1482 | Obviously problems are my fault :) | |
1483 | https://rt.cpan.org/Ticket/Display.html?id=28142 | |
1484 | ||
413dc198 TC |
1485 | - the mask for ICO/CUR images is now applied as an alpha channel to |
1486 | the returned image. For the old behaviour, supply ico_masked => 0 | |
1487 | to read() or read_multi(). This should be less confusing when | |
1488 | using Imager as a general image processor. | |
1489 | https://rt.cpan.org/Ticket/Display.html?id=29001 | |
1490 | ||
bcff4dd9 TC |
1491 | Bug fixes: |
1492 | ||
1493 | - in some cases it's possible for giflib/libungif to return color | |
1494 | indexes outside the range of colors defined by the image's palette. | |
1495 | We now expand the palette to match the indexes used. | |
1496 | Thanks to Gabriel Vasseur for reporting this. | |
1497 | ||
02576e8d TC |
1498 | - fixed various memory leaks that could occur when failing to read png, |
1499 | jpeg, bmp or tga files. | |
1500 | ||
b3aa972f TC |
1501 | - to avoid confusion, channels not present in the image are returned as |
1502 | zero by getscanline(). This has no effect on the C level i_glin() | |
1503 | and i_glinf() API functions which continue to not set the unused | |
1504 | channels. | |
1505 | ||
d5477d3d TC |
1506 | - the convert() method now returns an image of the same sample size as |
1507 | the source image. | |
1508 | https://rt.cpan.org/Ticket/Display.html?id=28492 | |
1509 | ||
baa880ef TC |
1510 | - remove repeated text in Imager::Files |
1511 | http://rt.cpan.org/Ticket/Display.html?id=27589 | |
1512 | ||
1513 | - be even more explicit that scale() and friends don't modify the source | |
1514 | image, but return a new image. | |
1515 | http://rt.cpan.org/Ticket/Display.html?id=28570 | |
1516 | ||
0561d49c TC |
1517 | - improve the error message from errstr() when you try to load a font |
1518 | for which the driver hasn't been built in Imager. | |
1519 | http://rt.cpan.org/Ticket/Display.html?id=27571 | |
1520 | ||
d8a39ce0 TC |
1521 | - transparency is now enabled by default when writing GIF images |
1522 | http://rt.cpan.org/Ticket/Display.html?id=27615 | |
1523 | ||
5730d6e7 TC |
1524 | - Imager would not load on Windows 98 |
1525 | http://rt.cpan.org/Ticket/Display.html?id=27653 | |
1526 | ||
b4996113 | 1527 | Imager 0.59 - 14 June 2007 |
e6e94ab0 TC |
1528 | =========== |
1529 | ||
1530 | Bug fixes: | |
1531 | ||
1532 | - fixes a regression introduced by the fixes for RT 11972 | |
1533 | http://rt.cpan.org/Ticket/Display.html?id=27546 | |
1534 | ||
9fc9d0ca TC |
1535 | - cropping outside the image would return an Imager object with |
1536 | no low-level image object, instead of returning false. | |
1537 | Fixed by: Philip Gwyn (Leolo) | |
1538 | http://rt.cpan.org/Ticket/Display.html?id=27509 | |
1539 | ||
7e7508dd TC |
1540 | Imager 0.58 - 16 May 2007 |
1541 | =========== | |
1542 | ||
1543 | No significant changes from 0.57_01. | |
1544 | ||
1970a2c7 TC |
1545 | Imager 0.57_01 - 11 May 2007 |
1546 | ============== | |
d034a178 | 1547 | |
f8e36694 TC |
1548 | - added to_rgb16 to produce a 16-bit/sample version of an image |
1549 | ||
95b2bff4 TC |
1550 | - improve freetype 1.x text output efficiency |
1551 | ||
d034a178 TC |
1552 | Bug fixes: |
1553 | ||
1554 | - search another place for rgb.txt, and check all the places | |
1555 | Imager::Color checks when deciding whether to skip testing it | |
1556 | http://rt.cpan.org/Ticket/Display.html?id=26064 | |
1557 | ||
73962964 TC |
1558 | - use a convolution kernel size based on the stddev rather than a |
1559 | fixed size when performing a gaussian blur | |
1560 | http://rt.cpan.org/Ticket/Display.html?id=25645 | |
1561 | ||
01b84320 TC |
1562 | - document the difference() method's mindist parameter, and debug it. |
1563 | ||
7e7508dd | 1564 | - put the Imager release number in the Inline::C generated code to |
22f9ca48 TC |
1565 | regenerate Inline code when a new release of Imager is installed. |
1566 | http://rt.cpan.org/Ticket/Display.html?id=26278 | |
1567 | ||
fa16b6c6 TC |
1568 | - fix rendering on alpha channel images for the FreeType 1.x driver. |
1569 | http://rt.cpan.org/Ticket/Display.html?id=11972 | |
1570 | ||
4c84ccfb TC |
1571 | - fix rendering on alpha channel images for the T1lib driver. |
1572 | http://rt.cpan.org/Ticket/Display.html?id=11972 | |
1573 | ||
1fe8316b TC |
1574 | - reworked library probing, we can now set more than one probe |
1575 | function for a library. Disabled the default (non-freetype-config) | |
1576 | library probe and added an extra probe function that searches for | |
1577 | both ft2build.h and whatever it includes, and adds -I as needed. | |
1578 | Hopefully this will fix build problems like | |
1579 | http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html | |
1580 | http://rt.cpan.org/Ticket/Display.html?id=26086 | |
1581 | ||
bb5712de TC |
1582 | Imager 0.57 - 30 Apr 2007 |
1583 | =========== | |
1584 | ||
1585 | This is a maintenence release fixing a security issue in Imager. | |
1586 | ||
1587 | - CRITICAL: a specially crafted compressed BMP file can cause a buffer | |
1588 | overflow in malloced memory. There will be further discussion of | |
1589 | this issue in the ticket below. | |
1590 | http://rt.cpan.org/Ticket/Display.html?id=26811 | |
7e7508dd TC |
1591 | CVE-2007-2459 CVE-2007-2413 |
1592 | The descriptions at cve.mitre.org varied in quality, please see the | |
1593 | ticket at rt.cpan.org for a more accurate description of the issue. | |
bb5712de | 1594 | |
d034a178 | 1595 | Imager 0.56 - 1 Apr 2007 |
7623d340 TC |
1596 | =========== |
1597 | ||
1598 | - added support for reading 16-bit/sample PGM/PPM images | |
1599 | ||
1600 | - added support for writing 16-bit/sample PGM/PPM images | |
1601 | ||
1602 | - improved performance of reading PBM/PGM/PPM images | |
1603 | ||
1604 | - added support for writing PBM images if the image is paletted and | |
1605 | contains only black and white | |
1606 | ||
1607 | - added a new make_colors value - "mono" | |
1608 | ||
1609 | - switched from the svn log Changes to a manual Changes to reduce | |
1610 | noise | |
1611 | ||
1225d272 TC |
1612 | - new sample code - samples/flasher.pl |
1613 | ||
7623d340 TC |
1614 | Bug fixes: |
1615 | ||
1616 | - CRITICAL: the "Imager" typemap entry (not used by Imager itself) | |
1617 | was returning an image object with an extra reference, this | |
1618 | resulted in a memory leak. | |
1619 | http://rt.cpan.org/Ticket/Display.html?id=24992 | |
1620 | ||
1621 | - fix rendering on alpha channel images for the FreeType 2.x driver | |
1622 | http://rt.cpan.org/Ticket/Display.html?id=11972 | |
1623 | ||
1624 | - reading bmp files now consitently handles short reads. You can now | |
1625 | supply a parameter to treat a short read as successful and set | |
1626 | i_incomplete | |
1627 | http://rt.cpan.org/Ticket/Display.html?id=8426 | |
1628 | ||
1629 | - previously, reading ASCII PBM files required spaces between samples, | |
1630 | even though the format doesn't require that | |
1631 | ||
1225d272 TC |
1632 | - improved documentation of the unsharpmask filter (I hope) |
1633 | http://rt.cpan.org/Ticket/Display.html?id=25531 | |
1634 | ||
1635 | - force flushing of the output from i_tt_dump_names() and test output | |
1636 | in t/t35ttfont.t to prevent output from being mixed up. | |
1637 | https://rt.cpan.org/Ticket/Display.html?id=24859 | |
1638 | ||
1639 | - rewrite a conditional expression as an if() to hopefully work around | |
1640 | a bug in the pre-4.0 GCC Apple shipped with OS X 10.4. | |
1641 | https://rt.cpan.org/Ticket/Display.html?id=25561 | |
1642 | ||
1643 | - avoid Data::Dumper in regops.perl to support older releases of perl | |
1644 | https://rt.cpan.org/Ticket/Display.html?id=24391 | |
1645 | ||
7623d340 TC |
1646 | Imager 0.55 - 16 Dec 2006 |
1647 | =========== | |
1648 | ||
1649 | This is primarily a bug fix release. | |
1650 | ||
1651 | Note: Test::More is now a pre-requisite for Imager and is no longer bundled. | |
1652 | ||
1653 | There is one new feature: | |
1654 | ||
1655 | - the Win32 font driver now supports UTF8 (RT 22166) | |
1656 | http://www.cpanforum.com/threads/3276 | |
1657 | http://rt.cpan.org/Ticket/Display.html?id=22166 | |
1658 | ||
1659 | Several bugs were fixed: | |
1660 | ||
1661 | - the string() method would not output the string "0" | |
1662 | http://rt.cpan.org/Public/Bug/Display.html?id=21770 | |
1663 | ||
1664 | - fills.c was failing to compile on Solaris 10 (compiler unknown) | |
1665 | http://rt.cpan.org/Public/Bug/Display.html?id=21944 | |
1666 | ||
1667 | - the gif_disposal and gif_user_input tags weren't being read from | |
1668 | the file correctly | |
1669 | http://rt.cpan.org/Public/Bug/Display.html?id=22192 | |
1670 | ||
1671 | - gif.c was failing to build under MSVC | |
1672 | http://rt.cpan.org/Ticket/Display.html?id=23922 | |
1673 | ||
1674 | - in some cases strings passed to the string() method were treated as | |
1675 | terminated by NUL (chr 0) | |
1676 | http://rt.cpan.org/Public/Bug/Display.html?id=21770 | |
1677 | ||
1678 | - on "MSWin32" perl builds we now link to -lzlib instead of -lz since | |
1679 | that's the default build name for zlib on Win32. | |
1680 | http://rt.cpan.org/Ticket/Display.html?id=23064 | |
1681 | ||
1682 | - search $Config{incpath} for headers too, which we should have been | |
1683 | doing all along. | |
1684 | ||
1685 | Win32 font driver fixes: | |
1686 | ||
1687 | - the global descent value from bounding box was the wrong sign | |
1688 | http://www.cpanforum.com/threads/3276 | |
1689 | ||
1690 | - if the first or last glyph overflowed the left or right side of the | |
1691 | advance width they would be clipped | |
1692 | ||
1693 | ||
1694 | Imager 0.54 - 14 Sep 2006 | |
1695 | =========== | |
1696 | ||
1697 | This is primarily a feature release: | |
1698 | ||
1699 | - a new qtype value 'mixing' has been added to the scale() | |
1700 | method. This is faster than 'normal', slower than 'preview'. This | |
1701 | is based on the method used by pnmscale, and seems to produce less | |
1702 | blurry results than normal. | |
1703 | http://rt.cpan.org/Public/Bug/Display.html?id=20677 | |
1704 | ||
1705 | - the rubthrough() method can now render onto images with an alpha | |
1706 | channel. | |
1707 | http://rt.cpan.org/Ticket/Display.html?id=20678 | |
1708 | ||
1709 | - the read_multi() method now falls back to calling doing a single | |
1710 | image read via the read() method and write_multi() will now fall | |
1711 | back to calling write() if a single image is supplied. This means | |
1712 | you can simply call the read_multi() or write_multi() functions | |
1713 | without having to check if the type is formatted by that method. | |
1714 | http://rt.cpan.org/Ticket/Display.html?id=19457 | |
1715 | http://rt.cpan.org/Ticket/Display.html?id=19458 | |
1716 | ||
1717 | - the GIF loop extension can now be written. If you don't have | |
1718 | libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you | |
1719 | should upgrade. | |
1720 | http://rt.cpan.org/Ticket/Display.html?id=21185 | |
1721 | ||
1722 | - getscanline() and setscanline() can now read/write palette index | |
1723 | based data from/to the image for paletted images, by setting type to | |
1724 | 'index'. | |
1725 | http://rt.cpan.org/Ticket/Display.html?id=20338 | |
1726 | ||
1727 | - we no longer hassle you to disable GIF support | |
1728 | http://rt.cpan.org/Ticket/Display.html?id=20687 | |
1729 | ||
1730 | - minor documentation fixes | |
1731 | ||
1732 | ||
1733 | Imager 0.53 - 26 Jul 2006 | |
1734 | =========== | |
1735 | ||
1736 | This is a bugfix release. | |
1737 | ||
1738 | Some test code was left in a code path not covered by the test | |
1739 | suite. A test was added to cover this code path and the test code was | |
1740 | removed. | |
1741 | http://rt.cpan.org/Public/Bug/Display.html?id=20705 | |
1742 | ||
1743 | ||
1744 | Imager 0.52 - 25 Jul 2006 | |
1745 | =========== | |
1746 | ||
1747 | This is primarily a feature release, but contains a fair few bug | |
1748 | fixes, new features: | |
1749 | ||
1750 | - ability to read and write MS Windows ICO and CUR files | |
1751 | ||
1752 | - you can now add file format plugins to support new file formats | |
1753 | ||
1754 | - add POD coverage tests | |
1755 | ||
1756 | - setcolors() and addcolors() now accept color names and so on | |
1757 | instead of requiring Imager::Color objects. | |
1758 | http://rt.cpan.org/Ticket/Display.html?id=20056 | |
1759 | ||
1760 | - flood_fill() can now fill to a specified border color instead of | |
1761 | just to the area the same color as the seed. | |
1762 | http://rt.cpan.org/Ticket/Display.html?id=19618 | |
1763 | ||
1764 | ||
1765 | Bug fixes: | |
1766 | ||
1767 | - bounding_box for the T1 driver wasn't converting UTF8 to ascii when | |
1768 | calculating the advance width. | |
1769 | http://rt.cpan.org/Public/Bug/Display.html?id=20554 | |
1770 | ||
1771 | - bounding_box for the T1 driver wasn't including leading and | |
1772 | trailing spaces in the bounding box as the other drivers did, it also | |
1773 | produced strange results for empty strings or strings containing only | |
1774 | spaces | |
1775 | ||
1776 | - when reading CMYK jpeg images they were being transferred to the | |
1777 | image object as is, producing a four channel image. It only looked ok | |
1778 | due to an old still unfixed Photoshop bug. We now convert from the | |
1779 | inverted CMYK that photoshop (and Corel for example) produce into RGB. | |
1780 | http://rt.cpan.org/Ticket/Display.html?id=20416 | |
1781 | ||
1782 | - reading a CYMK TIFF would result in a 4 channel image, reading any | |
1783 | image with more than 4 channels (eg. RGB with 2 alpha channels) would | |
1784 | result in an error. | |
1785 | http://rt.cpan.org/Ticket/Display.html?id=20415 | |
1786 | ||
1787 | - added /usr/local/include to the default include search path, since | |
1788 | we were already searching /usr/local/lib for libraries. | |
1789 | ||
1790 | And various minor fixes and documentation updates. | |
1791 | ||
1792 | ||
1793 | Imager 0.51 - 23 Apr 2006 | |
1794 | =========== | |
1795 | ||
1796 | - fix a validation bug when processing JPEG EXIF data that can cause | |
1797 | a crash | |
1798 | http://rt.cpan.org/Public/Bug/Display.html?id=18496 | |
1799 | ||
1800 | - fix mis-processing of the src_maxx and src_maxy parameters of the | |
1801 | paste() method | |
1802 | http://rt.cpan.org/Public/Bug/Display.html?id=18712 | |
1803 | ||
1804 | - fix a problem in Imager's "smart" handling of the color parameter | |
1805 | to various methods. | |
1806 | http://rt.cpan.org/Public/Bug/Display.html?id=18561 | |
1807 | ||
1808 | ||
1809 | Imager 0.50 - 29 Mar 2006 | |
1810 | =========== | |
1811 | ||
1812 | - CRITICAL: fixes a segmentation fault from attempting to write a 2 | |
1813 | or 4 channel image to jpeg or a 2 channel image to tga where the | |
1814 | output is an in-memeory buffer. | |
1815 | http://rt.cpan.org/Public/Bug/Display.html?id=18397 | |
1816 | ||
1817 | - fixes an incorrect pointer parameter in the PNG code | |
1818 | http://rt.cpan.org/Public/Bug/Display.html?id=18051 | |
1819 | ||
1820 | - skip Inline::C tests when building in a directory with spaces | |
1821 | http://rt.cpan.org/Public/Bug/Display.html?id=18049 |