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