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