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