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