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