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