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