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