Tony Cook [Sat, 5 Sep 2009 00:24:20 +0000 (00:24 +0000)]
re-work gif tests to move no gif available tests to a separate file
Tony Cook [Sat, 5 Sep 2009 00:05:49 +0000 (00:05 +0000)]
separate no png support tests into a separate test file to avoid the
huge conditional
Tony Cook [Fri, 4 Sep 2009 23:57:59 +0000 (23:57 +0000)]
re-work jpeg tests - move "no jpeg support" tests into t101nojpeg.t to
avoid stupidly long conditionals
Tony Cook [Fri, 4 Sep 2009 23:46:21 +0000 (23:46 +0000)]
report library version numbers where we already have the XS for it
Tony Cook [Fri, 4 Sep 2009 23:45:37 +0000 (23:45 +0000)]
avoid using CHECK as a label, since 5.11.x chokes on it
Tony Cook [Thu, 3 Sep 2009 01:52:51 +0000 (01:52 +0000)]
0.67_01 release
Tony Cook [Wed, 2 Sep 2009 06:34:16 +0000 (06:34 +0000)]
add more context to libtiff probe comment
Tony Cook [Wed, 2 Sep 2009 06:32:19 +0000 (06:32 +0000)]
update Changes with libtiff probe info
Tony Cook [Tue, 1 Sep 2009 13:28:31 +0000 (13:28 +0000)]
portability to Windows/VC++
Tony Cook [Tue, 1 Sep 2009 12:29:09 +0000 (12:29 +0000)]
extract the installed tifflib version and don't use tifflib if it's
3.9.1
Tony Cook [Mon, 31 Aug 2009 13:57:23 +0000 (13:57 +0000)]
- use the new EU::MM META_MERGE facility instead of generating
META.yml from scratch
https://rt.cpan.org/Ticket/Display.html?id=47888
Tony Cook [Mon, 31 Aug 2009 13:31:04 +0000 (13:31 +0000)]
- re-work the external libraries section of README:
- list Debian and Redhat package names for each library
- reformatting
- update URLs
Tony Cook [Mon, 31 Aug 2009 12:03:58 +0000 (12:03 +0000)]
fix synopsis to load the required modules
Tony Cook [Mon, 31 Aug 2009 12:03:14 +0000 (12:03 +0000)]
note the last change
Tony Cook [Mon, 31 Aug 2009 11:56:18 +0000 (11:56 +0000)]
look for .bat and .cmd files when probing for executables on MSWIN32
Tony Cook [Thu, 2 Jul 2009 09:33:09 +0000 (09:33 +0000)]
Imager::Font is pretty useless without Imager, so add C< use Imager; >
to that too (Imager loads Imager::Font)
Tony Cook [Thu, 2 Jul 2009 09:30:45 +0000 (09:30 +0000)]
Imager::Files isn't a C<use>able module, make that more obvious by
adding C< use Imager; > to the synopsis
Tony Cook [Thu, 15 Jan 2009 11:43:47 +0000 (11:43 +0000)]
- correct documentation of default of raw image interleave read
parameter
https://rt.cpan.org/Ticket/Display.html?id=42074
- add raw_ prefix to raw read parameters, though the original names
still work.
- fail the read if an invalid raw_interleave parameter is supplied
- warn if no interleave or raw_interleave parameter is supplied,
since the documented default was wrong, and incompatible with the
write format
- for reading raw images, if raw_storechannels > raw_datachannels,
set the extra channels in the image to 0
Tony Cook [Sat, 13 Dec 2008 00:33:52 +0000 (00:33 +0000)]
fix jpg to jpeg in the list of image file formats in the synopsis
Tony Cook [Fri, 12 Dec 2008 11:51:19 +0000 (11:51 +0000)]
0.67 release
Tony Cook [Fri, 12 Dec 2008 11:50:02 +0000 (11:50 +0000)]
add file required for ICO tests
Tony Cook [Fri, 12 Dec 2008 11:42:45 +0000 (11:42 +0000)]
0.66 release
Tony Cook [Fri, 12 Dec 2008 10:23:18 +0000 (10:23 +0000)]
- re-arrange the POD for Imager::Font::BBox:
- mark total_width(), pos_width(), end_offset() obsolete, since
they're mostly for backwards compatibility
- group width methods and height methods
https://rt.cpan.org/Ticket/Display.html?id=39999
Tony Cook [Fri, 12 Dec 2008 09:40:19 +0000 (09:40 +0000)]
- add limited tests for Imager::ExtUtils
- make Imager::ExtUtils->includes use an absolute path, since
a relative path could cause failures using Inline::C.
http://rt.cpan.org/Ticket/Display.html?id=37353
Tony Cook [Fri, 12 Dec 2008 08:49:27 +0000 (08:49 +0000)]
- write out the image size in bytes field of a BMP correctly.
http://rt.cpan.org/Ticket/Display.html?id=41406
Tony Cook [Thu, 11 Dec 2008 11:04:53 +0000 (11:04 +0000)]
- corrected a reference leak where writing GIFs would leak memory.
This could also happen calling to_paletted().
Also documented the underlying long existing feature where the
colors parameter is filled with the generated color table and added
tests for it.
http://rt.cpan.org/Ticket/Display.html?id=41028
Tony Cook [Sat, 29 Nov 2008 23:38:12 +0000 (23:38 +0000)]
extend the synopsis a little so people realize type is optional for
reading and often for writing.
also, simple examples of other data sources/sinks
Tony Cook [Sat, 29 Nov 2008 23:29:36 +0000 (23:29 +0000)]
be more consistent with =item * for the I/O parameters
Tony Cook [Wed, 19 Nov 2008 09:09:40 +0000 (09:09 +0000)]
note the memory leak fix in Changes
Tony Cook [Wed, 19 Nov 2008 08:29:25 +0000 (08:29 +0000)]
avoid a leaked reference if we create the colors array ref ourselves
when copying colors back after a write
since this behaviour is undocumented and untested, perhaps it should
be removed
Tony Cook [Wed, 28 May 2008 04:27:34 +0000 (04:27 +0000)]
- 24-bit color .ICO/.CUR files can now be read.
Tony Cook [Mon, 26 May 2008 06:44:34 +0000 (06:44 +0000)]
- an optimization skipping 0 src alpha values could cause the
rubthrough() to read past the end of a buffer.
http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1509184.html
Tony Cook [Mon, 26 May 2008 06:41:57 +0000 (06:41 +0000)]
forgot to commit (and release!) the version of Changes with the
release date
Tony Cook [Tue, 20 May 2008 06:34:16 +0000 (06:34 +0000)]
Imager 0.65 release
Tony Cook [Mon, 5 May 2008 05:02:26 +0000 (05:02 +0000)]
- the gif_screen_height tag was overriding the screen width and being
ignored for the screen height when present.
https://rt.cpan.org/Public/Bug/Display.html?id=35568
Tony Cook [Mon, 5 May 2008 02:47:23 +0000 (02:47 +0000)]
myfree_file_line no longer treats freeing a NULL pointer as an error
Tony Cook [Wed, 30 Apr 2008 10:54:57 +0000 (10:54 +0000)]
- In some cases when an error occurs reading those parts of a JPEG
file after the image the scan-line buffer could be freed a second
time. In cases where the the error occured while reading the image
data it's possible that the buffer could have leaked.
Thanks to Gabriel Vasseur for reporting this and help in tracking
it down.
Tony Cook [Tue, 29 Apr 2008 23:11:55 +0000 (23:11 +0000)]
missed some t/testtools.pl usage
Tony Cook [Tue, 29 Apr 2008 02:05:22 +0000 (02:05 +0000)]
eliminate t/testtools.pl
have t/t35ttfont.pl check the font is created, this may have been the
cause of the failure at
http://www.nntp.perl.org/group/perl.cpan.testers/
1313902
Tony Cook [Tue, 29 Apr 2008 02:02:37 +0000 (02:02 +0000)]
add CVE for the security issue
Tony Cook [Wed, 23 Apr 2008 04:07:56 +0000 (04:07 +0000)]
0.64 release
Tony Cook [Wed, 23 Apr 2008 01:00:02 +0000 (01:00 +0000)]
- fixed a related problem for image fills.
- Possible security issue: The floating point sample path for image
based fills had a buffer overflow. This would overwrite the end of
a malloc()ed buffer with double precision floats.
Tony Cook [Tue, 22 Apr 2008 04:10:06 +0000 (04:10 +0000)]
- Regression: filling a greyscale image with a hatch used the wrong
color channels from the supplied fg/bg colors.
https://rt.cpan.org/Ticket/Display.html?id=35278
Tony Cook [Fri, 18 Apr 2008 04:36:55 +0000 (04:36 +0000)]
- check that the result of fileno($fh) is defined rather than simply
true when read() or write() is supplied with an fh parameter.
http://rt.cpan.org/Ticket/Display.html?id=35139
- i_scale_axis() wasn't checking the result of i_img_new_ch()
resulting in a SIGSEGV when attempting to scale an image to a size
too large to fit in memory. This is a NULL pointer access issue,
not a buffer overflow.
Added a check for the failure.
scale_calculate() (and hence scale()) will now fail if any of the
scale size parameters are a reference.
http://rt.cpan.org/Ticket/Display.html?id=35172
Tony Cook [Wed, 16 Apr 2008 23:59:41 +0000 (23:59 +0000)]
TODO: elliptical arc
arc() now does AA filled areas, correct the BUGS in Imager::Draw
Tony Cook [Mon, 7 Apr 2008 09:14:27 +0000 (09:14 +0000)]
Imager 0.63 release
Tony Cook [Mon, 7 Apr 2008 07:58:31 +0000 (07:58 +0000)]
some of the changes were bugs, put them under the bug heading
explain the release
Tony Cook [Mon, 7 Apr 2008 07:54:53 +0000 (07:54 +0000)]
warning clean up - clean up unusued variables, fix some const
correctness
removed some #if 0 code
Tony Cook [Mon, 7 Apr 2008 07:54:22 +0000 (07:54 +0000)]
new plans
Tony Cook [Tue, 1 Apr 2008 10:23:47 +0000 (10:23 +0000)]
- removed the pointless #! line from lib/Imager/Font/Wrap.pm
Noticed when I saw:
https://bugzilla.redhat.com/show_bug.cgi?id=166254
I'm not changing the #! lines of the sample code, since it's sample
code, not intended for installation.
http://rt.cpan.org/Ticket/Display.html?id=33408
Tony Cook [Tue, 1 Apr 2008 10:12:17 +0000 (10:12 +0000)]
- mixing qtype scaling now sets all channels of a pixel to zero if
the pixel has zero coverage (zero alpha). This should produce more
compressible output files.
http://rt.cpan.org/Ticket/Display.html?id=32324
Tony Cook [Tue, 1 Apr 2008 09:48:59 +0000 (09:48 +0000)]
- writing a 2 or 4 channel image to a BMP file will now write that
image as if composited against a background, black by default,
overridable with the i_background tag/parameter.
http://rt.cpan.org/Ticket/Display.html?id=30075
Tony Cook [Tue, 1 Apr 2008 09:24:17 +0000 (09:24 +0000)]
add i_gsamp_bg/i_gsampf_bg functions, sample based versions of
i_adapt_colors()
revert the pnm/jpeg writing code to closer to the older version, using
i_gsamp_bg() to avoid the extra steps
Tony Cook [Tue, 1 Apr 2008 08:15:22 +0000 (08:15 +0000)]
- writing a 2 or 4 channel image to a PGM/PPM will now write that
image as if composited against a background, black by default,
overridable with the i_background tag/parameter.
http://rt.cpan.org/Ticket/Display.html?id=30074
Tony Cook [Tue, 1 Apr 2008 08:13:09 +0000 (08:13 +0000)]
clean up some unused variables
Tony Cook [Tue, 1 Apr 2008 06:47:28 +0000 (06:47 +0000)]
- writing a 2 or 4 channel image to a JPEG will now write that image as
if composited against a background, black by default, overridable
with the i_background tag/parameter.
https://rt.cpan.org/Ticket/Display.html?id=29876
Tony Cook [Tue, 25 Mar 2008 14:58:44 +0000 (14:58 +0000)]
remove some #if 0 code
Tony Cook [Tue, 25 Mar 2008 14:56:16 +0000 (14:56 +0000)]
missing test file
Tony Cook [Tue, 25 Mar 2008 11:29:06 +0000 (11:29 +0000)]
- some TGA images weren't being detected correctly as TGA images
https://rt.cpan.org/Ticket/Display.html?id=32925
- handling of the left-over bit for 16-bit/pixel TGA images has been
changed to match the behaviour of the GIMP. Previously the bit
being set was treated as an opaque pixel, but one user reported a
problem with loading such an image. I haven't been able to find any
tools beyond the GIMP that handle alpha-channel 16-bit TGAs, so
I'll match it's behaviour. See issue 114913 in the GIMP's
bugzilla.
http://rt.cpan.org/Ticket/Display.html?id=32926
Tony Cook [Tue, 25 Mar 2008 08:20:50 +0000 (08:20 +0000)]
commit changes from draw branch
Tony Cook [Wed, 26 Dec 2007 10:33:35 +0000 (10:33 +0000)]
Extra ways of calling translate(), shear()
Tony Cook [Mon, 10 Dec 2007 10:17:24 +0000 (10:17 +0000)]
- the font libraries are now only initialized when needed.
http://rt.cpan.org/Ticket/Display.html?id=28825
Tony Cook [Mon, 10 Dec 2007 09:19:27 +0000 (09:19 +0000)]
- Imager::Matrix2d->translate() now only requires one of the x or y
parameters.
Tony Cook [Mon, 10 Dec 2007 09:04:55 +0000 (09:04 +0000)]
Imager 0.62 release
Tony Cook [Mon, 10 Dec 2007 04:30:48 +0000 (04:30 +0000)]
ignore filters.c, now it's generated
Tony Cook [Mon, 10 Dec 2007 04:27:20 +0000 (04:27 +0000)]
test that Parse::RecDescent is loadable to avoid problems like
https://rt.cpan.org/Ticket/Display.html?id=31320
Tony Cook [Mon, 10 Dec 2007 03:21:33 +0000 (03:21 +0000)]
- added the det() function to the transform2() engine.
added the sample quad_to_square.pl
Tony Cook [Thu, 6 Dec 2007 06:21:14 +0000 (06:21 +0000)]
Imager no longer supports OS X 10.2
Tony Cook [Thu, 6 Dec 2007 06:15:06 +0000 (06:15 +0000)]
remove support for OS X 10.2
Tony Cook [Thu, 6 Dec 2007 06:08:36 +0000 (06:08 +0000)]
rearrange dynaload code to avoid some OS X issues
Tony Cook [Thu, 6 Dec 2007 06:05:18 +0000 (06:05 +0000)]
fix the POD I just broke
Tony Cook [Tue, 4 Dec 2007 05:36:16 +0000 (05:36 +0000)]
more done
Tony Cook [Tue, 4 Dec 2007 05:35:21 +0000 (05:35 +0000)]
test for pbm images matching the original
Tony Cook [Tue, 4 Dec 2007 05:19:08 +0000 (05:19 +0000)]
add some tests for scale_calculate()
Tony Cook [Tue, 4 Dec 2007 03:46:42 +0000 (03:46 +0000)]
describe the color model
Tony Cook [Mon, 3 Dec 2007 05:59:17 +0000 (05:59 +0000)]
split out the calculations of the final scale factors/sizes so you can
calculate them without performing the scale itself
Tony Cook [Mon, 3 Dec 2007 03:59:30 +0000 (03:59 +0000)]
more todo, some stuff done
Tony Cook [Mon, 3 Dec 2007 03:57:51 +0000 (03:57 +0000)]
- the hardinvert filter no-longer inverts the alpha channel.
http://rt.cpan.org/Ticket/Display.html?id=30002
- the hardinvert filter now supports large samples
Tony Cook [Mon, 3 Dec 2007 00:51:52 +0000 (00:51 +0000)]
- work around Module::Depends::Intrusive bug #21229
allow Makefile.PL to be required
Tony Cook [Mon, 3 Dec 2007 00:36:10 +0000 (00:36 +0000)]
work around the 5.005_0[45] B bug
Tony Cook [Mon, 3 Dec 2007 00:33:44 +0000 (00:33 +0000)]
- samples/gifscale.pl sourced the base value for gif_top from
gif_left.
Thanks to Eleneldil G. Arilou for pointing this out.
Tony Cook [Wed, 28 Nov 2007 09:57:21 +0000 (09:57 +0000)]
0.61_02 release
0.61_01 only in svn
Tony Cook [Wed, 28 Nov 2007 09:56:17 +0000 (09:56 +0000)]
the _T4 and _T6 macros aren't available in 3.5.5, so use the older
macros
Tony Cook [Wed, 28 Nov 2007 09:44:24 +0000 (09:44 +0000)]
0.61_01 release
Tony Cook [Wed, 28 Nov 2007 09:35:57 +0000 (09:35 +0000)]
add filter large sample support table
Tony Cook [Wed, 28 Nov 2007 09:31:19 +0000 (09:31 +0000)]
updated TIFF information
Tony Cook [Wed, 28 Nov 2007 08:49:56 +0000 (08:49 +0000)]
correct a C99ism
Tony Cook [Wed, 28 Nov 2007 08:48:49 +0000 (08:48 +0000)]
can't add to a void *
Tony Cook [Wed, 28 Nov 2007 05:16:24 +0000 (05:16 +0000)]
refer to my original ticket for this
Tony Cook [Wed, 28 Nov 2007 05:00:00 +0000 (05:00 +0000)]
Richard helped a lot
Tony Cook [Wed, 28 Nov 2007 04:59:26 +0000 (04:59 +0000)]
- on some perl's the infix expression parser test would fail due to
actions in the grammar returning false. Made sure all actions return
a true value.
Tony Cook [Wed, 28 Nov 2007 04:18:47 +0000 (04:18 +0000)]
work around limits of older libtiffs
Tony Cook [Tue, 27 Nov 2007 03:10:52 +0000 (03:10 +0000)]
more for 0.62
Tony Cook [Tue, 27 Nov 2007 03:08:03 +0000 (03:08 +0000)]
fix the is_bilevel() method index entry
Tony Cook [Tue, 27 Nov 2007 03:07:44 +0000 (03:07 +0000)]
avoid a dangerous cast (in an unused function)
Tony Cook [Mon, 26 Nov 2007 10:30:01 +0000 (10:30 +0000)]
merge in tiff re-work branch
Tony Cook [Thu, 22 Nov 2007 00:03:54 +0000 (00:03 +0000)]
planning too far ahead
Tony Cook [Wed, 21 Nov 2007 23:46:04 +0000 (23:46 +0000)]
formatting nit
Tony Cook [Wed, 21 Nov 2007 13:11:16 +0000 (13:11 +0000)]
fix broken link from the animated GIF entry in the concept index.
Tony Cook [Mon, 12 Nov 2007 10:26:25 +0000 (10:26 +0000)]
alpha channel fixes for mixing scaling