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