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