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