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