update the documentation of hardinvert to match the change in 0.62.
[imager.git] / Changes
CommitLineData
7623d340
TC
1Imager release history. Older releases can be found in Changes.old
2
75812841
TC
3Imager 0.76
4===========
5
a596d4f6
TC
6 - added the ability to read multiple-image PNM files.
7 Note that unlike the pbm/pgm/ppm specification this accepts mixed
8 format files and allows white space padding between files.
9 Thanks to Philip Gwyn (Leolo) for this patch.
10
75812841
TC
11Bugs:
12
13 - Imager->new(data => $data) didn't try to process image file data in
14 $data
15 https://rt.cpan.org/Ticket/Display.html?id=58761
16
b6071a43
TC
17 - t/t50basicoo.t no longer depends on the other tests to generate its
18 input files.
19 https://rt.cpan.org/Ticket/Display.html?id=9798
20 Also, it wasn't testing pnm (pnm vs ppm mix-up)
21
a9da425a
TC
22 - update the documentation of hardinvert to match the change in 0.62.
23 https://rt.cpan.org/Ticket/Display.html?id=59785
24
75812841 25Imager 0.75 - 20 Jun 2010
b13a3ddb
TC
26===========
27
28 - use PERL_NO_GET_CONTEXT to slightly improve performance on threaded
29 perls (not measured)
30
46e2e4a3
TC
31Bugs:
32
8c194049
TC
33 - an opacity fill based on a fountain fill would segfault when
34 filling an 8-bit/sample image.
35
1c5252ed
TC
36 - merge thickline branch polygon fix
37 https://rt.cpan.org/Ticket/Display.html?id=43518
38
41c88ecd 39Imager 0.74 - 7 May 2010
8d46e5da
TC
40===========
41
42Bug fixes:
43
44 - read_multi() didn't handle a missing file format library correctly,
45 aborting on failing to call i_readgif_multi_wiol() or
46 i_readtiff_multi_wiol().
47
5715f7c3
TC
48 - fix spelling errors patched by Debian
49 http://svn.debian.org/viewsvn/pkg-perl/trunk/libimager-perl/debian/patches/spelling.patch?revision=54839&view=markup
50
51 - add an (unshipped) author test to spellcheck Imager's POD.
7468f3fa 52
38218f79
TC
53 - update the TIFF file format documentation
54 https://rt.cpan.org/Ticket/Display.html?id=56510
55
e17da819
TC
56 - lib/Imager/IO.pod was written almost 4 years ago but never shipped.
57
704f12d5 58Imager 0.73 - 15 Mar 2010
40068b33
TC
59===========
60
61 - implement outline circles, both anti-aliased and not
62 https://rt.cpan.org/Ticket/Display.html?id=19755
63
e958b64e
TC
64 - a combine => "none" fill to a 1 or 3 channel image would produce
65 the incorrect colour.
66
b2db3662
TC
67Imager 0.72 - 09 Dec 2009
68===========
69
70Bump version for release, since 0.71_03 is stable with CPAN testers.
71
6936706b
TC
72Imager 0.71_03 - 5 Dec 2009
73==============
74
75 - further adjust the threads test so it only performs the tests on
76 perls where it's expected to work, and only if the threads module
77 can be loaded.
78
0750777c
TC
79Imager 0.71_02 - 1 Dec 2009
80==============
81
48ad0e66
TC
82 - adjust the way we load the threads module for the threads test so
83 it works with non-threaded perls
0750777c 84
b89f0fcd 85Imager 0.71_01 - 30 Nov 2009
e41cfe8f
TC
86===========
87
88Bug fixes:
89
90 - use scanline oriented operations to flip images instead of pixel
91 operations
92 https://rt.cpan.org/Ticket/Display.html?id=39278
93
94 - use double/sample operations to flip large sample images instead of
95 8-bit sample operations.
96 https://rt.cpan.org/Ticket/Display.html?id=39280
97
de3ca2fd
TC
98 - fix POD nits
99 https://rt.cpan.org/Ticket/Display.html?id=51874
100
ffddd407
TC
101 - prevent double-frees when someone creates Imager objects and then
102 creates a thread. Note: this just handles some simple cases,
103 Imager doesn't support perl threads, and isn't likely to.
104 https://rt.cpan.org/Ticket/Display.html?id=52268
105
3517794b 106Imager 0.71 - 16 Nov 2009
6a3cbaef
TC
107===========
108
a16bae72
TC
109 - add the opacity fill type - an adaptor that modifies the opacity of
110 another fill.
111
6a3cbaef
TC
112Bug fixes:
113
114 - the conv filter now enforces that the sum of the coefficients is
115 non-zero. Also, rather than skipping pixels off the edge off the
116 edge of the image, the closest edge pixel is used. Previously
117 dividing by the zero sum of coefficients could cause invalid
118 results or runtime exceptions.
119 Thanks to David Cantrell's Alpha-NetBSD CPAN test box for revealing
120 this bug.
121
189d5775 122Imager 0.70 - 21 Sep 2009
2b82e731
TC
123===========
124
125Bug fixes:
126
127 - release image row and comments memory on all error returns in gif
128 reader
129
130 - handle zero length extensions, previously this would cause a null
131 pointer dereference
132 Thanks to Krzysztof Wojtaƛ for the test data and fix for this.
133
b3afeed5
TC
134 - an integer division meant that preview scaling to below 1 pixel
135 wide or high (which isn't too useful anyway) was calculating using
136 NaNs on most platforms, and causing an exception on others.
137 Thanks to David Cantrell for producing a backtrace of the crash on
138 his Alpha-NetBSD CPAN test box which made it possible to track this
139 down.
140
b1e29946 141Imager 0.69 - 08 Sep 2009
25f4e775
TC
142===========
143
b1e29946 144Bug fixes:
25f4e775
TC
145
146 - broken test fix - was attempting to call a function skip_all, when
147 that should be a parameter to plan().
148
b1e29946
TC
149 - briefly document apidocs.perl, the tool used to build
150 Imager::APIRef and make some minor enhancements
151
152 - various minor documentation enhancements and fixes.
153
5920304a 154Imager 0.68 - 07 Sep 2009
c5f447ac
TC
155===========
156
3c252111
TC
157 - Imager->new(file => $filename) and other similar incantations will
158 load the given file.
159 https://rt.cpan.org/Ticket/Display.html?id=48261
160
c5f447ac
TC
161Bug fixes:
162
163 - avoid using CHECK as a label in Imager::Test
164 http://nntp.x.perl.org/group/perl.cpan.testers/5220921
165
0d670555
TC
166 - re-work most image file test files that require a library into
167 separate library present/not present files to remove stupidly long
168 conditionals
169
170 - don't treat rubthrough() outside the bounds of the target image as
171 an error.
172 http://nntp.x.perl.org/group/perl.cpan.testers/5185716
173
8d800216
TC
174Imager 0.67_01 - 02 Sep 2009
175==============
500888da
TC
176
177Bug fixes:
178
179 - correct documentation of default of raw image interleave read
180 parameter
181 https://rt.cpan.org/Ticket/Display.html?id=42074
182
183 - add raw_ prefix to raw read parameters, though the original names
184 still work.
185
186 - fail the read if an invalid raw_interleave parameter is supplied
187
188 - warn if no interleave or raw_interleave parameter is supplied,
189 since the documented default was wrong, and incompatible with the
190 write format
191
192 - for reading raw images, if raw_storechannels > raw_datachannels,
193 set the extra channels in the image to 0
194
cd476e58
TC
195 - when probing for executables like freetype-config, search for .bat
196 and .cmd on MSWin32, as well as .exe.
197 https://rt.cpan.org/Ticket/Display.html?id=49275
500888da 198
f9a39263
TC
199 - re-work the external libraries section of README:
200 - list Debian and Redhat package names for each library
201 - reformatting
202 - update URLs
203
f45b774f
TC
204 - use the new EU::MM META_MERGE facility instead of generating
205 META.yml from scratch
206 https://rt.cpan.org/Ticket/Display.html?id=47888
207
d6b51d8c
TC
208 - use Devel::CheckLib (bundled, modified) to check which release of
209 libtiff is installed and reject 3.9.0
78645bd4
TC
210 http://bugzilla.maptools.org/show_bug.cgi?id=2088
211 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543079
d6b51d8c 212
249af030
TC
213Imager 0.67 - 12 Dec 2008
214===========
215
216Bug fixes:
217
218 - fix a packaging error
219
cca21862 220Imager 0.66 - 12 Dec 2008
3c8fee33
TC
221===========
222
6b22ba84
TC
223 - 24-bit color .ICO/.CUR files can now be read.
224
3c8fee33
TC
225Bug fixes:
226
6b22ba84
TC
227 - an optimization skipping 0 src alpha values could cause the
228 rubthrough() to read past the end of a buffer.
229 http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1509184.html
230
5c0d0ddf
TC
231 - corrected a reference leak where writing GIFs would leak memory.
232 This could also happen calling to_paletted().
233 Also documented the underlying long existing feature where the
234 colors parameter is filled with the generated color table and added
235 tests for it.
3c8fee33
TC
236 http://rt.cpan.org/Ticket/Display.html?id=41028
237
8e7f5809
TC
238 - write out the image size in bytes field of a BMP correctly.
239 http://rt.cpan.org/Ticket/Display.html?id=41406
240
c586eb58
TC
241 - add limited tests for Imager::ExtUtils
242
243 - make Imager::ExtUtils->includes use an absolute path, since
244 a relative path could cause failures using Inline::C.
245 http://rt.cpan.org/Ticket/Display.html?id=37353
246
6b22ba84
TC
247 - re-arrange the POD for Imager::Font::BBox:
248 - mark total_width(), pos_width(), end_offset() obsolete, since
249 they're mostly for backwards compatibility
250 - group width methods and height methods
251 https://rt.cpan.org/Ticket/Display.html?id=39999
17d9fe35 252
0727e3f5 253Imager 0.65 - 20 May 2008
546ea21c
TC
254===========
255
256Bug fixes:
257
258 - In some cases when an error occurs reading those parts of a JPEG
259 file after the image the scan-line buffer could be freed a second
260 time. In cases where the the error occured while reading the image
261 data it's possible that the buffer could have leaked.
262 Thanks to Gabriel Vasseur for reporting this and help in tracking
263 it down.
264
43b2b326
TC
265 - the gif_screen_height tag was overriding the screen width and being
266 ignored for the screen height when present.
267 https://rt.cpan.org/Public/Bug/Display.html?id=35568
268
e02d22d2 269Imager 0.64 - 23 April 2008
de470892
TC
270===========
271
e02d22d2
TC
272This is a bug fix release. This includes a fix for a possible
273security issue.
274
de470892
TC
275Bug fixes:
276
e02d22d2
TC
277 - Possible security issue: The floating point sample path for image
278 based fills had a buffer overflow. This would overwrite the end of
279 a malloc()ed buffer with double precision floats.
280 http://rt.cpan.org/Ticket/Display.html?id=35324
6912d85a 281 CVE-2008-1928
e02d22d2 282
de470892
TC
283 - check that the result of fileno($fh) is defined rather than simply
284 true when read() or write() is supplied with an fh parameter.
285 http://rt.cpan.org/Ticket/Display.html?id=35139
286
287 - i_scale_axis() wasn't checking the result of i_img_new_ch()
288 resulting in a SIGSEGV when attempting to scale an image to a size
289 too large to fit in memory. This is a NULL pointer access issue,
290 not a buffer overflow.
291 Added a check for the failure.
292 scale_calculate() (and hence scale()) will now fail if any of the
293 scale size parameters are a reference.
294 http://rt.cpan.org/Ticket/Display.html?id=35172
295
04f85f63
TC
296 - Regression: filling a greyscale image with a hatch used the wrong
297 color channels from the supplied fg/bg colors.
298 https://rt.cpan.org/Ticket/Display.html?id=35278
299
a256aec5
TC
300 - fixed a related problem for image fills.
301
49240201 302Imager 0.63 - 7 April 2008
33b0ffa6
TC
303===========
304
242d7497
TC
305This release primarily contains changes to improve ease of use -
306rather than you having to convert images to the appropriate number of
307channels, Imager handles it internally. How to handle drawing colors
308and the default combine mode is a thornier problem left for some other
309release.
310
d1555273
TC
311 - the font libraries are now only initialized when needed.
312 http://rt.cpan.org/Ticket/Display.html?id=28825
313
9b1ec2b8
TC
314 - moved the imtoc.perl code into Imager::Preprocess
315
316 - paste() and rubthrough() now adapt the source image data to the
317 destination, so you can now safely paste/rubthrough from greyscale
318 images to color images or back, or from alpha channel images to
319 noalpha channels or back.
320 https://rt.cpan.org/Ticket/Display.html?id=30908
321
322 - rubthrough() now falls back to pasting when the source doesn't have
323 an alpha channel. This effectively treats the source as having a
324 max alpha channel, the right thing to do.
325 http://rt.cpan.org/Ticket/Display.html?id=29944
326
327 - re-worked most of the area filling code to use a common set of
328 functions when filling.
329 Corrected normal combine mode.
330 Rewrote most of the combine modes to match the way the SVG draft
331 defines them with respect to a translucent source and destination.
332 Added tests for translucent source and destination.
333 Added tests to check 8-bit/sample and double/sample combines work
334 similarly.
335 https://rt.cpan.org/Ticket/Display.html?id=29879
336
07d9c639
TC
337 - writing a 2 or 4 channel image to a JPEG file will now write that
338 image as if composited against a background, black by default,
339 overridable with the i_background tag/parameter.
6e4af7d4
TC
340 https://rt.cpan.org/Ticket/Display.html?id=29876
341
07d9c639
TC
342 - writing a 2 or 4 channel image to a PGM/PPM file will now write
343 that image as if composited against a background, black by default,
fa90de94
TC
344 overridable with the i_background tag/parameter.
345 http://rt.cpan.org/Ticket/Display.html?id=30074
346
07d9c639
TC
347 - writing a 2 or 4 channel image to a BMP file will now write that
348 image as if composited against a background, black by default,
349 overridable with the i_background tag/parameter.
350 http://rt.cpan.org/Ticket/Display.html?id=30075
351
33b0ffa6
TC
352Bug fixes:
353
354 - Imager::Matrix2d->translate() now only requires one of the x or y
355 parameters.
356 http://rt.cpan.org/Ticket/Display.html?id=29937
357
2757bad0
TC
358 - mixing qtype scaling now sets all channels of a pixel to zero if
359 the pixel has zero coverage (zero alpha). This should produce more
360 compressible output files.
361 http://rt.cpan.org/Ticket/Display.html?id=32324
362
3da08517
TC
363 - removed the pointless #! line from lib/Imager/Font/Wrap.pm
364 Noticed when I saw:
365 https://bugzilla.redhat.com/show_bug.cgi?id=166254
366 I'm not changing the #! lines of the sample code, since it's sample
367 code, not intended for installation.
368 http://rt.cpan.org/Ticket/Display.html?id=33408
369
242d7497
TC
370 - some TGA images weren't being detected correctly as TGA images
371 https://rt.cpan.org/Ticket/Display.html?id=32925
372
373 - handling of the left-over bit for 16-bit/pixel TGA images has been
374 changed to match the behaviour of the GIMP. Previously the bit
375 being set was treated as an opaque pixel, but one user reported a
376 problem with loading such an image. I haven't been able to find any
377 tools beyond the GIMP that handle alpha-channel 16-bit TGAs, so
378 I'll match it's behaviour. See issue 114913 in the GIMP's
379 bugzilla.
380 http://rt.cpan.org/Ticket/Display.html?id=32926
381
5daa9d34 382Imager 0.62 - 10 December 2007
ac8138b0
TC
383===========
384
d8e0c3ba
TC
385 - Makefile.PL now expands ~/path supplied to --incpath or --libpath
386 to /path under your home directory.
387 http://rt.cpan.org/Ticket/Display.html?id=29484
388
50ff958e
TC
389 - the old dynaload code used Mach API functions to load dynamic
390 libraries on Mac OS X. These APIs have been deprecated in OS X
391 10.5 and were causing some build problems.
392 So henceforth Imager uses the dlopen() family of functions, and you
393 will need version 10.3 or later of OS X.
394
3309187a
TC
395 - added the det() function to the transform2() engine.
396 added the sample quad_to_square.pl
397 Courtesy Richard Fairhurst.
398 http://rt.cpan.org/Ticket/Display.html?id=31244
399
ac8138b0
TC
400Bug fixes:
401
402 - samples/gifscale.pl sourced the base value for gif_top from
403 gif_left.
404 Thanks to Eleneldil G. Arilou for pointing this out.
405
678a9a65
TC
406 - t/t82inline.t no longer loads B at runtime, to work around a bug
407 in some 5.005_0[45] installations.
408 http://rt.cpan.org/Ticket/Display.html?id=30508
409
410 - work around Module::Depends::Intrusive bug #21229
411 http://rt.cpan.org/Ticket/Display.html?id=30520
ac8138b0 412
bea65b1f
TC
413 - the hardinvert filter no-longer inverts the alpha channel.
414 http://rt.cpan.org/Ticket/Display.html?id=30002
415
416 - the hardinvert filter now supports large samples
417
b7809486 418Imager 0.61_02 - 28 November 2007
f74e6efc 419==============
874c55db 420
bd8052a6
TC
421 - major TIFF support re-work
422 http://rt.cpan.org/Ticket/Display.html?id=20329
423
424 - added a C level image interface for accessing samples from 1-32
425 bits, exposed this at the perl level in getsamples()
426
427 - the conv filter now works at floating point precision for high bit
428 images
429
430 - added is_bilevel method to test whether an image should be written as
431 a bilevel image if the image format supports it.
432
433 - added -log-stderr as an Imager import list option
434
435 - added some important types to Imager::APIRef
436
437 - added test_image_double() to Imager::Test
438
874c55db
TC
439Bug fixes:
440
441 - Imager::Fountain couldn't read GIMP gradient files with 10 or more
442 segments
443
444 - the scale() method with qtype mixing now handles images with an
445 alpha channel correctly.
446
8d17eae9
TC
447 - fixed a broken link from the "animated GIF" entry in the concept index.
448 Thanks to Slaven Rezic.
449 http://rt.cpan.org/Ticket/Display.html?id=30889
450
d3bf4eaf
TC
451 - on some perl's the infix expression parser test would fail due to
452 actions in the grammar returning false. Made sure all actions return
453 a true value.
8b96ad6b
TC
454 Thanks to Richard Fairhurst for spending a lot of time in tracking
455 down this problem.
680c329d 456 http://rt.cpan.org/Public/Bug/Display.html?id=29562
d3bf4eaf 457
d06f6707 458Imager 0.61 - 5 November 2007
1cfa190e
TC
459===========
460
461 - added samples/gifscale.pl, which adjusts the screen size/position tags
462 when scaling an animated gif
463 http://rt.cpan.org/Ticket/Display.html?id=27591
464
8a2cd317
TC
465Bug fixes:
466
e7ac18bd
TC
467 - correct handling of sz in matrix_transform() - this should allow
468 perspective type transformations to work now.
469 http://rt.cpan.org/Ticket/Display.html?id=29936
470
8a2cd317
TC
471 - prevent a cast to integer warning on x64 builds in datatypes.c
472 also fixed some other type warnings
473 https://rt.cpan.org/Ticket/Display.html?id=30204
474
9188b23e
TC
475 - some sub-directory tests depended on files produced by the parent
476 directory tests
477 http://rt.cpan.org/Ticket/Display.html?id=30203
478
7febff1d
TC
479 - Imager::Font::Wrap doesn't correctly set savepos
480 thanks to Nikita Dedik and Eleneldil G. Arilou for reporting this.
481 http://rt.cpan.org/Ticket/Display.html?id=29771
482
76411e99
TC
483 - test 171 in t/t01introvert.t was failing on perls configured to
484 use long double.
485 http://rt.cpan.org/Ticket/Display.html?id=29413
486
3f29de50
TC
487 - the code for the transform2() uminus operator was missing a break.
488 Added tests for better code coverage of the ops.
489 http://rt.cpan.org/Ticket/Display.html?id=29296
490
ed107438
TC
491 - the SGI RLE compression code could overflow its compression buffer
492 http://rt.cpan.org/Ticket/Display.html?id=30334
493
494 - the 32-bit output function used by the SGI code only handled values
495 under 0x10000. This was most noticable when writing large RLE images.
496 http://rt.cpan.org/Ticket/Display.html?id=30335
497
c7481ae1
TC
498 - validate chan_count for chans == NULL for each of the i_gsamp()
499 implementations.
500 http://rt.cpan.org/Ticket/Display.html?id=28985
501
ff37fc3f
TC
502 - attempt to work around the test failure at
503 http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html
504 http://rt.cpan.org/Ticket/Display.html?id=29562
505
f245645a
TC
506 - improve the error messages produced when attempting to read or write
507 an unknown image file format.
508 http://rt.cpan.org/Ticket/Display.html?id=30103
509
333d7485
TC
510 - improve the transform2() documentation
511 http://rt.cpan.org/Ticket/Display.html?id=29267
512
3b115720
TC
513 - correctly generate the author key in META.yml
514 http://rt.cpan.org/Ticket/Display.html?id=30377
515
13c9a303
TC
516 - correctly blend a rotated (or matrix_transformed()) image when
517 performing interpolation in the presence of an alpha channel.
8a071022
TC
518 Also corrected the centring of the rotated image on the output
519 image.
13c9a303 520
0e622083 521Imager 0.60 - 30 August 2007
bcff4dd9
TC
522===========
523
d5477d3d
TC
524 - Finished/rewrote Arnar's old SGI RGB file format support, so Imager
525 now has full SGI RGB image format, including RLE and 16-bit/sample
526 images.
527 https://rt.cpan.org/Ticket/Display.html?id=8666
528
529 - logging functions are now available in the API
530
a60905e4
TC
531 - applied Gabriel Vasseur's patch
532 added documentation, further tests, and support for greyscale images
533 Obviously problems are my fault :)
534 https://rt.cpan.org/Ticket/Display.html?id=28142
535
413dc198
TC
536 - the mask for ICO/CUR images is now applied as an alpha channel to
537 the returned image. For the old behaviour, supply ico_masked => 0
538 to read() or read_multi(). This should be less confusing when
539 using Imager as a general image processor.
540 https://rt.cpan.org/Ticket/Display.html?id=29001
541
bcff4dd9
TC
542Bug fixes:
543
544 - in some cases it's possible for giflib/libungif to return color
545 indexes outside the range of colors defined by the image's palette.
546 We now expand the palette to match the indexes used.
547 Thanks to Gabriel Vasseur for reporting this.
548
02576e8d
TC
549 - fixed various memory leaks that could occur when failing to read png,
550 jpeg, bmp or tga files.
551
b3aa972f
TC
552 - to avoid confusion, channels not present in the image are returned as
553 zero by getscanline(). This has no effect on the C level i_glin()
554 and i_glinf() API functions which continue to not set the unused
555 channels.
556
d5477d3d
TC
557 - the convert() method now returns an image of the same sample size as
558 the source image.
559 https://rt.cpan.org/Ticket/Display.html?id=28492
560
baa880ef
TC
561 - remove repeated text in Imager::Files
562 http://rt.cpan.org/Ticket/Display.html?id=27589
563
564 - be even more explicit that scale() and friends don't modify the source
565 image, but return a new image.
566 http://rt.cpan.org/Ticket/Display.html?id=28570
567
0561d49c
TC
568 - improve the error message from errstr() when you try to load a font
569 for which the driver hasn't been built in Imager.
570 http://rt.cpan.org/Ticket/Display.html?id=27571
571
d8a39ce0
TC
572 - transparency is now enabled by default when writing GIF images
573 http://rt.cpan.org/Ticket/Display.html?id=27615
574
5730d6e7
TC
575 - Imager would not load on Windows 98
576 http://rt.cpan.org/Ticket/Display.html?id=27653
577
b4996113 578Imager 0.59 - 14 June 2007
e6e94ab0
TC
579===========
580
581Bug fixes:
582
583 - fixes a regression introduced by the fixes for RT 11972
584 http://rt.cpan.org/Ticket/Display.html?id=27546
585
9fc9d0ca
TC
586 - cropping outside the image would return an Imager object with
587 no low-level image object, instead of returning false.
588 Fixed by: Philip Gwyn (Leolo)
589 http://rt.cpan.org/Ticket/Display.html?id=27509
590
7e7508dd
TC
591Imager 0.58 - 16 May 2007
592===========
593
594No significant changes from 0.57_01.
595
1970a2c7
TC
596Imager 0.57_01 - 11 May 2007
597==============
d034a178 598
f8e36694
TC
599 - added to_rgb16 to produce a 16-bit/sample version of an image
600
95b2bff4
TC
601 - improve freetype 1.x text output efficiency
602
d034a178
TC
603Bug fixes:
604
605 - search another place for rgb.txt, and check all the places
606 Imager::Color checks when deciding whether to skip testing it
607 http://rt.cpan.org/Ticket/Display.html?id=26064
608
73962964
TC
609 - use a convolution kernel size based on the stddev rather than a
610 fixed size when performing a gaussian blur
611 http://rt.cpan.org/Ticket/Display.html?id=25645
612
01b84320
TC
613 - document the difference() method's mindist parameter, and debug it.
614
7e7508dd 615 - put the Imager release number in the Inline::C generated code to
22f9ca48
TC
616 regenerate Inline code when a new release of Imager is installed.
617 http://rt.cpan.org/Ticket/Display.html?id=26278
618
fa16b6c6
TC
619 - fix rendering on alpha channel images for the FreeType 1.x driver.
620 http://rt.cpan.org/Ticket/Display.html?id=11972
621
4c84ccfb
TC
622 - fix rendering on alpha channel images for the T1lib driver.
623 http://rt.cpan.org/Ticket/Display.html?id=11972
624
1fe8316b
TC
625 - reworked library probing, we can now set more than one probe
626 function for a library. Disabled the default (non-freetype-config)
627 library probe and added an extra probe function that searches for
628 both ft2build.h and whatever it includes, and adds -I as needed.
629 Hopefully this will fix build problems like
630 http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg472281.html
631 http://rt.cpan.org/Ticket/Display.html?id=26086
632
bb5712de
TC
633Imager 0.57 - 30 Apr 2007
634===========
635
636This is a maintenence release fixing a security issue in Imager.
637
638 - CRITICAL: a specially crafted compressed BMP file can cause a buffer
639 overflow in malloced memory. There will be further discussion of
640 this issue in the ticket below.
641 http://rt.cpan.org/Ticket/Display.html?id=26811
7e7508dd
TC
642 CVE-2007-2459 CVE-2007-2413
643 The descriptions at cve.mitre.org varied in quality, please see the
644 ticket at rt.cpan.org for a more accurate description of the issue.
bb5712de 645
d034a178 646Imager 0.56 - 1 Apr 2007
7623d340
TC
647===========
648
649 - added support for reading 16-bit/sample PGM/PPM images
650
651 - added support for writing 16-bit/sample PGM/PPM images
652
653 - improved performance of reading PBM/PGM/PPM images
654
655 - added support for writing PBM images if the image is paletted and
656 contains only black and white
657
658 - added a new make_colors value - "mono"
659
660 - switched from the svn log Changes to a manual Changes to reduce
661 noise
662
1225d272
TC
663 - new sample code - samples/flasher.pl
664
7623d340
TC
665Bug fixes:
666
667 - CRITICAL: the "Imager" typemap entry (not used by Imager itself)
668 was returning an image object with an extra reference, this
669 resulted in a memory leak.
670 http://rt.cpan.org/Ticket/Display.html?id=24992
671
672 - fix rendering on alpha channel images for the FreeType 2.x driver
673 http://rt.cpan.org/Ticket/Display.html?id=11972
674
675 - reading bmp files now consitently handles short reads. You can now
676 supply a parameter to treat a short read as successful and set
677 i_incomplete
678 http://rt.cpan.org/Ticket/Display.html?id=8426
679
680 - previously, reading ASCII PBM files required spaces between samples,
681 even though the format doesn't require that
682
1225d272
TC
683 - improved documentation of the unsharpmask filter (I hope)
684 http://rt.cpan.org/Ticket/Display.html?id=25531
685
686 - force flushing of the output from i_tt_dump_names() and test output
687 in t/t35ttfont.t to prevent output from being mixed up.
688 https://rt.cpan.org/Ticket/Display.html?id=24859
689
690 - rewrite a conditional expression as an if() to hopefully work around
691 a bug in the pre-4.0 GCC Apple shipped with OS X 10.4.
692 https://rt.cpan.org/Ticket/Display.html?id=25561
693
694 - avoid Data::Dumper in regops.perl to support older releases of perl
695 https://rt.cpan.org/Ticket/Display.html?id=24391
696
7623d340
TC
697Imager 0.55 - 16 Dec 2006
698===========
699
700This is primarily a bug fix release.
701
702Note: Test::More is now a pre-requisite for Imager and is no longer bundled.
703
704There is one new feature:
705
706 - the Win32 font driver now supports UTF8 (RT 22166)
707 http://www.cpanforum.com/threads/3276
708 http://rt.cpan.org/Ticket/Display.html?id=22166
709
710Several bugs were fixed:
711
712 - the string() method would not output the string "0"
713 http://rt.cpan.org/Public/Bug/Display.html?id=21770
714
715 - fills.c was failing to compile on Solaris 10 (compiler unknown)
716 http://rt.cpan.org/Public/Bug/Display.html?id=21944
717
718 - the gif_disposal and gif_user_input tags weren't being read from
719 the file correctly
720 http://rt.cpan.org/Public/Bug/Display.html?id=22192
721
722 - gif.c was failing to build under MSVC
723 http://rt.cpan.org/Ticket/Display.html?id=23922
724
725 - in some cases strings passed to the string() method were treated as
726 terminated by NUL (chr 0)
727 http://rt.cpan.org/Public/Bug/Display.html?id=21770
728
729 - on "MSWin32" perl builds we now link to -lzlib instead of -lz since
730 that's the default build name for zlib on Win32.
731 http://rt.cpan.org/Ticket/Display.html?id=23064
732
733 - search $Config{incpath} for headers too, which we should have been
734 doing all along.
735
736Win32 font driver fixes:
737
738 - the global descent value from bounding box was the wrong sign
739 http://www.cpanforum.com/threads/3276
740
741 - if the first or last glyph overflowed the left or right side of the
742 advance width they would be clipped
743
744
745Imager 0.54 - 14 Sep 2006
746===========
747
748This is primarily a feature release:
749
750 - a new qtype value 'mixing' has been added to the scale()
751 method. This is faster than 'normal', slower than 'preview'. This
752 is based on the method used by pnmscale, and seems to produce less
753 blurry results than normal.
754 http://rt.cpan.org/Public/Bug/Display.html?id=20677
755
756 - the rubthrough() method can now render onto images with an alpha
757 channel.
758 http://rt.cpan.org/Ticket/Display.html?id=20678
759
760 - the read_multi() method now falls back to calling doing a single
761 image read via the read() method and write_multi() will now fall
762 back to calling write() if a single image is supplied. This means
763 you can simply call the read_multi() or write_multi() functions
764 without having to check if the type is formatted by that method.
765 http://rt.cpan.org/Ticket/Display.html?id=19457
766 http://rt.cpan.org/Ticket/Display.html?id=19458
767
768 - the GIF loop extension can now be written. If you don't have
769 libungif/giflib 4.1.4 (or some distribution's bugfixed equivalent) you
770 should upgrade.
771 http://rt.cpan.org/Ticket/Display.html?id=21185
772
773 - getscanline() and setscanline() can now read/write palette index
774 based data from/to the image for paletted images, by setting type to
775 'index'.
776 http://rt.cpan.org/Ticket/Display.html?id=20338
777
778 - we no longer hassle you to disable GIF support
779 http://rt.cpan.org/Ticket/Display.html?id=20687
780
781 - minor documentation fixes
782
783
784Imager 0.53 - 26 Jul 2006
785===========
786
787This is a bugfix release.
788
789Some test code was left in a code path not covered by the test
790suite. A test was added to cover this code path and the test code was
791removed.
792http://rt.cpan.org/Public/Bug/Display.html?id=20705
793
794
795Imager 0.52 - 25 Jul 2006
796===========
797
798This is primarily a feature release, but contains a fair few bug
799fixes, new features:
800
801 - ability to read and write MS Windows ICO and CUR files
802
803 - you can now add file format plugins to support new file formats
804
805 - add POD coverage tests
806
807 - setcolors() and addcolors() now accept color names and so on
808 instead of requiring Imager::Color objects.
809 http://rt.cpan.org/Ticket/Display.html?id=20056
810
811 - flood_fill() can now fill to a specified border color instead of
812 just to the area the same color as the seed.
813 http://rt.cpan.org/Ticket/Display.html?id=19618
814
815
816Bug fixes:
817
818 - bounding_box for the T1 driver wasn't converting UTF8 to ascii when
819 calculating the advance width.
820 http://rt.cpan.org/Public/Bug/Display.html?id=20554
821
822 - bounding_box for the T1 driver wasn't including leading and
823 trailing spaces in the bounding box as the other drivers did, it also
824 produced strange results for empty strings or strings containing only
825 spaces
826
827 - when reading CMYK jpeg images they were being transferred to the
828 image object as is, producing a four channel image. It only looked ok
829 due to an old still unfixed Photoshop bug. We now convert from the
830 inverted CMYK that photoshop (and Corel for example) produce into RGB.
831 http://rt.cpan.org/Ticket/Display.html?id=20416
832
833 - reading a CYMK TIFF would result in a 4 channel image, reading any
834 image with more than 4 channels (eg. RGB with 2 alpha channels) would
835 result in an error.
836 http://rt.cpan.org/Ticket/Display.html?id=20415
837
838 - added /usr/local/include to the default include search path, since
839 we were already searching /usr/local/lib for libraries.
840
841And various minor fixes and documentation updates.
842
843
844Imager 0.51 - 23 Apr 2006
845===========
846
847 - fix a validation bug when processing JPEG EXIF data that can cause
848 a crash
849 http://rt.cpan.org/Public/Bug/Display.html?id=18496
850
851 - fix mis-processing of the src_maxx and src_maxy parameters of the
852 paste() method
853 http://rt.cpan.org/Public/Bug/Display.html?id=18712
854
855 - fix a problem in Imager's "smart" handling of the color parameter
856 to various methods.
857 http://rt.cpan.org/Public/Bug/Display.html?id=18561
858
859
860Imager 0.50 - 29 Mar 2006
861===========
862
863 - CRITICAL: fixes a segmentation fault from attempting to write a 2
864 or 4 channel image to jpeg or a 2 channel image to tga where the
865 output is an in-memeory buffer.
866 http://rt.cpan.org/Public/Bug/Display.html?id=18397
867
868 - fixes an incorrect pointer parameter in the PNG code
869 http://rt.cpan.org/Public/Bug/Display.html?id=18051
870
871 - skip Inline::C tests when building in a directory with spaces
872 http://rt.cpan.org/Public/Bug/Display.html?id=18049