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