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