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