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