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