]> git.imager.perl.org - imager.git/blob - Changes
- attempt to work around the test failure at
[imager.git] / Changes
1 Imager release history.  Older releases can be found in Changes.old
2
3 Imager 0.61 - unreleased
4 ===========
5
6  - added samples/gifscale.pl, which adjusts the screen size/position tags
7    when scaling an animated gif
8    http://rt.cpan.org/Ticket/Display.html?id=27591
9
10 Bug fixes:
11
12  - correct handling of sz in matrix_transform() - this should allow
13    perspective type transformations to work now.
14    http://rt.cpan.org/Ticket/Display.html?id=29936
15
16  - prevent a cast to integer warning on x64 builds in datatypes.c
17    also fixed some other type warnings
18    https://rt.cpan.org/Ticket/Display.html?id=30204
19
20  - some sub-directory tests depended on files produced by the parent
21    directory tests
22    http://rt.cpan.org/Ticket/Display.html?id=30203
23
24  - Imager::Font::Wrap doesn't correctly set savepos
25    thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this.
26    http://rt.cpan.org/Ticket/Display.html?id=29771
27
28  - test 171 in t/t01introvert.t was failing on perls configured to
29    use long double.
30    http://rt.cpan.org/Ticket/Display.html?id=29413
31
32  - the code for the transform2() uminus operator was missing a break.
33    Added tests for better code coverage of the ops.
34    http://rt.cpan.org/Ticket/Display.html?id=29296
35
36  - the SGI RLE compression code could overflow its compression buffer
37    http://rt.cpan.org/Ticket/Display.html?id=30334
38
39  - the 32-bit output function used by the SGI code only handled values
40    under 0x10000.  This was most noticable when writing large RLE images.
41    http://rt.cpan.org/Ticket/Display.html?id=30335
42
43  - validate chan_count for chans == NULL for each of the i_gsamp()
44    implementations.
45    http://rt.cpan.org/Ticket/Display.html?id=28985
46
47  - attempt to work around the test failure at 
48    http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html
49    http://rt.cpan.org/Ticket/Display.html?id=29562
50
51 Imager 0.60 - 30 August 2007
52 ===========
53
54  - Finished/rewrote Arnar's old SGI RGB file format support, so Imager
55    now has full SGI RGB image format, including RLE and 16-bit/sample
56    images.
57    https://rt.cpan.org/Ticket/Display.html?id=8666
58
59  - logging functions are now available in the API
60
61  - applied Gabriel Vasseur's patch
62    added documentation, further tests, and support for greyscale images
63    Obviously problems are my fault :)
64    https://rt.cpan.org/Ticket/Display.html?id=28142
65
66  - the mask for ICO/CUR images is now applied as an alpha channel to
67    the returned image.  For the old behaviour, supply ico_masked => 0
68    to read() or read_multi().  This should be less confusing when
69    using Imager as a general image processor.
70    https://rt.cpan.org/Ticket/Display.html?id=29001
71
72 Bug fixes:
73
74  - in some cases it's possible for giflib/libungif to return color 
75    indexes outside the range of colors defined by the image's palette.
76    We now expand the palette to match the indexes used.
77    Thanks to Gabriel Vasseur for reporting this.
78
79  - fixed various memory leaks that could occur when failing to read png,
80    jpeg, bmp or tga files.
81
82  - to avoid confusion, channels not present in the image are returned as
83    zero by getscanline().  This has no effect on the C level i_glin()
84    and i_glinf() API functions which continue to not set the unused
85    channels.
86
87  - the convert() method now returns an image of the same sample size as
88    the source image.
89    https://rt.cpan.org/Ticket/Display.html?id=28492
90
91  - remove repeated text in Imager::Files
92    http://rt.cpan.org/Ticket/Display.html?id=27589
93
94  - be even more explicit that scale() and friends don't modify the source
95    image, but return a new image.
96    http://rt.cpan.org/Ticket/Display.html?id=28570
97
98  - improve the error message from errstr() when you try to load a font
99    for which the driver hasn't been built in Imager.
100    http://rt.cpan.org/Ticket/Display.html?id=27571
101
102  - transparency is now enabled by default when writing GIF images
103    http://rt.cpan.org/Ticket/Display.html?id=27615
104
105  - Imager would not load on Windows 98
106    http://rt.cpan.org/Ticket/Display.html?id=27653
107
108 Imager 0.59 - 14 June 2007
109 ===========
110
111 Bug fixes:
112
113  - fixes a regression introduced by the fixes for RT 11972
114    http://rt.cpan.org/Ticket/Display.html?id=27546
115
116  - cropping outside the image would return an Imager object with
117    no low-level image object, instead of returning false.
118    Fixed by: Philip Gwyn (Leolo)
119    http://rt.cpan.org/Ticket/Display.html?id=27509
120
121 Imager 0.58 - 16 May 2007
122 ===========
123
124 No significant changes from 0.57_01.
125
126 Imager 0.57_01 - 11 May 2007
127 ==============
128
129  - added to_rgb16 to produce a 16-bit/sample version of an image
130
131  - improve freetype 1.x text output efficiency
132
133 Bug fixes:
134
135  - search another place for rgb.txt, and check all the places 
136    Imager::Color checks when deciding whether to skip testing it
137    http://rt.cpan.org/Ticket/Display.html?id=26064
138
139  - use a convolution kernel size based on the stddev rather than a
140    fixed size when performing a gaussian blur
141    http://rt.cpan.org/Ticket/Display.html?id=25645
142
143  - document the difference() method's mindist parameter, and debug it.
144
145  - put the Imager release number in the Inline::C generated code to
146    regenerate Inline code when a new release of Imager is installed.
147    http://rt.cpan.org/Ticket/Display.html?id=26278
148
149  - fix rendering on alpha channel images for the FreeType 1.x driver.
150    http://rt.cpan.org/Ticket/Display.html?id=11972
151
152  - fix rendering on alpha channel images for the T1lib driver.
153    http://rt.cpan.org/Ticket/Display.html?id=11972
154
155  - reworked library probing, we can now set more than one probe
156    function for a library.  Disabled the default (non-freetype-config)
157    library probe and added an extra probe function that searches for
158    both ft2build.h and whatever it includes, and adds -I as needed.
159    Hopefully this will fix build problems like
160    http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html
161    http://rt.cpan.org/Ticket/Display.html?id=26086
162
163 Imager 0.57 - 30 Apr 2007
164 ===========
165
166 This is a maintenence release fixing a security issue in Imager.
167
168  - CRITICAL: a specially crafted compressed BMP file can cause a buffer
169    overflow in malloced memory.  There will be further discussion of
170    this issue in the ticket below.
171    http://rt.cpan.org/Ticket/Display.html?id=26811
172    CVE-2007-2459  CVE-2007-2413
173    The descriptions at cve.mitre.org varied in quality, please see the
174    ticket at rt.cpan.org for a more accurate description of the issue.
175
176 Imager 0.56 - 1 Apr 2007
177 ===========
178
179  - added support for reading 16-bit/sample PGM/PPM images
180
181  - added support for writing 16-bit/sample PGM/PPM images
182
183  - improved performance of reading PBM/PGM/PPM images
184
185  - added support for writing PBM images if the image is paletted and
186    contains only black and white
187
188  - added a new make_colors value - "mono"
189
190  - switched from the svn log Changes to a manual Changes to reduce
191    noise
192
193  - new sample code - samples/flasher.pl
194
195 Bug fixes:
196
197  - CRITICAL: the "Imager" typemap entry (not used by Imager itself)
198    was returning an image object with an extra reference, this
199    resulted in a memory leak.
200    http://rt.cpan.org/Ticket/Display.html?id=24992
201
202  - fix rendering on alpha channel images for the FreeType 2.x driver
203    http://rt.cpan.org/Ticket/Display.html?id=11972
204
205  - reading bmp files now consitently handles short reads.  You can now
206    supply a parameter to treat a short read as successful and set
207    i_incomplete
208    http://rt.cpan.org/Ticket/Display.html?id=8426
209
210  - previously, reading ASCII PBM files required spaces between samples,
211    even though the format doesn't require that
212
213  - improved documentation of the unsharpmask filter (I hope)
214    http://rt.cpan.org/Ticket/Display.html?id=25531
215
216  - force flushing of the output from i_tt_dump_names() and test output
217    in t/t35ttfont.t to prevent output from being mixed up.
218    https://rt.cpan.org/Ticket/Display.html?id=24859
219
220  - rewrite a conditional expression as an if() to hopefully work around
221    a bug in the pre-4.0 GCC Apple shipped with OS X 10.4.
222    https://rt.cpan.org/Ticket/Display.html?id=25561
223
224  - avoid Data::Dumper in regops.perl to support older releases of perl
225    https://rt.cpan.org/Ticket/Display.html?id=24391
226
227 Imager 0.55 - 16 Dec 2006
228 ===========
229
230 This is primarily a bug fix release.
231
232 Note: Test::More is now a pre-requisite for Imager and is no longer bundled.
233
234 There is one new feature:
235
236  - the Win32 font driver now supports UTF8 (RT 22166)
237    http://www.cpanforum.com/threads/3276
238    http://rt.cpan.org/Ticket/Display.html?id=22166
239
240 Several bugs were fixed:
241
242  - the string() method would not output the string "0"
243    http://rt.cpan.org/Public/Bug/Display.html?id=21770
244
245  - fills.c was failing to compile on Solaris 10 (compiler unknown)
246    http://rt.cpan.org/Public/Bug/Display.html?id=21944
247
248  - the gif_disposal and gif_user_input tags weren't being read from
249    the file correctly
250    http://rt.cpan.org/Public/Bug/Display.html?id=22192
251
252  - gif.c was failing to build under MSVC
253    http://rt.cpan.org/Ticket/Display.html?id=23922
254
255  - in some cases strings passed to the string() method were treated as
256    terminated by NUL (chr 0)
257    http://rt.cpan.org/Public/Bug/Display.html?id=21770
258
259  - on "MSWin32" perl builds we now link to -lzlib instead of -lz since
260    that's the default build name for zlib on Win32.
261    http://rt.cpan.org/Ticket/Display.html?id=23064
262
263  - search $Config{incpath} for headers too, which we should have been
264    doing all along.
265
266 Win32 font driver fixes:
267
268  - the global descent value from bounding box was the wrong sign
269    http://www.cpanforum.com/threads/3276
270
271  - if the first or last glyph overflowed the left or right side of the
272    advance width they would be clipped
273
274
275 Imager 0.54 - 14 Sep 2006
276 ===========
277
278 This is primarily a feature release:
279
280  - a new qtype value 'mixing' has been added to the scale()
281    method. This is faster than 'normal', slower than 'preview'. This
282    is based on the method used by pnmscale, and seems to produce less
283    blurry results than normal.
284    http://rt.cpan.org/Public/Bug/Display.html?id=20677
285
286  - the rubthrough() method can now render onto images with an alpha
287    channel.
288    http://rt.cpan.org/Ticket/Display.html?id=20678
289
290  - the read_multi() method now falls back to calling doing a single
291    image read via the read() method and write_multi() will now fall
292    back to calling write() if a single image is supplied. This means
293    you can simply call the read_multi() or write_multi() functions
294    without having to check if the type is formatted by that method.
295    http://rt.cpan.org/Ticket/Display.html?id=19457
296    http://rt.cpan.org/Ticket/Display.html?id=19458
297
298  - the GIF loop extension can now be written. If you don't have
299    libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you
300    should upgrade.
301    http://rt.cpan.org/Ticket/Display.html?id=21185
302
303  - getscanline() and setscanline() can now read/write palette index
304    based data from/to the image for paletted images, by setting type to
305    'index'.
306    http://rt.cpan.org/Ticket/Display.html?id=20338
307
308  - we no longer hassle you to disable GIF support
309    http://rt.cpan.org/Ticket/Display.html?id=20687
310
311  - minor documentation fixes
312
313
314 Imager 0.53 - 26 Jul 2006
315 ===========
316
317 This is a bugfix release.
318
319 Some test code was left in a code path not covered by the test
320 suite. A test was added to cover this code path and the test code was
321 removed.
322 http://rt.cpan.org/Public/Bug/Display.html?id=20705
323
324
325 Imager 0.52 - 25 Jul 2006
326 ===========
327
328 This is primarily a feature release, but contains a fair few bug
329 fixes, new features:
330
331  - ability to read and write MS Windows ICO and CUR files
332
333  - you can now add file format plugins to support new file formats
334
335  - add POD coverage tests
336
337  - setcolors() and addcolors() now accept color names and so on
338    instead of requiring Imager::Color objects.
339    http://rt.cpan.org/Ticket/Display.html?id=20056
340
341  - flood_fill() can now fill to a specified border color instead of
342    just to the area the same color as the seed.
343    http://rt.cpan.org/Ticket/Display.html?id=19618
344
345
346 Bug fixes:
347
348  - bounding_box for the T1 driver wasn't converting UTF8 to ascii when
349    calculating the advance width.
350    http://rt.cpan.org/Public/Bug/Display.html?id=20554
351
352  - bounding_box for the T1 driver wasn't including leading and
353    trailing spaces in the bounding box as the other drivers did, it also
354    produced strange results for empty strings or strings containing only
355    spaces
356
357  - when reading CMYK jpeg images they were being transferred to the
358    image object as is, producing a four channel image. It only looked ok
359    due to an old still unfixed Photoshop bug. We now convert from the
360    inverted CMYK that photoshop (and Corel for example) produce into RGB.
361    http://rt.cpan.org/Ticket/Display.html?id=20416
362
363  - reading a CYMK TIFF would result in a 4 channel image, reading any
364    image with more than 4 channels (eg. RGB with 2 alpha channels) would
365    result in an error.
366    http://rt.cpan.org/Ticket/Display.html?id=20415
367
368  - added /usr/local/include to the default include search path, since
369    we were already searching /usr/local/lib for libraries.
370
371 And various minor fixes and documentation updates.
372
373
374 Imager 0.51 - 23 Apr 2006
375 ===========
376
377  - fix a validation bug when processing JPEG EXIF data that can cause
378    a crash
379    http://rt.cpan.org/Public/Bug/Display.html?id=18496
380
381  - fix mis-processing of the src_maxx and src_maxy parameters of the
382    paste() method
383    http://rt.cpan.org/Public/Bug/Display.html?id=18712
384
385  - fix a problem in Imager's "smart" handling of the color parameter
386    to various methods.
387    http://rt.cpan.org/Public/Bug/Display.html?id=18561
388
389
390 Imager 0.50 - 29 Mar 2006
391 ===========
392
393  - CRITICAL: fixes a segmentation fault from attempting to write a 2
394    or 4 channel image to jpeg or a 2 channel image to tga where the
395    output is an in-memeory buffer.
396    http://rt.cpan.org/Public/Bug/Display.html?id=18397
397
398  - fixes an incorrect pointer parameter in the PNG code
399    http://rt.cpan.org/Public/Bug/Display.html?id=18051
400
401  - skip Inline::C tests when building in a directory with spaces
402    http://rt.cpan.org/Public/Bug/Display.html?id=18049