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