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