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