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