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