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