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