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