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