]> git.imager.perl.org - imager.git/blob - Changes
commit changes from draw branch
[imager.git] / Changes
1 Imager release history.  Older releases can be found in Changes.old
2
3 Imager 0.63 - unreleased
4 ===========
5
6  - the font libraries are now only initialized when needed.
7    http://rt.cpan.org/Ticket/Display.html?id=28825
8
9  - moved the imtoc.perl code into Imager::Preprocess
10
11  - paste() and rubthrough() now adapt the source image data to the
12    destination, so you can now safely paste/rubthrough from greyscale
13    images to color images or back, or from alpha channel images to
14    noalpha channels or back.
15    https://rt.cpan.org/Ticket/Display.html?id=30908
16
17  - rubthrough() now falls back to pasting when the source doesn't have
18    an alpha channel.  This effectively treats the source as having a
19    max alpha channel, the right thing to do.
20    http://rt.cpan.org/Ticket/Display.html?id=29944
21
22  - re-worked most of the area filling code to use a common set of
23    functions when filling.
24    Corrected normal combine mode.
25    Rewrote most of the combine modes to match the way the SVG draft
26    defines them with respect to a translucent source and destination.
27    Added tests for translucent source and destination.
28    Added tests to check 8-bit/sample and double/sample combines work
29    similarly.
30    https://rt.cpan.org/Ticket/Display.html?id=29879
31
32 Bug fixes:
33
34  - Imager::Matrix2d->translate() now only requires one of the x or y
35    parameters.
36    http://rt.cpan.org/Ticket/Display.html?id=29937
37
38 Imager 0.62 - 10 December 2007
39 ===========
40
41  - Makefile.PL now expands ~/path supplied to --incpath or --libpath
42    to /path under your home directory.
43    http://rt.cpan.org/Ticket/Display.html?id=29484
44
45  - the old dynaload code used Mach API functions to load dynamic
46    libraries on Mac OS X.  These APIs have been deprecated in OS X
47    10.5 and were causing some build problems.
48    So henceforth Imager uses the dlopen() family of functions, and you 
49    will need version 10.3 or later of OS X.
50
51  - added the det() function to the transform2() engine.
52    added the sample quad_to_square.pl
53    Courtesy Richard Fairhurst.
54    http://rt.cpan.org/Ticket/Display.html?id=31244
55
56 Bug fixes:
57
58  - samples/gifscale.pl sourced the base value for gif_top from
59    gif_left.
60    Thanks to Eleneldil G. Arilou for pointing this out.
61
62  - t/t82inline.t no longer loads B at runtime, to work around a bug
63    in some 5.005_0[45] installations.
64    http://rt.cpan.org/Ticket/Display.html?id=30508
65
66  - work around Module::Depends::Intrusive bug #21229
67    http://rt.cpan.org/Ticket/Display.html?id=30520
68
69  - the hardinvert filter no-longer inverts the alpha channel.
70    http://rt.cpan.org/Ticket/Display.html?id=30002
71
72  - the hardinvert filter now supports large samples
73
74 Imager 0.61_02 - 28 November 2007
75 ==============
76
77  - major TIFF support re-work
78    http://rt.cpan.org/Ticket/Display.html?id=20329
79
80  - added a C level image interface for accessing samples from 1-32
81    bits, exposed this at the perl level in getsamples()
82
83  - the conv filter now works at floating point precision for high bit
84    images
85
86  - added is_bilevel method to test whether an image should be written as
87    a bilevel image if the image format supports it.
88
89  - added -log-stderr as an Imager import list option
90
91  - added some important types to Imager::APIRef
92
93  - added test_image_double() to Imager::Test
94
95 Bug fixes:
96
97  - Imager::Fountain couldn't read GIMP gradient files with 10 or more
98    segments
99
100  - the scale() method with qtype mixing now handles images with an
101    alpha channel correctly.
102
103  - fixed a broken link from the "animated GIF" entry in the concept index.
104    Thanks to Slaven Rezic.
105    http://rt.cpan.org/Ticket/Display.html?id=30889
106
107  - on some perl's the infix expression parser test would fail due to
108    actions in the grammar returning false.  Made sure all actions return
109    a true value.
110    Thanks to Richard Fairhurst for spending a lot of time in tracking
111    down this problem.
112    http://rt.cpan.org/Public/Bug/Display.html?id=29562
113
114 Imager 0.61 - 5 November 2007
115 ===========
116
117  - added samples/gifscale.pl, which adjusts the screen size/position tags
118    when scaling an animated gif
119    http://rt.cpan.org/Ticket/Display.html?id=27591
120
121 Bug fixes:
122
123  - correct handling of sz in matrix_transform() - this should allow
124    perspective type transformations to work now.
125    http://rt.cpan.org/Ticket/Display.html?id=29936
126
127  - prevent a cast to integer warning on x64 builds in datatypes.c
128    also fixed some other type warnings
129    https://rt.cpan.org/Ticket/Display.html?id=30204
130
131  - some sub-directory tests depended on files produced by the parent
132    directory tests
133    http://rt.cpan.org/Ticket/Display.html?id=30203
134
135  - Imager::Font::Wrap doesn't correctly set savepos
136    thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this.
137    http://rt.cpan.org/Ticket/Display.html?id=29771
138
139  - test 171 in t/t01introvert.t was failing on perls configured to
140    use long double.
141    http://rt.cpan.org/Ticket/Display.html?id=29413
142
143  - the code for the transform2() uminus operator was missing a break.
144    Added tests for better code coverage of the ops.
145    http://rt.cpan.org/Ticket/Display.html?id=29296
146
147  - the SGI RLE compression code could overflow its compression buffer
148    http://rt.cpan.org/Ticket/Display.html?id=30334
149
150  - the 32-bit output function used by the SGI code only handled values
151    under 0x10000.  This was most noticable when writing large RLE images.
152    http://rt.cpan.org/Ticket/Display.html?id=30335
153
154  - validate chan_count for chans == NULL for each of the i_gsamp()
155    implementations.
156    http://rt.cpan.org/Ticket/Display.html?id=28985
157
158  - attempt to work around the test failure at 
159    http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html
160    http://rt.cpan.org/Ticket/Display.html?id=29562
161
162  - improve the error messages produced when attempting to read or write
163    an unknown image file format.
164    http://rt.cpan.org/Ticket/Display.html?id=30103
165
166  - improve the transform2() documentation
167    http://rt.cpan.org/Ticket/Display.html?id=29267
168
169  - correctly generate the author key in META.yml
170    http://rt.cpan.org/Ticket/Display.html?id=30377
171
172  - correctly blend a rotated (or matrix_transformed()) image when
173    performing interpolation in the presence of an alpha channel.
174    Also corrected the centring of the rotated image on the output
175    image.
176
177 Imager 0.60 - 30 August 2007
178 ===========
179
180  - Finished/rewrote Arnar's old SGI RGB file format support, so Imager
181    now has full SGI RGB image format, including RLE and 16-bit/sample
182    images.
183    https://rt.cpan.org/Ticket/Display.html?id=8666
184
185  - logging functions are now available in the API
186
187  - applied Gabriel Vasseur's patch
188    added documentation, further tests, and support for greyscale images
189    Obviously problems are my fault :)
190    https://rt.cpan.org/Ticket/Display.html?id=28142
191
192  - the mask for ICO/CUR images is now applied as an alpha channel to
193    the returned image.  For the old behaviour, supply ico_masked => 0
194    to read() or read_multi().  This should be less confusing when
195    using Imager as a general image processor.
196    https://rt.cpan.org/Ticket/Display.html?id=29001
197
198 Bug fixes:
199
200  - in some cases it's possible for giflib/libungif to return color 
201    indexes outside the range of colors defined by the image's palette.
202    We now expand the palette to match the indexes used.
203    Thanks to Gabriel Vasseur for reporting this.
204
205  - fixed various memory leaks that could occur when failing to read png,
206    jpeg, bmp or tga files.
207
208  - to avoid confusion, channels not present in the image are returned as
209    zero by getscanline().  This has no effect on the C level i_glin()
210    and i_glinf() API functions which continue to not set the unused
211    channels.
212
213  - the convert() method now returns an image of the same sample size as
214    the source image.
215    https://rt.cpan.org/Ticket/Display.html?id=28492
216
217  - remove repeated text in Imager::Files
218    http://rt.cpan.org/Ticket/Display.html?id=27589
219
220  - be even more explicit that scale() and friends don't modify the source
221    image, but return a new image.
222    http://rt.cpan.org/Ticket/Display.html?id=28570
223
224  - improve the error message from errstr() when you try to load a font
225    for which the driver hasn't been built in Imager.
226    http://rt.cpan.org/Ticket/Display.html?id=27571
227
228  - transparency is now enabled by default when writing GIF images
229    http://rt.cpan.org/Ticket/Display.html?id=27615
230
231  - Imager would not load on Windows 98
232    http://rt.cpan.org/Ticket/Display.html?id=27653
233
234 Imager 0.59 - 14 June 2007
235 ===========
236
237 Bug fixes:
238
239  - fixes a regression introduced by the fixes for RT 11972
240    http://rt.cpan.org/Ticket/Display.html?id=27546
241
242  - cropping outside the image would return an Imager object with
243    no low-level image object, instead of returning false.
244    Fixed by: Philip Gwyn (Leolo)
245    http://rt.cpan.org/Ticket/Display.html?id=27509
246
247 Imager 0.58 - 16 May 2007
248 ===========
249
250 No significant changes from 0.57_01.
251
252 Imager 0.57_01 - 11 May 2007
253 ==============
254
255  - added to_rgb16 to produce a 16-bit/sample version of an image
256
257  - improve freetype 1.x text output efficiency
258
259 Bug fixes:
260
261  - search another place for rgb.txt, and check all the places 
262    Imager::Color checks when deciding whether to skip testing it
263    http://rt.cpan.org/Ticket/Display.html?id=26064
264
265  - use a convolution kernel size based on the stddev rather than a
266    fixed size when performing a gaussian blur
267    http://rt.cpan.org/Ticket/Display.html?id=25645
268
269  - document the difference() method's mindist parameter, and debug it.
270
271  - put the Imager release number in the Inline::C generated code to
272    regenerate Inline code when a new release of Imager is installed.
273    http://rt.cpan.org/Ticket/Display.html?id=26278
274
275  - fix rendering on alpha channel images for the FreeType 1.x driver.
276    http://rt.cpan.org/Ticket/Display.html?id=11972
277
278  - fix rendering on alpha channel images for the T1lib driver.
279    http://rt.cpan.org/Ticket/Display.html?id=11972
280
281  - reworked library probing, we can now set more than one probe
282    function for a library.  Disabled the default (non-freetype-config)
283    library probe and added an extra probe function that searches for
284    both ft2build.h and whatever it includes, and adds -I as needed.
285    Hopefully this will fix build problems like
286    http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html
287    http://rt.cpan.org/Ticket/Display.html?id=26086
288
289 Imager 0.57 - 30 Apr 2007
290 ===========
291
292 This is a maintenence release fixing a security issue in Imager.
293
294  - CRITICAL: a specially crafted compressed BMP file can cause a buffer
295    overflow in malloced memory.  There will be further discussion of
296    this issue in the ticket below.
297    http://rt.cpan.org/Ticket/Display.html?id=26811
298    CVE-2007-2459  CVE-2007-2413
299    The descriptions at cve.mitre.org varied in quality, please see the
300    ticket at rt.cpan.org for a more accurate description of the issue.
301
302 Imager 0.56 - 1 Apr 2007
303 ===========
304
305  - added support for reading 16-bit/sample PGM/PPM images
306
307  - added support for writing 16-bit/sample PGM/PPM images
308
309  - improved performance of reading PBM/PGM/PPM images
310
311  - added support for writing PBM images if the image is paletted and
312    contains only black and white
313
314  - added a new make_colors value - "mono"
315
316  - switched from the svn log Changes to a manual Changes to reduce
317    noise
318
319  - new sample code - samples/flasher.pl
320
321 Bug fixes:
322
323  - CRITICAL: the "Imager" typemap entry (not used by Imager itself)
324    was returning an image object with an extra reference, this
325    resulted in a memory leak.
326    http://rt.cpan.org/Ticket/Display.html?id=24992
327
328  - fix rendering on alpha channel images for the FreeType 2.x driver
329    http://rt.cpan.org/Ticket/Display.html?id=11972
330
331  - reading bmp files now consitently handles short reads.  You can now
332    supply a parameter to treat a short read as successful and set
333    i_incomplete
334    http://rt.cpan.org/Ticket/Display.html?id=8426
335
336  - previously, reading ASCII PBM files required spaces between samples,
337    even though the format doesn't require that
338
339  - improved documentation of the unsharpmask filter (I hope)
340    http://rt.cpan.org/Ticket/Display.html?id=25531
341
342  - force flushing of the output from i_tt_dump_names() and test output
343    in t/t35ttfont.t to prevent output from being mixed up.
344    https://rt.cpan.org/Ticket/Display.html?id=24859
345
346  - rewrite a conditional expression as an if() to hopefully work around
347    a bug in the pre-4.0 GCC Apple shipped with OS X 10.4.
348    https://rt.cpan.org/Ticket/Display.html?id=25561
349
350  - avoid Data::Dumper in regops.perl to support older releases of perl
351    https://rt.cpan.org/Ticket/Display.html?id=24391
352
353 Imager 0.55 - 16 Dec 2006
354 ===========
355
356 This is primarily a bug fix release.
357
358 Note: Test::More is now a pre-requisite for Imager and is no longer bundled.
359
360 There is one new feature:
361
362  - the Win32 font driver now supports UTF8 (RT 22166)
363    http://www.cpanforum.com/threads/3276
364    http://rt.cpan.org/Ticket/Display.html?id=22166
365
366 Several bugs were fixed:
367
368  - the string() method would not output the string "0"
369    http://rt.cpan.org/Public/Bug/Display.html?id=21770
370
371  - fills.c was failing to compile on Solaris 10 (compiler unknown)
372    http://rt.cpan.org/Public/Bug/Display.html?id=21944
373
374  - the gif_disposal and gif_user_input tags weren't being read from
375    the file correctly
376    http://rt.cpan.org/Public/Bug/Display.html?id=22192
377
378  - gif.c was failing to build under MSVC
379    http://rt.cpan.org/Ticket/Display.html?id=23922
380
381  - in some cases strings passed to the string() method were treated as
382    terminated by NUL (chr 0)
383    http://rt.cpan.org/Public/Bug/Display.html?id=21770
384
385  - on "MSWin32" perl builds we now link to -lzlib instead of -lz since
386    that's the default build name for zlib on Win32.
387    http://rt.cpan.org/Ticket/Display.html?id=23064
388
389  - search $Config{incpath} for headers too, which we should have been
390    doing all along.
391
392 Win32 font driver fixes:
393
394  - the global descent value from bounding box was the wrong sign
395    http://www.cpanforum.com/threads/3276
396
397  - if the first or last glyph overflowed the left or right side of the
398    advance width they would be clipped
399
400
401 Imager 0.54 - 14 Sep 2006
402 ===========
403
404 This is primarily a feature release:
405
406  - a new qtype value 'mixing' has been added to the scale()
407    method. This is faster than 'normal', slower than 'preview'. This
408    is based on the method used by pnmscale, and seems to produce less
409    blurry results than normal.
410    http://rt.cpan.org/Public/Bug/Display.html?id=20677
411
412  - the rubthrough() method can now render onto images with an alpha
413    channel.
414    http://rt.cpan.org/Ticket/Display.html?id=20678
415
416  - the read_multi() method now falls back to calling doing a single
417    image read via the read() method and write_multi() will now fall
418    back to calling write() if a single image is supplied. This means
419    you can simply call the read_multi() or write_multi() functions
420    without having to check if the type is formatted by that method.
421    http://rt.cpan.org/Ticket/Display.html?id=19457
422    http://rt.cpan.org/Ticket/Display.html?id=19458
423
424  - the GIF loop extension can now be written. If you don't have
425    libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you
426    should upgrade.
427    http://rt.cpan.org/Ticket/Display.html?id=21185
428
429  - getscanline() and setscanline() can now read/write palette index
430    based data from/to the image for paletted images, by setting type to
431    'index'.
432    http://rt.cpan.org/Ticket/Display.html?id=20338
433
434  - we no longer hassle you to disable GIF support
435    http://rt.cpan.org/Ticket/Display.html?id=20687
436
437  - minor documentation fixes
438
439
440 Imager 0.53 - 26 Jul 2006
441 ===========
442
443 This is a bugfix release.
444
445 Some test code was left in a code path not covered by the test
446 suite. A test was added to cover this code path and the test code was
447 removed.
448 http://rt.cpan.org/Public/Bug/Display.html?id=20705
449
450
451 Imager 0.52 - 25 Jul 2006
452 ===========
453
454 This is primarily a feature release, but contains a fair few bug
455 fixes, new features:
456
457  - ability to read and write MS Windows ICO and CUR files
458
459  - you can now add file format plugins to support new file formats
460
461  - add POD coverage tests
462
463  - setcolors() and addcolors() now accept color names and so on
464    instead of requiring Imager::Color objects.
465    http://rt.cpan.org/Ticket/Display.html?id=20056
466
467  - flood_fill() can now fill to a specified border color instead of
468    just to the area the same color as the seed.
469    http://rt.cpan.org/Ticket/Display.html?id=19618
470
471
472 Bug fixes:
473
474  - bounding_box for the T1 driver wasn't converting UTF8 to ascii when
475    calculating the advance width.
476    http://rt.cpan.org/Public/Bug/Display.html?id=20554
477
478  - bounding_box for the T1 driver wasn't including leading and
479    trailing spaces in the bounding box as the other drivers did, it also
480    produced strange results for empty strings or strings containing only
481    spaces
482
483  - when reading CMYK jpeg images they were being transferred to the
484    image object as is, producing a four channel image. It only looked ok
485    due to an old still unfixed Photoshop bug. We now convert from the
486    inverted CMYK that photoshop (and Corel for example) produce into RGB.
487    http://rt.cpan.org/Ticket/Display.html?id=20416
488
489  - reading a CYMK TIFF would result in a 4 channel image, reading any
490    image with more than 4 channels (eg. RGB with 2 alpha channels) would
491    result in an error.
492    http://rt.cpan.org/Ticket/Display.html?id=20415
493
494  - added /usr/local/include to the default include search path, since
495    we were already searching /usr/local/lib for libraries.
496
497 And various minor fixes and documentation updates.
498
499
500 Imager 0.51 - 23 Apr 2006
501 ===========
502
503  - fix a validation bug when processing JPEG EXIF data that can cause
504    a crash
505    http://rt.cpan.org/Public/Bug/Display.html?id=18496
506
507  - fix mis-processing of the src_maxx and src_maxy parameters of the
508    paste() method
509    http://rt.cpan.org/Public/Bug/Display.html?id=18712
510
511  - fix a problem in Imager's "smart" handling of the color parameter
512    to various methods.
513    http://rt.cpan.org/Public/Bug/Display.html?id=18561
514
515
516 Imager 0.50 - 29 Mar 2006
517 ===========
518
519  - CRITICAL: fixes a segmentation fault from attempting to write a 2
520    or 4 channel image to jpeg or a 2 channel image to tga where the
521    output is an in-memeory buffer.
522    http://rt.cpan.org/Public/Bug/Display.html?id=18397
523
524  - fixes an incorrect pointer parameter in the PNG code
525    http://rt.cpan.org/Public/Bug/Display.html?id=18051
526
527  - skip Inline::C tests when building in a directory with spaces
528    http://rt.cpan.org/Public/Bug/Display.html?id=18049