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