Commit | Line | Data |
---|---|---|
7623d340 TC |
1 | Imager release history. Older releases can be found in Changes.old |
2 | ||
c18dd26e TC |
3 | - document the return value of the filter() method. |
4 | https://rt.cpan.org/Ticket/Display.html?id=72369 | |
5 | ||
48095bd4 TC |
6 | - document i_gsamp_bits() and i_psamp_bits(). |
7 | https://rt.cpan.org/Ticket/Display.html?id=68815 | |
8 | ||
f5b90025 TC |
9 | - properly increment the Imager::Matrix2d $VERSION. |
10 | ||
35f2f9fb TC |
11 | - actually include the Imager::Test tests in the dist |
12 | ||
2fe1e4bc TC |
13 | - correctly read and write 256x256 pixel ICO files |
14 | https://rt.cpan.org/Ticket/Display.html?id=69599 | |
15 | ||
4f21e06e TC |
16 | - make the error message from read() or read_multi() when they can't |
17 | identify the file type match reality. | |
18 | https://rt.cpan.org/Ticket/Display.html?id=72475 | |
19 | ||
20 | - read() now uses $FORMATGUESS if it can't determine the file type | |
21 | based on the file header, to match read_multi(). | |
22 | ||
23 | - re-work and add tests for def_guess_type(). def_guess_type() no | |
24 | longer returns any random file extension as the file type. | |
25 | ||
4b2e59d3 TC |
26 | Imager 0.86 - 31 Oct 2011 |
27 | =========== | |
28 | ||
b8b889ba TC |
29 | - improve error reporting for W32 tests |
30 | ||
6f7a49a2 TC |
31 | Imager 0.85_02 - 24 Oct 2011 |
32 | ============== | |
a10ce62e TC |
33 | |
34 | Bug fixes: | |
35 | ||
36 | - eliminate unused i_gif_opts type (clean-up) | |
37 | https://rt.cpan.org/Ticket/Display.html?id=69245 | |
38 | ||
98e1552d TC |
39 | - fix combine=0 fill color anti-aliasing on the double/sample path |
40 | https://rt.cpan.org/Ticket/Display.html?id=71309 | |
41 | ||
42 | - make default text color non-transparent | |
43 | https://rt.cpan.org/Ticket/Display.html?id=71469 | |
44 | ||
372ba12c TC |
45 | - apply the last of the Debian unforwarded spelling fixes |
46 | https://rt.cpan.org/Ticket/Display.html?id=70656 | |
47 | ||
b7506a07 TC |
48 | - the log() method used its message parameter as a C level format |
49 | string. | |
50 | https://rt.cpan.org/Ticket/Display.html?id=71653 | |
51 | ||
cb4d223c TC |
52 | - provide our own STRLEN typemap entry for older perls. |
53 | https://rt.cpan.org/Ticket/Display.html?id=71641 | |
54 | ||
f35d1231 TC |
55 | - add extra ppport.h configuration to support older perls. |
56 | ||
954ac5d1 TC |
57 | - depend on Scalar::Util, since we use it and older perls don't have |
58 | it. | |
59 | ||
5efba0c6 TC |
60 | - add overloaded eq to Imager::Matrix2d, since older perls don't seem |
61 | to synthesize it from overloaded "". | |
62 | ||
73e3ff55 TC |
63 | - use T1_StrError() for error messages on modern libt1 |
64 | https://rt.cpan.org/Ticket/Display.html?id=69879 | |
65 | ||
66 | - actually load the font rather than just adding it to the catalog on | |
67 | creation. | |
68 | ||
69 | - Imager::Font->new now produces better error messages for the T1 | |
70 | engine. | |
71 | ||
6e938c74 TC |
72 | - the font has_chars() method now returns perl's true and false |
73 | values in list context rather than integers, which should be more | |
74 | efficient. | |
75 | https://rt.cpan.org/Ticket/Display.html?id=69158 | |
76 | ||
b934971a TC |
77 | - the btm data structure used by the flood_fill code is now |
78 | initialized more efficiently. | |
79 | https://rt.cpan.org/Ticket/Display.html?id=68994 | |
80 | ||
872def8b TC |
81 | - updated the Thanks list in README |
82 | https://rt.cpan.org/Ticket/Display.html?id=71607 | |
83 | ||
1e0418f1 TC |
84 | - check there's at least one coefficient for the convolution filter |
85 | https://rt.cpan.org/Ticket/Display.html?id=68993 | |
86 | ||
81409c5e TC |
87 | - make the APIRef synopsis ordering consistent, older versions of |
88 | perl could order it differently. | |
89 | https://rt.cpan.org/Ticket/Display.html?id=71675 | |
90 | ||
336ce474 TC |
91 | - we rely on Config.pm's d_vsnprintf as to whether we use |
92 | vsnprintf/snprintf, which is defined in the Win32 Config.pm even | |
93 | though it only has _ prefixed versions of these. Define our own | |
94 | prefixed names on Win32. | |
95 | https://rt.cpan.org/Ticket/Display.html?id=71642 | |
96 | ||
ae394c13 TC |
97 | - fix library detection with MSVC |
98 | ||
84e2cc94 TC |
99 | - search a few more library directories, so EU::MM doesn't discard |
100 | them. Hopefully fixes: | |
101 | https://rt.cpan.org/Ticket/Display.html?id=71643 | |
102 | ||
31be6e9a | 103 | Imager 0.85_01 - 10 Oct 2011 |
6d5c85a2 | 104 | ============== |
a7e32beb TC |
105 | |
106 | - add simple tests for the Imager::Test test_image generators | |
107 | ||
6d5c85a2 TC |
108 | - io_glue I/O buffering re-work: |
109 | ||
110 | - reorganize io_glue to do it's own buffering by default | |
111 | ||
112 | - the unbuffered functions are available as i_io_raw_read() (or | |
113 | raw_read() from perl) etc but are not recommended for typical | |
114 | use. | |
115 | ||
116 | - use the new i_io_peekn() when checking for file magic to avoid | |
117 | seek, allowing Imager to detect the file type and read the file | |
118 | from an unseekable stream (for formats that don't use random | |
119 | access) | |
120 | ||
121 | - added several new I/O layer API functions. | |
122 | ||
123 | - fix the TGA performance problem, most noticably on Win32 | |
124 | https://rt.cpan.org/Ticket/Display.html?id=70037 | |
125 | ||
126 | - TIFF now uses wrapper functions of the correct types to avoid casts | |
127 | https://rt.cpan.org/Ticket/Display.html?id=69912 | |
128 | ||
129 | - the callback IO object did its own buffering, controlled by the | |
130 | maxbuffer parameter supplied to the read() and write() methods. | |
131 | This buffering has been removed, to avoid redundancy with the | |
132 | common io_glue buffering. This also avoids a bug in that code | |
133 | which could rarely pass a zero length to the read callback and | |
134 | then panic about the result. | |
135 | ||
136 | - the callback IO object now tests the result of calling the close | |
137 | callback, which should return true for success. | |
138 | ||
139 | - the PNM reader did its own buffering. This buffering has been | |
140 | removed to avoid redundancy with the common io_glue buffering. | |
141 | ||
142 | - previously the read handlers for fd and callback I/O layers would | |
143 | call the underlying interface (POSIX read or your supplied callback) | |
144 | until it filled the buffer. It now only makes one call. | |
145 | ||
146 | - added public constructors for I/O layer objects (see Imager::IO) | |
147 | ||
148 | - all core file handlers now use the i_io_foo() wrappers to gain | |
149 | access to buffered I/O rather than calling the I/O layer | |
150 | callbacks directly. | |
151 | ||
152 | - all core file handlers now check for error on close. | |
153 | ||
154 | - Backward compatibility: if you hava custom file handlers, you can | |
155 | use i_io_write() etc since they're available as macros in older | |
156 | versions of Imager. | |
157 | ||
158 | - eliminate the final remnants of io_glue_commit_types(). | |
159 | ||
160 | - bump IMAGER_API_VERSION, since the above may break assumptions. | |
161 | ||
162 | - removed the long unused i_gen_reader() and i_gen_writer() utility | |
163 | functions. | |
164 | ||
0c647c9a | 165 | Imager 0.85 - 29 Aug 2011 |
6ad7e4bc TC |
166 | =========== |
167 | ||
0c647c9a TC |
168 | The main changes in the release versus 0.84 are: |
169 | ||
170 | - on 64-bit systems, 64-bit types are consistently used for image | |
171 | dimensions and co-ordinated, and for memory block sizes. | |
172 | ||
173 | - handle IFD loops in TIFF files correctly. Previously this would | |
174 | lead to an infinite loop. | |
175 | ||
6ad7e4bc TC |
176 | Bug fixes: |
177 | ||
178 | - fix the link in the getheight() entry in the method index | |
179 | ||
7ef6338c TC |
180 | Imager 0.84_02 - 22 Aug 2011 |
181 | ============== | |
182 | ||
183 | Development release, this will become 0.85 if CPAN testers is | |
184 | favourable. | |
6b7197d0 TC |
185 | |
186 | Bug fixes: | |
187 | ||
188 | - the image file limits set by set_file_limits() weren't being | |
189 | checked when reading TIFF files. | |
190 | https://rt.cpan.org/Ticket/Display.html?id=69915 | |
191 | ||
5970bd39 TC |
192 | - Provide more information about file format module load errors on a |
193 | failed image file read() or write(). | |
194 | https://rt.cpan.org/Ticket/Display.html?id=69194 | |
195 | ||
4ce3551c TC |
196 | - use TIFFReadDirectory() instead of TIFFSetDirectory() to iterate |
197 | through TIFF images, since it checks for IFD loops. | |
198 | https://rt.cpan.org/Ticket/Display.html?id=69914 | |
199 | ||
a16bca6d TC |
200 | - don't leak memory when out of range palette indexes are supplied to |
201 | setscanline(). | |
202 | https://rt.cpan.org/Ticket/Display.html?id=69242 | |
203 | ||
204 | - require a later version of CPAN::Meta to ensure JSON::PP and | |
205 | CPAN::Meta::YAML are available. | |
206 | https://rt.cpan.org/Ticket/Display.html?id=69008 | |
207 | ||
ac575c5f TC |
208 | - hoist the per-line calculations for the flines implementations, and |
209 | modernize the tests a bit. | |
210 | https://rt.cpan.org/Ticket/Display.html?id=70126 | |
211 | ||
86c8d19a TC |
212 | - detect snprintf()/vsnprintf() (cheat by using Config.pm) and use |
213 | them when available. | |
214 | https://rt.cpan.org/Ticket/Display.html?id=69147 | |
215 | ||
a3fd7df7 TC |
216 | - if t1lib failed to reinitialize it would be left as marked |
217 | initialized. | |
218 | https://rt.cpan.org/Ticket/Display.html?id=69877 | |
219 | ||
5fd542c7 TC |
220 | - update the bundled (and still modified) Devel::CheckLib |
221 | https://rt.cpan.org/Ticket/Display.html?id=69170 | |
222 | ||
fa61d195 TC |
223 | Imager 0.84_01 - 8 Aug 2011 |
224 | ============== | |
225 | ||
226 | Development release as a sanity check for the types re-work. | |
8d14daab TC |
227 | |
228 | Massive types re-work: | |
229 | ||
230 | - the type used internally for pixel co-ordinates and image sizes is | |
231 | now 64-bit on 64-bit platforms (at least sane ones). | |
232 | ||
233 | - size_t is now used consistently for memory block sizes. | |
234 | ||
235 | - since this changes the binary interface, the Imager API version has | |
236 | been incremented. Any module that uses the API will need to be | |
237 | rebuilt. In most cases that will be enough, but calls to any APIs | |
238 | that take a pointer to image sizes may need source changes. | |
239 | ||
240 | - you should be able to create very large images on 64-bit systems, | |
241 | if you have enough memory. Successfully created a 32768 x 49192 x | |
242 | 3 channel image, filled with a tiled image and scaled it. The | |
243 | unscaled image was also successfully saved to a JPEG. | |
244 | ||
245 | - check the image size before attempting to write BMP, GIF, JPEG, | |
246 | PNG, SGI, TGA, TIFF images. | |
247 | ||
248 | - correctly handle reading TGA images over 32767 pixels wide or tall. | |
249 | ||
250 | Incidental changes: | |
251 | ||
252 | - the gif_left and gif_top tags are now clamped to non-negative | |
253 | values when writing a GIF image. | |
254 | ||
255 | - removed dead callback read/write code | |
256 | ||
257 | The default maximum memory size when reading files is now 1G. | |
258 | ||
bd80e51e | 259 | Imager 0.84 - 20 Jun 2011 |
b1e66a82 TC |
260 | =========== |
261 | ||
262 | - Imager no longer inherits from Exporter (unless you're running an | |
263 | old, old perl. | |
264 | ||
92e9df65 TC |
265 | - Imager can now write progressive JPEGs (it could always read them). |
266 | https://rt.cpan.org/Ticket/Display.html?id=68691 | |
267 | ||
10ea52a3 TC |
268 | Bug fixes: |
269 | ||
270 | - re-work, document and test Imager's logging facility. | |
271 | https://rt.cpan.org/Ticket/Display.html?id=65227 | |
272 | ||
4989229f TC |
273 | - fix META.yml testing and the generated META.yml |
274 | https://rt.cpan.org/Ticket/Display.html?id=65235 | |
275 | ||
3bcba6df TC |
276 | - test and add error reporting to to_*() family methods |
277 | ||
bfe6ba3f TC |
278 | - add to_rgb_double() method. |
279 | https://rt.cpan.org/Ticket/Display.html?id=65101 | |
280 | ||
e1a42e19 TC |
281 | - Imager no longer exports anything by default |
282 | https://rt.cpan.org/Ticket/Display.html?id=65228 | |
283 | ||
6d068d36 TC |
284 | - convert colors to grayscale if the supplied (or generated) palette |
285 | contains only grays when performing error diffusion color | |
286 | translation. | |
287 | https://rt.cpan.org/Ticket/Display.html?id=68508 | |
288 | ||
59c150a4 TC |
289 | - writing a paletted image to GIF wouldn't always use the colors |
290 | supplied (or generated, eg. via make_colors => "mono"), which was | |
291 | confusing at best. | |
292 | https://rt.cpan.org/Ticket/Display.html?id=67912 | |
293 | ||
5b480b14 TC |
294 | - replace (imager|tony)@imager.perl.org in the doc, since I don't |
295 | plan to continue receiving mail at that address. | |
296 | https://rt.cpan.org/Ticket/Display.html?id=68591 | |
297 | ||
101861e2 | 298 | Imager 0.83 - 21 May 2011 |
46c21d48 TC |
299 | =========== |
300 | ||
301 | Bug fixes: | |
302 | ||
303 | - diag() the error message on failure for some TIFF tests that are | |
304 | failing on a Solaris smoker. | |
305 | http://www.cpantesters.org/cpan/report/6396db1e-8090-11e0-9682-112b785ebe45 | |
306 | ||
cd758af2 TC |
307 | Imager 0.82_01 - 17 May 2011 |
308 | ============== | |
309 | ||
310 | Dev release, in case the compose tests are too sensitive. | |
deb1a916 TC |
311 | |
312 | Bug fixes: | |
313 | ||
314 | - Imager::Font::T1 incorrectly checked for absolute filename under | |
315 | Win32. Thanks to kmx for the report and fix. | |
316 | https://rt.cpan.org/Ticket/Display.html?id=67963 | |
317 | ||
618a3282 TC |
318 | - compose() with the target, source or mask position off the top or |
319 | left of the target image didn't clip the source image correctly. | |
320 | https://rt.cpan.org/Ticket/Display.html?id=67220 | |
321 | ||
322 | - compose() now returns a useful error message on a non-positive | |
323 | opacity. | |
324 | ||
325 | - compose.im now at 100% test coverage. (As opposed to, umm, much, | |
326 | much less.) | |
327 | ||
c1d16c8f | 328 | Imager 0.82 - 14 Mar 2011 |
2368cfec TC |
329 | =========== |
330 | ||
331 | Bug fixes: | |
332 | ||
333 | - eliminate calls to i_has_format() from the test suite, since it's | |
334 | no longer a useful way to check for file format support. Eliminate | |
335 | i_has_format() from the functions exposed via XS. | |
336 | https://rt.cpan.org/Ticket/Display.html?id=65863 | |
337 | ||
7540f84a TC |
338 | - eliminate calls to note(), which isn't in the (very old) version of |
339 | Test::More we have as a pre-requisite. note() is modern enough | |
340 | that I don't feel a need to require a Test::More upgrade for it. | |
341 | https://rt.cpan.org/Ticket/Display.html?id=65864 | |
342 | ||
81984f30 TC |
343 | - skip the threads tests on Test::More 2.00_* |
344 | https://rt.cpan.org/Ticket/Display.html?id=65812 | |
345 | ||
57fc3f48 TC |
346 | - add an (unshipped) test to check Imager's internal POD links |
347 | https://rt.cpan.org/Ticket/Display.html?id=65749 | |
348 | ||
d97c8dbd TC |
349 | - improve the library detection summary |
350 | https://rt.cpan.org/Ticket/Display.html?id=9675 | |
351 | ||
c901f27d TC |
352 | - increase the version of Imager::Font::Type1 so that upgrades don't |
353 | downgrade the version in this file. | |
354 | https://rt.cpan.org/Ticket/Display.html?id=66250 | |
355 | ||
356 | - if we see an -rpath (or -R) option in $Config{lddlflags} supply | |
357 | that option for the directories that would normally go in | |
358 | LD_RUN_PATH. Typically an explicit -rpath overrides LD_RUN_PATH. | |
359 | https://rt.cpan.org/Ticket/Display.html?id=65955 | |
360 | ||
533bab3e | 361 | Imager 0.81 - 14 Feb 2011 |
416e9814 TC |
362 | =========== |
363 | ||
364 | - added coverage tests for masked images (maskimg.c @100% test coverage) | |
365 | ||
9ea78101 TC |
366 | - add hsv() method to Imager::Color |
367 | Thanks to Leolo (Philip Gwyn) | |
368 | https://rt.cpan.org/Ticket/Display.html?id=65385 | |
369 | ||
1f289f50 TC |
370 | - split libt1 Type 1 font support into a sub-module |
371 | https://rt.cpan.org/Ticket/Display.html?id=49616 (partial) | |
372 | ||
2c331f9f TC |
373 | - add a preload() class method for use in forking servers, and to |
374 | work around limitations in PAR. | |
375 | https://rt.cpan.org/Ticket/Display.html?id=65665 | |
376 | ||
416e9814 TC |
377 | Bug fixes: |
378 | ||
379 | - paletted writes to a masked image are now masked correctly. | |
380 | Revealed by new coverage tests. | |
381 | ||
130225b1 TC |
382 | - update the filter plugin documentation. |
383 | https://rt.cpan.org/Ticket/Display.html?id=56513 | |
384 | ||
4326b23a | 385 | - add the matrix() method to Imager::Matrix2d to allow creation of a |
a34dc54c TC |
386 | matrix with specified co-efficients. You can now multiple an |
387 | Imager::Matrix2d object by a 9 element array ref or a number. | |
4326b23a TC |
388 | https://rt.cpan.org/Ticket/Display.html?id=29938 |
389 | ||
9ea78101 TC |
390 | - really fix loading TTF fonts with FT2 when FT1 isn't available. |
391 | Thanks to Leolo (Philip Gwyn) | |
392 | https://rt.cpan.org/Ticket/Display.html?id=65386 | |
393 | https://rt.cpan.org/Ticket/Display.html?id=62855 | |
394 | ||
40e78f96 TC |
395 | - make sure each test script that needs testout/ creates it. |
396 | https://rt.cpan.org/Ticket/Display.html?id=65088 | |
397 | ||
afee75f6 TC |
398 | - handle a slightly different warning from libtiff 4.x |
399 | https://rt.cpan.org/Ticket/Display.html?id=65268 | |
400 | ||
52b0d318 TC |
401 | - the sat transform2() op returned an incorrect saturation. |
402 | https://rt.cpan.org/Ticket/Display.html?id=65391 | |
403 | ||
d33f20c1 | 404 | Imager 0.80 - 17 Jan 2011 |
95c08d71 TC |
405 | =========== |
406 | ||
9a5df694 TC |
407 | - added coverage tests for Imager::Fountain and Imager::Color::Float |
408 | ||
409 | - Imager is now maintained in git | |
410 | http://git.imager.perl.org/imager.git | |
411 | git://git.imager.perl.org/imager.git | |
412 | ||
95c08d71 TC |
413 | Bug fixes: |
414 | ||
415 | - images with an translucent alpha channel were not scaled correctly | |
416 | by the default (qtype=normal) scaling method. | |
417 | https://rt.cpan.org/Public/Bug/Display.html?id=63922 | |
418 | ||
34c03f04 TC |
419 | - Imager::Color::Float now translates "#FFFFFF" to white instead of |
420 | just a little darker. | |
421 | ||
9a5df694 TC |
422 | - make the default color map build algorithm "mediancut". This |
423 | changes the default color map builder for writing GIFs back to what | |
424 | it was in 0.77, reverting a performance regression. | |
0348fe07 TC |
425 | https://rt.cpan.org/Ticket/Display.html?id=64785 |
426 | ||
416e9814 TC |
427 | - handle failure to create a masked image correctly |
428 | ||
95c08d71 | 429 | Imager 0.79 - 10 Dec 2010 |
62869327 TC |
430 | =========== |
431 | ||
432 | - add Imager::Test to the POD coverage tests and document the missing | |
433 | functions. | |
434 | ||
2a2c791f TC |
435 | - the convert() method now optimizes the case where all output |
436 | channels are either 0, sourced from a single input channel or 1. | |
437 | This significantly speeds up presets like "addalpha", "green". | |
438 | https://rt.cpan.org/Ticket/Display.html?id=51254 | |
439 | ||
b5c0ab7f TC |
440 | - add wiggle.pl sample, as suggested by Dan Oppenheim. |
441 | ||
b47464c1 TC |
442 | - add the combine() method to combine channels from multiple source |
443 | images into a new image | |
444 | https://rt.cpan.org/Ticket/Display.html?id=11872 | |
445 | ||
62869327 TC |
446 | Bug fixes: |
447 | ||
448 | - treat the co-efficients for convert() as doubles instead of floats. | |
449 | ||
d67dd866 TC |
450 | - If a higher (earlier) priority font handler failed to load, that |
451 | would crash preventing loading of later font handlers. | |
9413a3f3 TC |
452 | https://rt.cpan.org/Ticket/Display.html?id=62855 |
453 | ||
a9120a5e TC |
454 | - parse defines from the options returned by pkg-config --cflags |
455 | https://rt.cpan.org/Ticket/Display.html?id=63223 | |
02f040a6 TC |
456 | |
457 | - a regen of the MANIFEST revealed that GIF and FT2 tests weren't | |
458 | included in the tarball. They are now included. | |
a9120a5e | 459 | |
893474f1 | 460 | Imager 0.78 - 4 Oct 2010 |
f5b4354e TC |
461 | =========== |
462 | ||
463 | Bug fixes: | |
464 | ||
465 | - don't access deprecated members of the png_structp. | |
466 | https://rt.cpan.org/Ticket/Display.html?id=60242 | |
467 | ||
8289f78b TC |
468 | - document that using color objects is faster than supplying colors |
469 | by name, etc. | |
470 | https://rt.cpan.org/Ticket/Display.html?id=61047 | |
471 | ||
0c3c1180 TC |
472 | - Imager::Probe now accepts array references for incpath and libpath. |
473 | https://rt.cpan.org/Ticket/Display.html?id=60244 | |
474 | ||
b6035795 | 475 | Imager 0.77_02 - 27 Sep 2010 |
aca4e30a TC |
476 | ============== |
477 | ||
95b9922f | 478 | - moved Win32, FreeType 2 font support into sub-modules. |
aca4e30a TC |
479 | https://rt.cpan.org/Ticket/Display.html?id=49616 (partial) |
480 | Uses Imager::Probe now. | |
481 | https://rt.cpan.org/Public/Bug/Display.html?id=61328 | |
482 | ||
c6683e4d TC |
483 | - tested successfully with jpeg-8b |
484 | https://rt.cpan.org/Ticket/Display.html?id=60221 | |
485 | ||
e85532b9 TC |
486 | Bug fixes: |
487 | ||
488 | - from _01: look for missing file support test files in the right | |
489 | places. | |
490 | ||
353eb6e7 TC |
491 | - flood_fill() wouldn't fill the right side of a single scan-line |
492 | fill area. | |
493 | Thanks to Nicolas Roggli for reporting this. | |
494 | ||
95b9922f TC |
495 | - flood_fill wouldn't fill to the left edge of the image if the |
496 | starting line didn't reach the left edge. | |
497 | Thanks to Nicolas Roggli for reporting this. | |
498 | ||
beb9ba23 TC |
499 | Imager 0.77_01 - 13 Sep 2010 |
500 | ============== | |
82f14556 TC |
501 | |
502 | - add each library-directory/pkgconfig/ to the pkg-config search path | |
503 | in Imager::Probe. | |
504 | Thanks to Justin Davis. | |
505 | https://rt.cpan.org/Ticket/Display.html?id=60491 | |
506 | ||
8ab27e7e TC |
507 | - moved GIF, TIFF, JPEG file handling code into sub-modules in |
508 | preparation for separate distribution. | |
ec6d8908 TC |
509 | https://rt.cpan.org/Ticket/Display.html?id=49616 (partial) |
510 | ||
173c91ba TC |
511 | - optimize filled box drawing (color, not fill) |
512 | ||
82f14556 TC |
513 | Bug fixes: |
514 | ||
515 | - Imager::Probe was calling ExtUtils::Liblist to initialize | |
516 | LD_RUN_PATH supplying an undefined value rather than the found | |
517 | directory. Thanks to Justin Davis. | |
518 | https://rt.cpan.org/Ticket/Display.html?id=60491 | |
519 | ||
b851aeeb TC |
520 | - only prepend ./ to font filenames when passing them to T1Lib and |
521 | then only when it would use its search mechanisms. | |
522 | https://rt.cpan.org/Ticket/Display.html?id=60509 | |
523 | ||
173c91ba | 524 | - fix the cache check for the X rgb.txt loader. This is typically |
cb4f51d6 TC |
525 | used for color translation on Unix-like systems, and the fix |
526 | improves performance of supplying colors by name by about 80 times. | |
527 | Test code that managed 3400 10x10 pixel boxes/second sped up to | |
528 | 25700 boxes/second. | |
b851aeeb | 529 | |
d3a96113 TC |
530 | - clarify that Imager doesn't write EXIF metadata to images. |
531 | https://rt.cpan.org/Ticket/Display.html?id=60637 | |
532 | ||
533 | - Imager::Probe can now search subdirectories under its include path. | |
534 | Used by the PNG Makefile.PL to find headers and libraries when they | |
535 | aren't in the base directory, as in cygwin. | |
536 | https://rt.cpan.org/Ticket/Display.html?id=60635 | |
537 | ||
43452432 TC |
538 | Imager 0.77 - 11 Aug 2010 |
539 | =========== | |
540 | ||
541 | I don't want Imager::File::PNG indexed as part of Imager, but forgot | |
542 | to update the META.yml before updating the version. | |
543 | ||
544 | - don't index Imager::File::PNG as part of Imager | |
545 | ||
546 | - add resources to META.yml | |
547 | ||
548 | Imager 0.76 - not released | |
120f4287 TC |
549 | =========== |
550 | ||
551 | Bug fixes: | |
552 | ||
553 | - the align_string() method would ignore a string of "0" due to a | |
554 | mis-use of C< ||= >. | |
555 | Thanks to Maurice Height for reporting this. | |
556 | https://rt.cpan.org/Ticket/Display.html?id=60199 | |
557 | ||
0e66b07f TC |
558 | Imager 0.75_03 - 09 Aug 2010 |
559 | ============== | |
560 | ||
561 | Bug fixes: | |
562 | ||
563 | - read_types() and write_types() would include png when it wasn't | |
564 | available due to a problem with the %formats tie | |
565 | ||
566 | - handle dependent libraries correctly (eg -lpng requiring -lz) in | |
567 | the code run phase of library probing. | |
568 | ||
7ac2e52e TC |
569 | Imager 0.75_02 - 07 Aug 2010 |
570 | ============== | |
571 | ||
572 | Bug fixes: | |
573 | ||
574 | - add file missing from MANIFEST, which was causing TIFF failures. | |
575 | ||
496ea64d TC |
576 | Imager 0.75_01 - 06 Aug 2010 |
577 | ============== | |
578 | ||
579 | Test release for the new PNG probe. | |
75812841 | 580 | |
a596d4f6 TC |
581 | - added the ability to read multiple-image PNM files. |
582 | Note that unlike the pbm/pgm/ppm specification this accepts mixed | |
583 | format files and allows white space padding between files. | |
584 | Thanks to Philip Gwyn (Leolo) for this patch. | |
585 | ||
1d7e3124 TC |
586 | - moved the PNG file handling code into a sub-module in preparation |
587 | for separate distribution. | |
588 | https://rt.cpan.org/Ticket/Display.html?id=49616 (partial) | |
589 | Also helps avoid complications from -I/-L compile/link options from | |
590 | other libraries. | |
591 | ||
75812841 TC |
592 | Bugs: |
593 | ||
594 | - Imager->new(data => $data) didn't try to process image file data in | |
595 | $data | |
596 | https://rt.cpan.org/Ticket/Display.html?id=58761 | |
597 | ||
b6071a43 TC |
598 | - t/t50basicoo.t no longer depends on the other tests to generate its |
599 | input files. | |
600 | https://rt.cpan.org/Ticket/Display.html?id=9798 | |
601 | Also, it wasn't testing pnm (pnm vs ppm mix-up) | |
602 | ||
a9da425a TC |
603 | - update the documentation of hardinvert to match the change in 0.62. |
604 | https://rt.cpan.org/Ticket/Display.html?id=59785 | |
605 | ||
5558f899 TC |
606 | - added hardinvertall filter which also inverts the alpha channel |
607 | (sorry for the mess) | |
608 | ||
10b85929 TC |
609 | - when probing for TIFF, set LD_RUN_PATH just as the Makefile does so |
610 | the probe can find the library for the test run. | |
611 | https://rt.cpan.org/Ticket/Display.html?id=57518 | |
612 | ||
75812841 | 613 | Imager 0.75 - 20 Jun 2010 |
b13a3ddb TC |
614 | =========== |
615 | ||
616 | - use PERL_NO_GET_CONTEXT to slightly improve performance on threaded | |
617 | perls (not measured) | |
618 | ||
46e2e4a3 TC |
619 | Bugs: |
620 | ||
8c194049 TC |
621 | - an opacity fill based on a fountain fill would segfault when |
622 | filling an 8-bit/sample image. | |
623 | ||
1c5252ed TC |
624 | - merge thickline branch polygon fix |
625 | https://rt.cpan.org/Ticket/Display.html?id=43518 | |
626 | ||
41c88ecd | 627 | Imager 0.74 - 7 May 2010 |
8d46e5da TC |
628 | =========== |
629 | ||
630 | Bug fixes: | |
631 | ||
632 | - read_multi() didn't handle a missing file format library correctly, | |
633 | aborting on failing to call i_readgif_multi_wiol() or | |
634 | i_readtiff_multi_wiol(). | |
635 | ||
5715f7c3 TC |
636 | - fix spelling errors patched by Debian |
637 | http://svn.debian.org/viewsvn/pkg-perl/trunk/libimager-perl/debian/patches/spelling.patch?revision=54839&view=markup | |
638 | ||
639 | - add an (unshipped) author test to spellcheck Imager's POD. | |
7468f3fa | 640 | |
38218f79 TC |
641 | - update the TIFF file format documentation |
642 | https://rt.cpan.org/Ticket/Display.html?id=56510 | |
643 | ||
e17da819 TC |
644 | - lib/Imager/IO.pod was written almost 4 years ago but never shipped. |
645 | ||
704f12d5 | 646 | Imager 0.73 - 15 Mar 2010 |
40068b33 TC |
647 | =========== |
648 | ||
649 | - implement outline circles, both anti-aliased and not | |
650 | https://rt.cpan.org/Ticket/Display.html?id=19755 | |
651 | ||
e958b64e TC |
652 | - a combine => "none" fill to a 1 or 3 channel image would produce |
653 | the incorrect colour. | |
654 | ||
b2db3662 TC |
655 | Imager 0.72 - 09 Dec 2009 |
656 | =========== | |
657 | ||
658 | Bump version for release, since 0.71_03 is stable with CPAN testers. | |
659 | ||
6936706b TC |
660 | Imager 0.71_03 - 5 Dec 2009 |
661 | ============== | |
662 | ||
663 | - further adjust the threads test so it only performs the tests on | |
664 | perls where it's expected to work, and only if the threads module | |
665 | can be loaded. | |
666 | ||
0750777c TC |
667 | Imager 0.71_02 - 1 Dec 2009 |
668 | ============== | |
669 | ||
48ad0e66 TC |
670 | - adjust the way we load the threads module for the threads test so |
671 | it works with non-threaded perls | |
0750777c | 672 | |
b89f0fcd | 673 | Imager 0.71_01 - 30 Nov 2009 |
e41cfe8f TC |
674 | =========== |
675 | ||
676 | Bug fixes: | |
677 | ||
678 | - use scanline oriented operations to flip images instead of pixel | |
679 | operations | |
680 | https://rt.cpan.org/Ticket/Display.html?id=39278 | |
681 | ||
682 | - use double/sample operations to flip large sample images instead of | |
683 | 8-bit sample operations. | |
684 | https://rt.cpan.org/Ticket/Display.html?id=39280 | |
685 | ||
de3ca2fd TC |
686 | - fix POD nits |
687 | https://rt.cpan.org/Ticket/Display.html?id=51874 | |
688 | ||
ffddd407 TC |
689 | - prevent double-frees when someone creates Imager objects and then |
690 | creates a thread. Note: this just handles some simple cases, | |
691 | Imager doesn't support perl threads, and isn't likely to. | |
692 | https://rt.cpan.org/Ticket/Display.html?id=52268 | |
693 | ||
3517794b | 694 | Imager 0.71 - 16 Nov 2009 |
6a3cbaef TC |
695 | =========== |
696 | ||
a16bae72 TC |
697 | - add the opacity fill type - an adaptor that modifies the opacity of |
698 | another fill. | |
699 | ||
6a3cbaef TC |
700 | Bug fixes: |
701 | ||
702 | - the conv filter now enforces that the sum of the coefficients is | |
703 | non-zero. Also, rather than skipping pixels off the edge off the | |
704 | edge of the image, the closest edge pixel is used. Previously | |
705 | dividing by the zero sum of coefficients could cause invalid | |
706 | results or runtime exceptions. | |
707 | Thanks to David Cantrell's Alpha-NetBSD CPAN test box for revealing | |
708 | this bug. | |
709 | ||
189d5775 | 710 | Imager 0.70 - 21 Sep 2009 |
2b82e731 TC |
711 | =========== |
712 | ||
713 | Bug fixes: | |
714 | ||
715 | - release image row and comments memory on all error returns in gif | |
716 | reader | |
717 | ||
718 | - handle zero length extensions, previously this would cause a null | |
719 | pointer dereference | |
720 | Thanks to Krzysztof Wojtaś for the test data and fix for this. | |
721 | ||
b3afeed5 TC |
722 | - an integer division meant that preview scaling to below 1 pixel |
723 | wide or high (which isn't too useful anyway) was calculating using | |
724 | NaNs on most platforms, and causing an exception on others. | |
725 | Thanks to David Cantrell for producing a backtrace of the crash on | |
726 | his Alpha-NetBSD CPAN test box which made it possible to track this | |
727 | down. | |
728 | ||
b1e29946 | 729 | Imager 0.69 - 08 Sep 2009 |
25f4e775 TC |
730 | =========== |
731 | ||
b1e29946 | 732 | Bug fixes: |
25f4e775 TC |
733 | |
734 | - broken test fix - was attempting to call a function skip_all, when | |
735 | that should be a parameter to plan(). | |
736 | ||
b1e29946 TC |
737 | - briefly document apidocs.perl, the tool used to build |
738 | Imager::APIRef and make some minor enhancements | |
739 | ||
740 | - various minor documentation enhancements and fixes. | |
741 | ||
5920304a | 742 | Imager 0.68 - 07 Sep 2009 |
c5f447ac TC |
743 | =========== |
744 | ||
3c252111 TC |
745 | - Imager->new(file => $filename) and other similar incantations will |
746 | load the given file. | |
747 | https://rt.cpan.org/Ticket/Display.html?id=48261 | |
748 | ||
c5f447ac TC |
749 | Bug fixes: |
750 | ||
751 | - avoid using CHECK as a label in Imager::Test | |
752 | http://nntp.x.perl.org/group/perl.cpan.testers/5220921 | |
753 | ||
0d670555 TC |
754 | - re-work most image file test files that require a library into |
755 | separate library present/not present files to remove stupidly long | |
756 | conditionals | |
757 | ||
758 | - don't treat rubthrough() outside the bounds of the target image as | |
759 | an error. | |
760 | http://nntp.x.perl.org/group/perl.cpan.testers/5185716 | |
761 | ||
8d800216 TC |
762 | Imager 0.67_01 - 02 Sep 2009 |
763 | ============== | |
500888da TC |
764 | |
765 | Bug fixes: | |
766 | ||
767 | - correct documentation of default of raw image interleave read | |
768 | parameter | |
769 | https://rt.cpan.org/Ticket/Display.html?id=42074 | |
770 | ||
771 | - add raw_ prefix to raw read parameters, though the original names | |
772 | still work. | |
773 | ||
774 | - fail the read if an invalid raw_interleave parameter is supplied | |
775 | ||
776 | - warn if no interleave or raw_interleave parameter is supplied, | |
777 | since the documented default was wrong, and incompatible with the | |
778 | write format | |
779 | ||
780 | - for reading raw images, if raw_storechannels > raw_datachannels, | |
781 | set the extra channels in the image to 0 | |
782 | ||
cd476e58 TC |
783 | - when probing for executables like freetype-config, search for .bat |
784 | and .cmd on MSWin32, as well as .exe. | |
785 | https://rt.cpan.org/Ticket/Display.html?id=49275 | |
500888da | 786 | |
f9a39263 TC |
787 | - re-work the external libraries section of README: |
788 | - list Debian and Redhat package names for each library | |
789 | - reformatting | |
790 | - update URLs | |
791 | ||
f45b774f TC |
792 | - use the new EU::MM META_MERGE facility instead of generating |
793 | META.yml from scratch | |
794 | https://rt.cpan.org/Ticket/Display.html?id=47888 | |
795 | ||
d6b51d8c TC |
796 | - use Devel::CheckLib (bundled, modified) to check which release of |
797 | libtiff is installed and reject 3.9.0 | |
78645bd4 TC |
798 | http://bugzilla.maptools.org/show_bug.cgi?id=2088 |
799 | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543079 | |
d6b51d8c | 800 | |
249af030 TC |
801 | Imager 0.67 - 12 Dec 2008 |
802 | =========== | |
803 | ||
804 | Bug fixes: | |
805 | ||
806 | - fix a packaging error | |
807 | ||
cca21862 | 808 | Imager 0.66 - 12 Dec 2008 |
3c8fee33 TC |
809 | =========== |
810 | ||
6b22ba84 TC |
811 | - 24-bit color .ICO/.CUR files can now be read. |
812 | ||
3c8fee33 TC |
813 | Bug fixes: |
814 | ||
6b22ba84 TC |
815 | - an optimization skipping 0 src alpha values could cause the |
816 | rubthrough() to read past the end of a buffer. | |
817 | http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1509184.html | |
818 | ||
5c0d0ddf TC |
819 | - corrected a reference leak where writing GIFs would leak memory. |
820 | This could also happen calling to_paletted(). | |
821 | Also documented the underlying long existing feature where the | |
822 | colors parameter is filled with the generated color table and added | |
823 | tests for it. | |
3c8fee33 TC |
824 | http://rt.cpan.org/Ticket/Display.html?id=41028 |
825 | ||
8e7f5809 TC |
826 | - write out the image size in bytes field of a BMP correctly. |
827 | http://rt.cpan.org/Ticket/Display.html?id=41406 | |
828 | ||
c586eb58 TC |
829 | - add limited tests for Imager::ExtUtils |
830 | ||
831 | - make Imager::ExtUtils->includes use an absolute path, since | |
832 | a relative path could cause failures using Inline::C. | |
833 | http://rt.cpan.org/Ticket/Display.html?id=37353 | |
834 | ||
6b22ba84 TC |
835 | - re-arrange the POD for Imager::Font::BBox: |
836 | - mark total_width(), pos_width(), end_offset() obsolete, since | |
837 | they're mostly for backwards compatibility | |
838 | - group width methods and height methods | |
839 | https://rt.cpan.org/Ticket/Display.html?id=39999 | |
17d9fe35 | 840 | |
0727e3f5 | 841 | Imager 0.65 - 20 May 2008 |
546ea21c TC |
842 | =========== |
843 | ||
844 | Bug fixes: | |
845 | ||
846 | - In some cases when an error occurs reading those parts of a JPEG | |
847 | file after the image the scan-line buffer could be freed a second | |
848 | time. In cases where the the error occured while reading the image | |
849 | data it's possible that the buffer could have leaked. | |
850 | Thanks to Gabriel Vasseur for reporting this and help in tracking | |
851 | it down. | |
852 | ||
43b2b326 TC |
853 | - the gif_screen_height tag was overriding the screen width and being |
854 | ignored for the screen height when present. | |
855 | https://rt.cpan.org/Public/Bug/Display.html?id=35568 | |
856 | ||
e02d22d2 | 857 | Imager 0.64 - 23 April 2008 |
de470892 TC |
858 | =========== |
859 | ||
e02d22d2 TC |
860 | This is a bug fix release. This includes a fix for a possible |
861 | security issue. | |
862 | ||
de470892 TC |
863 | Bug fixes: |
864 | ||
e02d22d2 TC |
865 | - Possible security issue: The floating point sample path for image |
866 | based fills had a buffer overflow. This would overwrite the end of | |
867 | a malloc()ed buffer with double precision floats. | |
868 | http://rt.cpan.org/Ticket/Display.html?id=35324 | |
6912d85a | 869 | CVE-2008-1928 |
e02d22d2 | 870 | |
de470892 TC |
871 | - check that the result of fileno($fh) is defined rather than simply |
872 | true when read() or write() is supplied with an fh parameter. | |
873 | http://rt.cpan.org/Ticket/Display.html?id=35139 | |
874 | ||
875 | - i_scale_axis() wasn't checking the result of i_img_new_ch() | |
876 | resulting in a SIGSEGV when attempting to scale an image to a size | |
877 | too large to fit in memory. This is a NULL pointer access issue, | |
878 | not a buffer overflow. | |
879 | Added a check for the failure. | |
880 | scale_calculate() (and hence scale()) will now fail if any of the | |
881 | scale size parameters are a reference. | |
882 | http://rt.cpan.org/Ticket/Display.html?id=35172 | |
883 | ||
04f85f63 TC |
884 | - Regression: filling a greyscale image with a hatch used the wrong |
885 | color channels from the supplied fg/bg colors. | |
886 | https://rt.cpan.org/Ticket/Display.html?id=35278 | |
887 | ||
a256aec5 TC |
888 | - fixed a related problem for image fills. |
889 | ||
49240201 | 890 | Imager 0.63 - 7 April 2008 |
33b0ffa6 TC |
891 | =========== |
892 | ||
242d7497 TC |
893 | This release primarily contains changes to improve ease of use - |
894 | rather than you having to convert images to the appropriate number of | |
895 | channels, Imager handles it internally. How to handle drawing colors | |
896 | and the default combine mode is a thornier problem left for some other | |
897 | release. | |
898 | ||
d1555273 TC |
899 | - the font libraries are now only initialized when needed. |
900 | http://rt.cpan.org/Ticket/Display.html?id=28825 | |
901 | ||
9b1ec2b8 TC |
902 | - moved the imtoc.perl code into Imager::Preprocess |
903 | ||
904 | - paste() and rubthrough() now adapt the source image data to the | |
905 | destination, so you can now safely paste/rubthrough from greyscale | |
906 | images to color images or back, or from alpha channel images to | |
907 | noalpha channels or back. | |
908 | https://rt.cpan.org/Ticket/Display.html?id=30908 | |
909 | ||
910 | - rubthrough() now falls back to pasting when the source doesn't have | |
911 | an alpha channel. This effectively treats the source as having a | |
912 | max alpha channel, the right thing to do. | |
913 | http://rt.cpan.org/Ticket/Display.html?id=29944 | |
914 | ||
915 | - re-worked most of the area filling code to use a common set of | |
916 | functions when filling. | |
917 | Corrected normal combine mode. | |
918 | Rewrote most of the combine modes to match the way the SVG draft | |
919 | defines them with respect to a translucent source and destination. | |
920 | Added tests for translucent source and destination. | |
921 | Added tests to check 8-bit/sample and double/sample combines work | |
922 | similarly. | |
923 | https://rt.cpan.org/Ticket/Display.html?id=29879 | |
924 | ||
07d9c639 TC |
925 | - writing a 2 or 4 channel image to a JPEG file will now write that |
926 | image as if composited against a background, black by default, | |
927 | overridable with the i_background tag/parameter. | |
6e4af7d4 TC |
928 | https://rt.cpan.org/Ticket/Display.html?id=29876 |
929 | ||
07d9c639 TC |
930 | - writing a 2 or 4 channel image to a PGM/PPM file will now write |
931 | that image as if composited against a background, black by default, | |
fa90de94 TC |
932 | overridable with the i_background tag/parameter. |
933 | http://rt.cpan.org/Ticket/Display.html?id=30074 | |
934 | ||
07d9c639 TC |
935 | - writing a 2 or 4 channel image to a BMP file will now write that |
936 | image as if composited against a background, black by default, | |
937 | overridable with the i_background tag/parameter. | |
938 | http://rt.cpan.org/Ticket/Display.html?id=30075 | |
939 | ||
33b0ffa6 TC |
940 | Bug fixes: |
941 | ||
942 | - Imager::Matrix2d->translate() now only requires one of the x or y | |
943 | parameters. | |
944 | http://rt.cpan.org/Ticket/Display.html?id=29937 | |
945 | ||
2757bad0 TC |
946 | - mixing qtype scaling now sets all channels of a pixel to zero if |
947 | the pixel has zero coverage (zero alpha). This should produce more | |
948 | compressible output files. | |
949 | http://rt.cpan.org/Ticket/Display.html?id=32324 | |
950 | ||
3da08517 TC |
951 | - removed the pointless #! line from lib/Imager/Font/Wrap.pm |
952 | Noticed when I saw: | |
953 | https://bugzilla.redhat.com/show_bug.cgi?id=166254 | |
954 | I'm not changing the #! lines of the sample code, since it's sample | |
955 | code, not intended for installation. | |
956 | http://rt.cpan.org/Ticket/Display.html?id=33408 | |
957 | ||
242d7497 TC |
958 | - some TGA images weren't being detected correctly as TGA images |
959 | https://rt.cpan.org/Ticket/Display.html?id=32925 | |
960 | ||
961 | - handling of the left-over bit for 16-bit/pixel TGA images has been | |
962 | changed to match the behaviour of the GIMP. Previously the bit | |
963 | being set was treated as an opaque pixel, but one user reported a | |
964 | problem with loading such an image. I haven't been able to find any | |
965 | tools beyond the GIMP that handle alpha-channel 16-bit TGAs, so | |
966 | I'll match it's behaviour. See issue 114913 in the GIMP's | |
967 | bugzilla. | |
968 | http://rt.cpan.org/Ticket/Display.html?id=32926 | |
969 | ||
5daa9d34 | 970 | Imager 0.62 - 10 December 2007 |
ac8138b0 TC |
971 | =========== |
972 | ||
d8e0c3ba TC |
973 | - Makefile.PL now expands ~/path supplied to --incpath or --libpath |
974 | to /path under your home directory. | |
975 | http://rt.cpan.org/Ticket/Display.html?id=29484 | |
976 | ||
50ff958e TC |
977 | - the old dynaload code used Mach API functions to load dynamic |
978 | libraries on Mac OS X. These APIs have been deprecated in OS X | |
979 | 10.5 and were causing some build problems. | |
980 | So henceforth Imager uses the dlopen() family of functions, and you | |
981 | will need version 10.3 or later of OS X. | |
982 | ||
3309187a TC |
983 | - added the det() function to the transform2() engine. |
984 | added the sample quad_to_square.pl | |
985 | Courtesy Richard Fairhurst. | |
986 | http://rt.cpan.org/Ticket/Display.html?id=31244 | |
987 | ||
ac8138b0 TC |
988 | Bug fixes: |
989 | ||
990 | - samples/gifscale.pl sourced the base value for gif_top from | |
991 | gif_left. | |
992 | Thanks to Eleneldil G. Arilou for pointing this out. | |
993 | ||
678a9a65 TC |
994 | - t/t82inline.t no longer loads B at runtime, to work around a bug |
995 | in some 5.005_0[45] installations. | |
996 | http://rt.cpan.org/Ticket/Display.html?id=30508 | |
997 | ||
998 | - work around Module::Depends::Intrusive bug #21229 | |
999 | http://rt.cpan.org/Ticket/Display.html?id=30520 | |
ac8138b0 | 1000 | |
bea65b1f TC |
1001 | - the hardinvert filter no-longer inverts the alpha channel. |
1002 | http://rt.cpan.org/Ticket/Display.html?id=30002 | |
1003 | ||
1004 | - the hardinvert filter now supports large samples | |
1005 | ||
b7809486 | 1006 | Imager 0.61_02 - 28 November 2007 |
f74e6efc | 1007 | ============== |
874c55db | 1008 | |
bd8052a6 TC |
1009 | - major TIFF support re-work |
1010 | http://rt.cpan.org/Ticket/Display.html?id=20329 | |
1011 | ||
1012 | - added a C level image interface for accessing samples from 1-32 | |
1013 | bits, exposed this at the perl level in getsamples() | |
1014 | ||
1015 | - the conv filter now works at floating point precision for high bit | |
1016 | images | |
1017 | ||
1018 | - added is_bilevel method to test whether an image should be written as | |
1019 | a bilevel image if the image format supports it. | |
1020 | ||
1021 | - added -log-stderr as an Imager import list option | |
1022 | ||
1023 | - added some important types to Imager::APIRef | |
1024 | ||
1025 | - added test_image_double() to Imager::Test | |
1026 | ||
874c55db TC |
1027 | Bug fixes: |
1028 | ||
1029 | - Imager::Fountain couldn't read GIMP gradient files with 10 or more | |
1030 | segments | |
1031 | ||
1032 | - the scale() method with qtype mixing now handles images with an | |
1033 | alpha channel correctly. | |
1034 | ||
8d17eae9 TC |
1035 | - fixed a broken link from the "animated GIF" entry in the concept index. |
1036 | Thanks to Slaven Rezic. | |
1037 | http://rt.cpan.org/Ticket/Display.html?id=30889 | |
1038 | ||
d3bf4eaf TC |
1039 | - on some perl's the infix expression parser test would fail due to |
1040 | actions in the grammar returning false. Made sure all actions return | |
1041 | a true value. | |
8b96ad6b TC |
1042 | Thanks to Richard Fairhurst for spending a lot of time in tracking |
1043 | down this problem. | |
680c329d | 1044 | http://rt.cpan.org/Public/Bug/Display.html?id=29562 |
d3bf4eaf | 1045 | |
d06f6707 | 1046 | Imager 0.61 - 5 November 2007 |
1cfa190e TC |
1047 | =========== |
1048 | ||
1049 | - added samples/gifscale.pl, which adjusts the screen size/position tags | |
1050 | when scaling an animated gif | |
1051 | http://rt.cpan.org/Ticket/Display.html?id=27591 | |
1052 | ||
8a2cd317 TC |
1053 | Bug fixes: |
1054 | ||
e7ac18bd TC |
1055 | - correct handling of sz in matrix_transform() - this should allow |
1056 | perspective type transformations to work now. | |
1057 | http://rt.cpan.org/Ticket/Display.html?id=29936 | |
1058 | ||
8a2cd317 TC |
1059 | - prevent a cast to integer warning on x64 builds in datatypes.c |
1060 | also fixed some other type warnings | |
1061 | https://rt.cpan.org/Ticket/Display.html?id=30204 | |
1062 | ||
9188b23e TC |
1063 | - some sub-directory tests depended on files produced by the parent |
1064 | directory tests | |
1065 | http://rt.cpan.org/Ticket/Display.html?id=30203 | |
1066 | ||
7febff1d TC |
1067 | - Imager::Font::Wrap doesn't correctly set savepos |
1068 | thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this. | |
1069 | http://rt.cpan.org/Ticket/Display.html?id=29771 | |
1070 | ||
76411e99 TC |
1071 | - test 171 in t/t01introvert.t was failing on perls configured to |
1072 | use long double. | |
1073 | http://rt.cpan.org/Ticket/Display.html?id=29413 | |
1074 | ||
3f29de50 TC |
1075 | - the code for the transform2() uminus operator was missing a break. |
1076 | Added tests for better code coverage of the ops. | |
1077 | http://rt.cpan.org/Ticket/Display.html?id=29296 | |
1078 | ||
ed107438 TC |
1079 | - the SGI RLE compression code could overflow its compression buffer |
1080 | http://rt.cpan.org/Ticket/Display.html?id=30334 | |
1081 | ||
1082 | - the 32-bit output function used by the SGI code only handled values | |
1083 | under 0x10000. This was most noticable when writing large RLE images. | |
1084 | http://rt.cpan.org/Ticket/Display.html?id=30335 | |
1085 | ||
c7481ae1 TC |
1086 | - validate chan_count for chans == NULL for each of the i_gsamp() |
1087 | implementations. | |
1088 | http://rt.cpan.org/Ticket/Display.html?id=28985 | |
1089 | ||
ff37fc3f TC |
1090 | - attempt to work around the test failure at |
1091 | http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html | |
1092 | http://rt.cpan.org/Ticket/Display.html?id=29562 | |
1093 | ||
f245645a TC |
1094 | - improve the error messages produced when attempting to read or write |
1095 | an unknown image file format. | |
1096 | http://rt.cpan.org/Ticket/Display.html?id=30103 | |
1097 | ||
333d7485 TC |
1098 | - improve the transform2() documentation |
1099 | http://rt.cpan.org/Ticket/Display.html?id=29267 | |
1100 | ||
3b115720 TC |
1101 | - correctly generate the author key in META.yml |
1102 | http://rt.cpan.org/Ticket/Display.html?id=30377 | |
1103 | ||
13c9a303 TC |
1104 | - correctly blend a rotated (or matrix_transformed()) image when |
1105 | performing interpolation in the presence of an alpha channel. | |
8a071022 TC |
1106 | Also corrected the centring of the rotated image on the output |
1107 | image. | |
13c9a303 | 1108 | |
0e622083 | 1109 | Imager 0.60 - 30 August 2007 |
bcff4dd9 TC |
1110 | =========== |
1111 | ||
d5477d3d TC |
1112 | - Finished/rewrote Arnar's old SGI RGB file format support, so Imager |
1113 | now has full SGI RGB image format, including RLE and 16-bit/sample | |
1114 | images. | |
1115 | https://rt.cpan.org/Ticket/Display.html?id=8666 | |
1116 | ||
1117 | - logging functions are now available in the API | |
1118 | ||
a60905e4 TC |
1119 | - applied Gabriel Vasseur's patch |
1120 | added documentation, further tests, and support for greyscale images | |
1121 | Obviously problems are my fault :) | |
1122 | https://rt.cpan.org/Ticket/Display.html?id=28142 | |
1123 | ||
413dc198 TC |
1124 | - the mask for ICO/CUR images is now applied as an alpha channel to |
1125 | the returned image. For the old behaviour, supply ico_masked => 0 | |
1126 | to read() or read_multi(). This should be less confusing when | |
1127 | using Imager as a general image processor. | |
1128 | https://rt.cpan.org/Ticket/Display.html?id=29001 | |
1129 | ||
bcff4dd9 TC |
1130 | Bug fixes: |
1131 | ||
1132 | - in some cases it's possible for giflib/libungif to return color | |
1133 | indexes outside the range of colors defined by the image's palette. | |
1134 | We now expand the palette to match the indexes used. | |
1135 | Thanks to Gabriel Vasseur for reporting this. | |
1136 | ||
02576e8d TC |
1137 | - fixed various memory leaks that could occur when failing to read png, |
1138 | jpeg, bmp or tga files. | |
1139 | ||
b3aa972f TC |
1140 | - to avoid confusion, channels not present in the image are returned as |
1141 | zero by getscanline(). This has no effect on the C level i_glin() | |
1142 | and i_glinf() API functions which continue to not set the unused | |
1143 | channels. | |
1144 | ||
d5477d3d TC |
1145 | - the convert() method now returns an image of the same sample size as |
1146 | the source image. | |
1147 | https://rt.cpan.org/Ticket/Display.html?id=28492 | |
1148 | ||
baa880ef TC |
1149 | - remove repeated text in Imager::Files |
1150 | http://rt.cpan.org/Ticket/Display.html?id=27589 | |
1151 | ||
1152 | - be even more explicit that scale() and friends don't modify the source | |
1153 | image, but return a new image. | |
1154 | http://rt.cpan.org/Ticket/Display.html?id=28570 | |
1155 | ||
0561d49c TC |
1156 | - improve the error message from errstr() when you try to load a font |
1157 | for which the driver hasn't been built in Imager. | |
1158 | http://rt.cpan.org/Ticket/Display.html?id=27571 | |
1159 | ||
d8a39ce0 TC |
1160 | - transparency is now enabled by default when writing GIF images |
1161 | http://rt.cpan.org/Ticket/Display.html?id=27615 | |
1162 | ||
5730d6e7 TC |
1163 | - Imager would not load on Windows 98 |
1164 | http://rt.cpan.org/Ticket/Display.html?id=27653 | |
1165 | ||
b4996113 | 1166 | Imager 0.59 - 14 June 2007 |
e6e94ab0 TC |
1167 | =========== |
1168 | ||
1169 | Bug fixes: | |
1170 | ||
1171 | - fixes a regression introduced by the fixes for RT 11972 | |
1172 | http://rt.cpan.org/Ticket/Display.html?id=27546 | |
1173 | ||
9fc9d0ca TC |
1174 | - cropping outside the image would return an Imager object with |
1175 | no low-level image object, instead of returning false. | |
1176 | Fixed by: Philip Gwyn (Leolo) | |
1177 | http://rt.cpan.org/Ticket/Display.html?id=27509 | |
1178 | ||
7e7508dd TC |
1179 | Imager 0.58 - 16 May 2007 |
1180 | =========== | |
1181 | ||
1182 | No significant changes from 0.57_01. | |
1183 | ||
1970a2c7 TC |
1184 | Imager 0.57_01 - 11 May 2007 |
1185 | ============== | |
d034a178 | 1186 | |
f8e36694 TC |
1187 | - added to_rgb16 to produce a 16-bit/sample version of an image |
1188 | ||
95b2bff4 TC |
1189 | - improve freetype 1.x text output efficiency |
1190 | ||
d034a178 TC |
1191 | Bug fixes: |
1192 | ||
1193 | - search another place for rgb.txt, and check all the places | |
1194 | Imager::Color checks when deciding whether to skip testing it | |
1195 | http://rt.cpan.org/Ticket/Display.html?id=26064 | |
1196 | ||
73962964 TC |
1197 | - use a convolution kernel size based on the stddev rather than a |
1198 | fixed size when performing a gaussian blur | |
1199 | http://rt.cpan.org/Ticket/Display.html?id=25645 | |
1200 | ||
01b84320 TC |
1201 | - document the difference() method's mindist parameter, and debug it. |
1202 | ||
7e7508dd | 1203 | - put the Imager release number in the Inline::C generated code to |
22f9ca48 TC |
1204 | regenerate Inline code when a new release of Imager is installed. |
1205 | http://rt.cpan.org/Ticket/Display.html?id=26278 | |
1206 | ||
fa16b6c6 TC |
1207 | - fix rendering on alpha channel images for the FreeType 1.x driver. |
1208 | http://rt.cpan.org/Ticket/Display.html?id=11972 | |
1209 | ||
4c84ccfb TC |
1210 | - fix rendering on alpha channel images for the T1lib driver. |
1211 | http://rt.cpan.org/Ticket/Display.html?id=11972 | |
1212 | ||
1fe8316b TC |
1213 | - reworked library probing, we can now set more than one probe |
1214 | function for a library. Disabled the default (non-freetype-config) | |
1215 | library probe and added an extra probe function that searches for | |
1216 | both ft2build.h and whatever it includes, and adds -I as needed. | |
1217 | Hopefully this will fix build problems like | |
1218 | http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html | |
1219 | http://rt.cpan.org/Ticket/Display.html?id=26086 | |
1220 | ||
bb5712de TC |
1221 | Imager 0.57 - 30 Apr 2007 |
1222 | =========== | |
1223 | ||
1224 | This is a maintenence release fixing a security issue in Imager. | |
1225 | ||
1226 | - CRITICAL: a specially crafted compressed BMP file can cause a buffer | |
1227 | overflow in malloced memory. There will be further discussion of | |
1228 | this issue in the ticket below. | |
1229 | http://rt.cpan.org/Ticket/Display.html?id=26811 | |
7e7508dd TC |
1230 | CVE-2007-2459 CVE-2007-2413 |
1231 | The descriptions at cve.mitre.org varied in quality, please see the | |
1232 | ticket at rt.cpan.org for a more accurate description of the issue. | |
bb5712de | 1233 | |
d034a178 | 1234 | Imager 0.56 - 1 Apr 2007 |
7623d340 TC |
1235 | =========== |
1236 | ||
1237 | - added support for reading 16-bit/sample PGM/PPM images | |
1238 | ||
1239 | - added support for writing 16-bit/sample PGM/PPM images | |
1240 | ||
1241 | - improved performance of reading PBM/PGM/PPM images | |
1242 | ||
1243 | - added support for writing PBM images if the image is paletted and | |
1244 | contains only black and white | |
1245 | ||
1246 | - added a new make_colors value - "mono" | |
1247 | ||
1248 | - switched from the svn log Changes to a manual Changes to reduce | |
1249 | noise | |
1250 | ||
1225d272 TC |
1251 | - new sample code - samples/flasher.pl |
1252 | ||
7623d340 TC |
1253 | Bug fixes: |
1254 | ||
1255 | - CRITICAL: the "Imager" typemap entry (not used by Imager itself) | |
1256 | was returning an image object with an extra reference, this | |
1257 | resulted in a memory leak. | |
1258 | http://rt.cpan.org/Ticket/Display.html?id=24992 | |
1259 | ||
1260 | - fix rendering on alpha channel images for the FreeType 2.x driver | |
1261 | http://rt.cpan.org/Ticket/Display.html?id=11972 | |
1262 | ||
1263 | - reading bmp files now consitently handles short reads. You can now | |
1264 | supply a parameter to treat a short read as successful and set | |
1265 | i_incomplete | |
1266 | http://rt.cpan.org/Ticket/Display.html?id=8426 | |
1267 | ||
1268 | - previously, reading ASCII PBM files required spaces between samples, | |
1269 | even though the format doesn't require that | |
1270 | ||
1225d272 TC |
1271 | - improved documentation of the unsharpmask filter (I hope) |
1272 | http://rt.cpan.org/Ticket/Display.html?id=25531 | |
1273 | ||
1274 | - force flushing of the output from i_tt_dump_names() and test output | |
1275 | in t/t35ttfont.t to prevent output from being mixed up. | |
1276 | https://rt.cpan.org/Ticket/Display.html?id=24859 | |
1277 | ||
1278 | - rewrite a conditional expression as an if() to hopefully work around | |
1279 | a bug in the pre-4.0 GCC Apple shipped with OS X 10.4. | |
1280 | https://rt.cpan.org/Ticket/Display.html?id=25561 | |
1281 | ||
1282 | - avoid Data::Dumper in regops.perl to support older releases of perl | |
1283 | https://rt.cpan.org/Ticket/Display.html?id=24391 | |
1284 | ||
7623d340 TC |
1285 | Imager 0.55 - 16 Dec 2006 |
1286 | =========== | |
1287 | ||
1288 | This is primarily a bug fix release. | |
1289 | ||
1290 | Note: Test::More is now a pre-requisite for Imager and is no longer bundled. | |
1291 | ||
1292 | There is one new feature: | |
1293 | ||
1294 | - the Win32 font driver now supports UTF8 (RT 22166) | |
1295 | http://www.cpanforum.com/threads/3276 | |
1296 | http://rt.cpan.org/Ticket/Display.html?id=22166 | |
1297 | ||
1298 | Several bugs were fixed: | |
1299 | ||
1300 | - the string() method would not output the string "0" | |
1301 | http://rt.cpan.org/Public/Bug/Display.html?id=21770 | |
1302 | ||
1303 | - fills.c was failing to compile on Solaris 10 (compiler unknown) | |
1304 | http://rt.cpan.org/Public/Bug/Display.html?id=21944 | |
1305 | ||
1306 | - the gif_disposal and gif_user_input tags weren't being read from | |
1307 | the file correctly | |
1308 | http://rt.cpan.org/Public/Bug/Display.html?id=22192 | |
1309 | ||
1310 | - gif.c was failing to build under MSVC | |
1311 | http://rt.cpan.org/Ticket/Display.html?id=23922 | |
1312 | ||
1313 | - in some cases strings passed to the string() method were treated as | |
1314 | terminated by NUL (chr 0) | |
1315 | http://rt.cpan.org/Public/Bug/Display.html?id=21770 | |
1316 | ||
1317 | - on "MSWin32" perl builds we now link to -lzlib instead of -lz since | |
1318 | that's the default build name for zlib on Win32. | |
1319 | http://rt.cpan.org/Ticket/Display.html?id=23064 | |
1320 | ||
1321 | - search $Config{incpath} for headers too, which we should have been | |
1322 | doing all along. | |
1323 | ||
1324 | Win32 font driver fixes: | |
1325 | ||
1326 | - the global descent value from bounding box was the wrong sign | |
1327 | http://www.cpanforum.com/threads/3276 | |
1328 | ||
1329 | - if the first or last glyph overflowed the left or right side of the | |
1330 | advance width they would be clipped | |
1331 | ||
1332 | ||
1333 | Imager 0.54 - 14 Sep 2006 | |
1334 | =========== | |
1335 | ||
1336 | This is primarily a feature release: | |
1337 | ||
1338 | - a new qtype value 'mixing' has been added to the scale() | |
1339 | method. This is faster than 'normal', slower than 'preview'. This | |
1340 | is based on the method used by pnmscale, and seems to produce less | |
1341 | blurry results than normal. | |
1342 | http://rt.cpan.org/Public/Bug/Display.html?id=20677 | |
1343 | ||
1344 | - the rubthrough() method can now render onto images with an alpha | |
1345 | channel. | |
1346 | http://rt.cpan.org/Ticket/Display.html?id=20678 | |
1347 | ||
1348 | - the read_multi() method now falls back to calling doing a single | |
1349 | image read via the read() method and write_multi() will now fall | |
1350 | back to calling write() if a single image is supplied. This means | |
1351 | you can simply call the read_multi() or write_multi() functions | |
1352 | without having to check if the type is formatted by that method. | |
1353 | http://rt.cpan.org/Ticket/Display.html?id=19457 | |
1354 | http://rt.cpan.org/Ticket/Display.html?id=19458 | |
1355 | ||
1356 | - the GIF loop extension can now be written. If you don't have | |
1357 | libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you | |
1358 | should upgrade. | |
1359 | http://rt.cpan.org/Ticket/Display.html?id=21185 | |
1360 | ||
1361 | - getscanline() and setscanline() can now read/write palette index | |
1362 | based data from/to the image for paletted images, by setting type to | |
1363 | 'index'. | |
1364 | http://rt.cpan.org/Ticket/Display.html?id=20338 | |
1365 | ||
1366 | - we no longer hassle you to disable GIF support | |
1367 | http://rt.cpan.org/Ticket/Display.html?id=20687 | |
1368 | ||
1369 | - minor documentation fixes | |
1370 | ||
1371 | ||
1372 | Imager 0.53 - 26 Jul 2006 | |
1373 | =========== | |
1374 | ||
1375 | This is a bugfix release. | |
1376 | ||
1377 | Some test code was left in a code path not covered by the test | |
1378 | suite. A test was added to cover this code path and the test code was | |
1379 | removed. | |
1380 | http://rt.cpan.org/Public/Bug/Display.html?id=20705 | |
1381 | ||
1382 | ||
1383 | Imager 0.52 - 25 Jul 2006 | |
1384 | =========== | |
1385 | ||
1386 | This is primarily a feature release, but contains a fair few bug | |
1387 | fixes, new features: | |
1388 | ||
1389 | - ability to read and write MS Windows ICO and CUR files | |
1390 | ||
1391 | - you can now add file format plugins to support new file formats | |
1392 | ||
1393 | - add POD coverage tests | |
1394 | ||
1395 | - setcolors() and addcolors() now accept color names and so on | |
1396 | instead of requiring Imager::Color objects. | |
1397 | http://rt.cpan.org/Ticket/Display.html?id=20056 | |
1398 | ||
1399 | - flood_fill() can now fill to a specified border color instead of | |
1400 | just to the area the same color as the seed. | |
1401 | http://rt.cpan.org/Ticket/Display.html?id=19618 | |
1402 | ||
1403 | ||
1404 | Bug fixes: | |
1405 | ||
1406 | - bounding_box for the T1 driver wasn't converting UTF8 to ascii when | |
1407 | calculating the advance width. | |
1408 | http://rt.cpan.org/Public/Bug/Display.html?id=20554 | |
1409 | ||
1410 | - bounding_box for the T1 driver wasn't including leading and | |
1411 | trailing spaces in the bounding box as the other drivers did, it also | |
1412 | produced strange results for empty strings or strings containing only | |
1413 | spaces | |
1414 | ||
1415 | - when reading CMYK jpeg images they were being transferred to the | |
1416 | image object as is, producing a four channel image. It only looked ok | |
1417 | due to an old still unfixed Photoshop bug. We now convert from the | |
1418 | inverted CMYK that photoshop (and Corel for example) produce into RGB. | |
1419 | http://rt.cpan.org/Ticket/Display.html?id=20416 | |
1420 | ||
1421 | - reading a CYMK TIFF would result in a 4 channel image, reading any | |
1422 | image with more than 4 channels (eg. RGB with 2 alpha channels) would | |
1423 | result in an error. | |
1424 | http://rt.cpan.org/Ticket/Display.html?id=20415 | |
1425 | ||
1426 | - added /usr/local/include to the default include search path, since | |
1427 | we were already searching /usr/local/lib for libraries. | |
1428 | ||
1429 | And various minor fixes and documentation updates. | |
1430 | ||
1431 | ||
1432 | Imager 0.51 - 23 Apr 2006 | |
1433 | =========== | |
1434 | ||
1435 | - fix a validation bug when processing JPEG EXIF data that can cause | |
1436 | a crash | |
1437 | http://rt.cpan.org/Public/Bug/Display.html?id=18496 | |
1438 | ||
1439 | - fix mis-processing of the src_maxx and src_maxy parameters of the | |
1440 | paste() method | |
1441 | http://rt.cpan.org/Public/Bug/Display.html?id=18712 | |
1442 | ||
1443 | - fix a problem in Imager's "smart" handling of the color parameter | |
1444 | to various methods. | |
1445 | http://rt.cpan.org/Public/Bug/Display.html?id=18561 | |
1446 | ||
1447 | ||
1448 | Imager 0.50 - 29 Mar 2006 | |
1449 | =========== | |
1450 | ||
1451 | - CRITICAL: fixes a segmentation fault from attempting to write a 2 | |
1452 | or 4 channel image to jpeg or a 2 channel image to tga where the | |
1453 | output is an in-memeory buffer. | |
1454 | http://rt.cpan.org/Public/Bug/Display.html?id=18397 | |
1455 | ||
1456 | - fixes an incorrect pointer parameter in the PNG code | |
1457 | http://rt.cpan.org/Public/Bug/Display.html?id=18051 | |
1458 | ||
1459 | - skip Inline::C tests when building in a directory with spaces | |
1460 | http://rt.cpan.org/Public/Bug/Display.html?id=18049 |