Extra ways of calling translate(), shear()
[imager.git] / Changes
CommitLineData
7623d340
TC
1Imager release history. Older releases can be found in Changes.old
2
33b0ffa6
TC
3Imager 0.63 - unreleased
4===========
5
d1555273
TC
6 - the font libraries are now only initialized when needed.
7 http://rt.cpan.org/Ticket/Display.html?id=28825
8
33b0ffa6
TC
9Bug fixes:
10
11 - Imager::Matrix2d->translate() now only requires one of the x or y
12 parameters.
13 http://rt.cpan.org/Ticket/Display.html?id=29937
14
5daa9d34 15Imager 0.62 - 10 December 2007
ac8138b0
TC
16===========
17
d8e0c3ba
TC
18 - Makefile.PL now expands ~/path supplied to --incpath or --libpath
19 to /path under your home directory.
20 http://rt.cpan.org/Ticket/Display.html?id=29484
21
50ff958e
TC
22 - the old dynaload code used Mach API functions to load dynamic
23 libraries on Mac OS X. These APIs have been deprecated in OS X
24 10.5 and were causing some build problems.
25 So henceforth Imager uses the dlopen() family of functions, and you
26 will need version 10.3 or later of OS X.
27
3309187a
TC
28 - added the det() function to the transform2() engine.
29 added the sample quad_to_square.pl
30 Courtesy Richard Fairhurst.
31 http://rt.cpan.org/Ticket/Display.html?id=31244
32
ac8138b0
TC
33Bug fixes:
34
35 - samples/gifscale.pl sourced the base value for gif_top from
36 gif_left.
37 Thanks to Eleneldil G. Arilou for pointing this out.
38
678a9a65
TC
39 - t/t82inline.t no longer loads B at runtime, to work around a bug
40 in some 5.005_0[45] installations.
41 http://rt.cpan.org/Ticket/Display.html?id=30508
42
43 - work around Module::Depends::Intrusive bug #21229
44 http://rt.cpan.org/Ticket/Display.html?id=30520
ac8138b0 45
bea65b1f
TC
46 - the hardinvert filter no-longer inverts the alpha channel.
47 http://rt.cpan.org/Ticket/Display.html?id=30002
48
49 - the hardinvert filter now supports large samples
50
b7809486 51Imager 0.61_02 - 28 November 2007
f74e6efc 52==============
874c55db 53
bd8052a6
TC
54 - major TIFF support re-work
55 http://rt.cpan.org/Ticket/Display.html?id=20329
56
57 - added a C level image interface for accessing samples from 1-32
58 bits, exposed this at the perl level in getsamples()
59
60 - the conv filter now works at floating point precision for high bit
61 images
62
63 - added is_bilevel method to test whether an image should be written as
64 a bilevel image if the image format supports it.
65
66 - added -log-stderr as an Imager import list option
67
68 - added some important types to Imager::APIRef
69
70 - added test_image_double() to Imager::Test
71
874c55db
TC
72Bug fixes:
73
74 - Imager::Fountain couldn't read GIMP gradient files with 10 or more
75 segments
76
77 - the scale() method with qtype mixing now handles images with an
78 alpha channel correctly.
79
8d17eae9
TC
80 - fixed a broken link from the "animated GIF" entry in the concept index.
81 Thanks to Slaven Rezic.
82 http://rt.cpan.org/Ticket/Display.html?id=30889
83
d3bf4eaf
TC
84 - on some perl's the infix expression parser test would fail due to
85 actions in the grammar returning false. Made sure all actions return
86 a true value.
8b96ad6b
TC
87 Thanks to Richard Fairhurst for spending a lot of time in tracking
88 down this problem.
680c329d 89 http://rt.cpan.org/Public/Bug/Display.html?id=29562
d3bf4eaf 90
d06f6707 91Imager 0.61 - 5 November 2007
1cfa190e
TC
92===========
93
94 - added samples/gifscale.pl, which adjusts the screen size/position tags
95 when scaling an animated gif
96 http://rt.cpan.org/Ticket/Display.html?id=27591
97
8a2cd317
TC
98Bug fixes:
99
e7ac18bd
TC
100 - correct handling of sz in matrix_transform() - this should allow
101 perspective type transformations to work now.
102 http://rt.cpan.org/Ticket/Display.html?id=29936
103
8a2cd317
TC
104 - prevent a cast to integer warning on x64 builds in datatypes.c
105 also fixed some other type warnings
106 https://rt.cpan.org/Ticket/Display.html?id=30204
107
9188b23e
TC
108 - some sub-directory tests depended on files produced by the parent
109 directory tests
110 http://rt.cpan.org/Ticket/Display.html?id=30203
111
7febff1d
TC
112 - Imager::Font::Wrap doesn't correctly set savepos
113 thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this.
114 http://rt.cpan.org/Ticket/Display.html?id=29771
115
76411e99
TC
116 - test 171 in t/t01introvert.t was failing on perls configured to
117 use long double.
118 http://rt.cpan.org/Ticket/Display.html?id=29413
119
3f29de50
TC
120 - the code for the transform2() uminus operator was missing a break.
121 Added tests for better code coverage of the ops.
122 http://rt.cpan.org/Ticket/Display.html?id=29296
123
ed107438
TC
124 - the SGI RLE compression code could overflow its compression buffer
125 http://rt.cpan.org/Ticket/Display.html?id=30334
126
127 - the 32-bit output function used by the SGI code only handled values
128 under 0x10000. This was most noticable when writing large RLE images.
129 http://rt.cpan.org/Ticket/Display.html?id=30335
130
c7481ae1
TC
131 - validate chan_count for chans == NULL for each of the i_gsamp()
132 implementations.
133 http://rt.cpan.org/Ticket/Display.html?id=28985
134
ff37fc3f
TC
135 - attempt to work around the test failure at
136 http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html
137 http://rt.cpan.org/Ticket/Display.html?id=29562
138
f245645a
TC
139 - improve the error messages produced when attempting to read or write
140 an unknown image file format.
141 http://rt.cpan.org/Ticket/Display.html?id=30103
142
333d7485
TC
143 - improve the transform2() documentation
144 http://rt.cpan.org/Ticket/Display.html?id=29267
145
3b115720
TC
146 - correctly generate the author key in META.yml
147 http://rt.cpan.org/Ticket/Display.html?id=30377
148
13c9a303
TC
149 - correctly blend a rotated (or matrix_transformed()) image when
150 performing interpolation in the presence of an alpha channel.
8a071022
TC
151 Also corrected the centring of the rotated image on the output
152 image.
13c9a303 153
0e622083 154Imager 0.60 - 30 August 2007
bcff4dd9
TC
155===========
156
d5477d3d
TC
157 - Finished/rewrote Arnar's old SGI RGB file format support, so Imager
158 now has full SGI RGB image format, including RLE and 16-bit/sample
159 images.
160 https://rt.cpan.org/Ticket/Display.html?id=8666
161
162 - logging functions are now available in the API
163
a60905e4
TC
164 - applied Gabriel Vasseur's patch
165 added documentation, further tests, and support for greyscale images
166 Obviously problems are my fault :)
167 https://rt.cpan.org/Ticket/Display.html?id=28142
168
413dc198
TC
169 - the mask for ICO/CUR images is now applied as an alpha channel to
170 the returned image. For the old behaviour, supply ico_masked => 0
171 to read() or read_multi(). This should be less confusing when
172 using Imager as a general image processor.
173 https://rt.cpan.org/Ticket/Display.html?id=29001
174
bcff4dd9
TC
175Bug fixes:
176
177 - in some cases it's possible for giflib/libungif to return color
178 indexes outside the range of colors defined by the image's palette.
179 We now expand the palette to match the indexes used.
180 Thanks to Gabriel Vasseur for reporting this.
181
02576e8d
TC
182 - fixed various memory leaks that could occur when failing to read png,
183 jpeg, bmp or tga files.
184
b3aa972f
TC
185 - to avoid confusion, channels not present in the image are returned as
186 zero by getscanline(). This has no effect on the C level i_glin()
187 and i_glinf() API functions which continue to not set the unused
188 channels.
189
d5477d3d
TC
190 - the convert() method now returns an image of the same sample size as
191 the source image.
192 https://rt.cpan.org/Ticket/Display.html?id=28492
193
baa880ef
TC
194 - remove repeated text in Imager::Files
195 http://rt.cpan.org/Ticket/Display.html?id=27589
196
197 - be even more explicit that scale() and friends don't modify the source
198 image, but return a new image.
199 http://rt.cpan.org/Ticket/Display.html?id=28570
200
0561d49c
TC
201 - improve the error message from errstr() when you try to load a font
202 for which the driver hasn't been built in Imager.
203 http://rt.cpan.org/Ticket/Display.html?id=27571
204
d8a39ce0
TC
205 - transparency is now enabled by default when writing GIF images
206 http://rt.cpan.org/Ticket/Display.html?id=27615
207
5730d6e7
TC
208 - Imager would not load on Windows 98
209 http://rt.cpan.org/Ticket/Display.html?id=27653
210
b4996113 211Imager 0.59 - 14 June 2007
e6e94ab0
TC
212===========
213
214Bug fixes:
215
216 - fixes a regression introduced by the fixes for RT 11972
217 http://rt.cpan.org/Ticket/Display.html?id=27546
218
9fc9d0ca
TC
219 - cropping outside the image would return an Imager object with
220 no low-level image object, instead of returning false.
221 Fixed by: Philip Gwyn (Leolo)
222 http://rt.cpan.org/Ticket/Display.html?id=27509
223
7e7508dd
TC
224Imager 0.58 - 16 May 2007
225===========
226
227No significant changes from 0.57_01.
228
1970a2c7
TC
229Imager 0.57_01 - 11 May 2007
230==============
d034a178 231
f8e36694
TC
232 - added to_rgb16 to produce a 16-bit/sample version of an image
233
95b2bff4
TC
234 - improve freetype 1.x text output efficiency
235
d034a178
TC
236Bug fixes:
237
238 - search another place for rgb.txt, and check all the places
239 Imager::Color checks when deciding whether to skip testing it
240 http://rt.cpan.org/Ticket/Display.html?id=26064
241
73962964
TC
242 - use a convolution kernel size based on the stddev rather than a
243 fixed size when performing a gaussian blur
244 http://rt.cpan.org/Ticket/Display.html?id=25645
245
01b84320
TC
246 - document the difference() method's mindist parameter, and debug it.
247
7e7508dd 248 - put the Imager release number in the Inline::C generated code to
22f9ca48
TC
249 regenerate Inline code when a new release of Imager is installed.
250 http://rt.cpan.org/Ticket/Display.html?id=26278
251
fa16b6c6
TC
252 - fix rendering on alpha channel images for the FreeType 1.x driver.
253 http://rt.cpan.org/Ticket/Display.html?id=11972
254
4c84ccfb
TC
255 - fix rendering on alpha channel images for the T1lib driver.
256 http://rt.cpan.org/Ticket/Display.html?id=11972
257
1fe8316b
TC
258 - reworked library probing, we can now set more than one probe
259 function for a library. Disabled the default (non-freetype-config)
260 library probe and added an extra probe function that searches for
261 both ft2build.h and whatever it includes, and adds -I as needed.
262 Hopefully this will fix build problems like
263 http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html
264 http://rt.cpan.org/Ticket/Display.html?id=26086
265
bb5712de
TC
266Imager 0.57 - 30 Apr 2007
267===========
268
269This is a maintenence release fixing a security issue in Imager.
270
271 - CRITICAL: a specially crafted compressed BMP file can cause a buffer
272 overflow in malloced memory. There will be further discussion of
273 this issue in the ticket below.
274 http://rt.cpan.org/Ticket/Display.html?id=26811
7e7508dd
TC
275 CVE-2007-2459 CVE-2007-2413
276 The descriptions at cve.mitre.org varied in quality, please see the
277 ticket at rt.cpan.org for a more accurate description of the issue.
bb5712de 278
d034a178 279Imager 0.56 - 1 Apr 2007
7623d340
TC
280===========
281
282 - added support for reading 16-bit/sample PGM/PPM images
283
284 - added support for writing 16-bit/sample PGM/PPM images
285
286 - improved performance of reading PBM/PGM/PPM images
287
288 - added support for writing PBM images if the image is paletted and
289 contains only black and white
290
291 - added a new make_colors value - "mono"
292
293 - switched from the svn log Changes to a manual Changes to reduce
294 noise
295
1225d272
TC
296 - new sample code - samples/flasher.pl
297
7623d340
TC
298Bug fixes:
299
300 - CRITICAL: the "Imager" typemap entry (not used by Imager itself)
301 was returning an image object with an extra reference, this
302 resulted in a memory leak.
303 http://rt.cpan.org/Ticket/Display.html?id=24992
304
305 - fix rendering on alpha channel images for the FreeType 2.x driver
306 http://rt.cpan.org/Ticket/Display.html?id=11972
307
308 - reading bmp files now consitently handles short reads. You can now
309 supply a parameter to treat a short read as successful and set
310 i_incomplete
311 http://rt.cpan.org/Ticket/Display.html?id=8426
312
313 - previously, reading ASCII PBM files required spaces between samples,
314 even though the format doesn't require that
315
1225d272
TC
316 - improved documentation of the unsharpmask filter (I hope)
317 http://rt.cpan.org/Ticket/Display.html?id=25531
318
319 - force flushing of the output from i_tt_dump_names() and test output
320 in t/t35ttfont.t to prevent output from being mixed up.
321 https://rt.cpan.org/Ticket/Display.html?id=24859
322
323 - rewrite a conditional expression as an if() to hopefully work around
324 a bug in the pre-4.0 GCC Apple shipped with OS X 10.4.
325 https://rt.cpan.org/Ticket/Display.html?id=25561
326
327 - avoid Data::Dumper in regops.perl to support older releases of perl
328 https://rt.cpan.org/Ticket/Display.html?id=24391
329
7623d340
TC
330Imager 0.55 - 16 Dec 2006
331===========
332
333This is primarily a bug fix release.
334
335Note: Test::More is now a pre-requisite for Imager and is no longer bundled.
336
337There is one new feature:
338
339 - the Win32 font driver now supports UTF8 (RT 22166)
340 http://www.cpanforum.com/threads/3276
341 http://rt.cpan.org/Ticket/Display.html?id=22166
342
343Several bugs were fixed:
344
345 - the string() method would not output the string "0"
346 http://rt.cpan.org/Public/Bug/Display.html?id=21770
347
348 - fills.c was failing to compile on Solaris 10 (compiler unknown)
349 http://rt.cpan.org/Public/Bug/Display.html?id=21944
350
351 - the gif_disposal and gif_user_input tags weren't being read from
352 the file correctly
353 http://rt.cpan.org/Public/Bug/Display.html?id=22192
354
355 - gif.c was failing to build under MSVC
356 http://rt.cpan.org/Ticket/Display.html?id=23922
357
358 - in some cases strings passed to the string() method were treated as
359 terminated by NUL (chr 0)
360 http://rt.cpan.org/Public/Bug/Display.html?id=21770
361
362 - on "MSWin32" perl builds we now link to -lzlib instead of -lz since
363 that's the default build name for zlib on Win32.
364 http://rt.cpan.org/Ticket/Display.html?id=23064
365
366 - search $Config{incpath} for headers too, which we should have been
367 doing all along.
368
369Win32 font driver fixes:
370
371 - the global descent value from bounding box was the wrong sign
372 http://www.cpanforum.com/threads/3276
373
374 - if the first or last glyph overflowed the left or right side of the
375 advance width they would be clipped
376
377
378Imager 0.54 - 14 Sep 2006
379===========
380
381This is primarily a feature release:
382
383 - a new qtype value 'mixing' has been added to the scale()
384 method. This is faster than 'normal', slower than 'preview'. This
385 is based on the method used by pnmscale, and seems to produce less
386 blurry results than normal.
387 http://rt.cpan.org/Public/Bug/Display.html?id=20677
388
389 - the rubthrough() method can now render onto images with an alpha
390 channel.
391 http://rt.cpan.org/Ticket/Display.html?id=20678
392
393 - the read_multi() method now falls back to calling doing a single
394 image read via the read() method and write_multi() will now fall
395 back to calling write() if a single image is supplied. This means
396 you can simply call the read_multi() or write_multi() functions
397 without having to check if the type is formatted by that method.
398 http://rt.cpan.org/Ticket/Display.html?id=19457
399 http://rt.cpan.org/Ticket/Display.html?id=19458
400
401 - the GIF loop extension can now be written. If you don't have
402 libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you
403 should upgrade.
404 http://rt.cpan.org/Ticket/Display.html?id=21185
405
406 - getscanline() and setscanline() can now read/write palette index
407 based data from/to the image for paletted images, by setting type to
408 'index'.
409 http://rt.cpan.org/Ticket/Display.html?id=20338
410
411 - we no longer hassle you to disable GIF support
412 http://rt.cpan.org/Ticket/Display.html?id=20687
413
414 - minor documentation fixes
415
416
417Imager 0.53 - 26 Jul 2006
418===========
419
420This is a bugfix release.
421
422Some test code was left in a code path not covered by the test
423suite. A test was added to cover this code path and the test code was
424removed.
425http://rt.cpan.org/Public/Bug/Display.html?id=20705
426
427
428Imager 0.52 - 25 Jul 2006
429===========
430
431This is primarily a feature release, but contains a fair few bug
432fixes, new features:
433
434 - ability to read and write MS Windows ICO and CUR files
435
436 - you can now add file format plugins to support new file formats
437
438 - add POD coverage tests
439
440 - setcolors() and addcolors() now accept color names and so on
441 instead of requiring Imager::Color objects.
442 http://rt.cpan.org/Ticket/Display.html?id=20056
443
444 - flood_fill() can now fill to a specified border color instead of
445 just to the area the same color as the seed.
446 http://rt.cpan.org/Ticket/Display.html?id=19618
447
448
449Bug fixes:
450
451 - bounding_box for the T1 driver wasn't converting UTF8 to ascii when
452 calculating the advance width.
453 http://rt.cpan.org/Public/Bug/Display.html?id=20554
454
455 - bounding_box for the T1 driver wasn't including leading and
456 trailing spaces in the bounding box as the other drivers did, it also
457 produced strange results for empty strings or strings containing only
458 spaces
459
460 - when reading CMYK jpeg images they were being transferred to the
461 image object as is, producing a four channel image. It only looked ok
462 due to an old still unfixed Photoshop bug. We now convert from the
463 inverted CMYK that photoshop (and Corel for example) produce into RGB.
464 http://rt.cpan.org/Ticket/Display.html?id=20416
465
466 - reading a CYMK TIFF would result in a 4 channel image, reading any
467 image with more than 4 channels (eg. RGB with 2 alpha channels) would
468 result in an error.
469 http://rt.cpan.org/Ticket/Display.html?id=20415
470
471 - added /usr/local/include to the default include search path, since
472 we were already searching /usr/local/lib for libraries.
473
474And various minor fixes and documentation updates.
475
476
477Imager 0.51 - 23 Apr 2006
478===========
479
480 - fix a validation bug when processing JPEG EXIF data that can cause
481 a crash
482 http://rt.cpan.org/Public/Bug/Display.html?id=18496
483
484 - fix mis-processing of the src_maxx and src_maxy parameters of the
485 paste() method
486 http://rt.cpan.org/Public/Bug/Display.html?id=18712
487
488 - fix a problem in Imager's "smart" handling of the color parameter
489 to various methods.
490 http://rt.cpan.org/Public/Bug/Display.html?id=18561
491
492
493Imager 0.50 - 29 Mar 2006
494===========
495
496 - CRITICAL: fixes a segmentation fault from attempting to write a 2
497 or 4 channel image to jpeg or a 2 channel image to tga where the
498 output is an in-memeory buffer.
499 http://rt.cpan.org/Public/Bug/Display.html?id=18397
500
501 - fixes an incorrect pointer parameter in the PNG code
502 http://rt.cpan.org/Public/Bug/Display.html?id=18051
503
504 - skip Inline::C tests when building in a directory with spaces
505 http://rt.cpan.org/Public/Bug/Display.html?id=18049