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