imager.git
12 years agoAPI documentation (mostly)
Tony Cook [Mon, 7 Sep 2009 14:06:01 +0000 (14:06 +0000)]
API documentation (mostly)

12 years ago0.68 release
Tony Cook [Mon, 7 Sep 2009 05:10:34 +0000 (05:10 +0000)]
0.68 release

12 years agovarious minor documentation updates and fixes
Tony Cook [Mon, 7 Sep 2009 04:54:41 +0000 (04:54 +0000)]
various minor documentation updates and fixes

12 years agoImager->new(file => $filename) does the obvious thing now
Tony Cook [Sun, 6 Sep 2009 01:48:21 +0000 (01:48 +0000)]
Imager->new(file => $filename) does the obvious thing now

12 years agorubthrough change
Tony Cook [Sat, 5 Sep 2009 02:09:21 +0000 (02:09 +0000)]
rubthrough change

12 years agoseparate tiff and no tiff tests
Tony Cook [Sat, 5 Sep 2009 01:09:28 +0000 (01:09 +0000)]
separate tiff and no tiff tests

12 years agore-work gif tests to move no gif available tests to a separate file
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

12 years agoseparate no png support tests into a separate test file to avoid the
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

12 years agore-work jpeg tests - move "no jpeg support" tests into t101nojpeg.t to
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

12 years agoreport library version numbers where we already have the XS for it
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

12 years agoavoid using CHECK as a label, since 5.11.x chokes on 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

12 years ago0.67_01 release
Tony Cook [Thu, 3 Sep 2009 01:52:51 +0000 (01:52 +0000)]
0.67_01 release

12 years agoadd more context to libtiff probe comment
Tony Cook [Wed, 2 Sep 2009 06:34:16 +0000 (06:34 +0000)]
add more context to libtiff probe comment

12 years agoupdate Changes with libtiff probe info
Tony Cook [Wed, 2 Sep 2009 06:32:19 +0000 (06:32 +0000)]
update Changes with libtiff probe info

12 years agoportability to Windows/VC++
Tony Cook [Tue, 1 Sep 2009 13:28:31 +0000 (13:28 +0000)]
portability to Windows/VC++

12 years agoextract the installed tifflib version and don't use tifflib if it's
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

12 years ago - use the new EU::MM META_MERGE facility instead of generating
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

12 years ago - re-work the external libraries section of README:
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

12 years agofix synopsis to load the required modules
Tony Cook [Mon, 31 Aug 2009 12:03:58 +0000 (12:03 +0000)]
fix synopsis to load the required modules

12 years agonote the last change
Tony Cook [Mon, 31 Aug 2009 12:03:14 +0000 (12:03 +0000)]
note the last change

12 years agolook for .bat and .cmd files when probing for executables on MSWIN32
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

12 years agoImager::Font is pretty useless without Imager, so add C< use Imager; >
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)

12 years agoImager::Files isn't a C<use>able module, make that more obvious by
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

12 years ago - correct documentation of default of raw image interleave read
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

12 years agofix jpg to jpeg in the list of image file formats in the synopsis
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

12 years ago0.67 release
Tony Cook [Fri, 12 Dec 2008 11:51:19 +0000 (11:51 +0000)]
0.67 release

12 years agoadd file required for ICO tests
Tony Cook [Fri, 12 Dec 2008 11:50:02 +0000 (11:50 +0000)]
add file required for ICO tests

12 years ago0.66 release
Tony Cook [Fri, 12 Dec 2008 11:42:45 +0000 (11:42 +0000)]
0.66 release

12 years ago - re-arrange the POD for Imager::Font::BBox:
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

12 years ago - add limited tests for Imager::ExtUtils
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

12 years ago - write out the image size in bytes field of a BMP correctly.
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

12 years ago - corrected a reference leak where writing GIFs would leak memory.
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

12 years agoextend the synopsis a little so people realize type is optional for
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

12 years agobe more consistent with =item * for the I/O parameters
Tony Cook [Sat, 29 Nov 2008 23:29:36 +0000 (23:29 +0000)]
be more consistent with =item * for the I/O parameters

12 years agonote the memory leak fix in Changes
Tony Cook [Wed, 19 Nov 2008 09:09:40 +0000 (09:09 +0000)]
note the memory leak fix in Changes

12 years agoavoid a leaked reference if we create the colors array ref ourselves
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

13 years ago - 24-bit color .ICO/.CUR files can now be read.
Tony Cook [Wed, 28 May 2008 04:27:34 +0000 (04:27 +0000)]
 - 24-bit color .ICO/.CUR files can now be read.

13 years ago - an optimization skipping 0 src alpha values could cause the
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

13 years agoforgot to commit (and release!) the version of Changes with the
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

13 years agoImager 0.65 release Imager-0.65
Tony Cook [Tue, 20 May 2008 06:34:16 +0000 (06:34 +0000)]
Imager 0.65 release

13 years ago - the gif_screen_height tag was overriding the screen width and being
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

13 years agomyfree_file_line no longer treats freeing a NULL pointer as an error
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

13 years ago - In some cases when an error occurs reading those parts of a JPEG
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.

13 years agomissed some t/testtools.pl usage
Tony Cook [Tue, 29 Apr 2008 23:11:55 +0000 (23:11 +0000)]
missed some t/testtools.pl usage

13 years agoeliminate t/testtools.pl
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

13 years agoadd CVE for the security issue
Tony Cook [Tue, 29 Apr 2008 02:02:37 +0000 (02:02 +0000)]
add CVE for the security issue

13 years ago0.64 release
Tony Cook [Wed, 23 Apr 2008 04:07:56 +0000 (04:07 +0000)]
0.64 release

13 years ago - fixed a related problem for image fills.
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.

13 years ago - Regression: filling a greyscale image with a hatch used the wrong
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

13 years ago - check that the result of fileno($fh) is defined rather than simply
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

13 years agoTODO: elliptical arc
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

13 years agoImager 0.63 release Imager-0.63
Tony Cook [Mon, 7 Apr 2008 09:14:27 +0000 (09:14 +0000)]
Imager 0.63 release

13 years agosome of the changes were bugs, put them under the bug heading
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

13 years agowarning clean up - clean up unusued variables, fix some const
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

13 years agonew plans
Tony Cook [Mon, 7 Apr 2008 07:54:22 +0000 (07:54 +0000)]
new plans

13 years ago - removed the pointless #! line from lib/Imager/Font/Wrap.pm
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

13 years ago - mixing qtype scaling now sets all channels of a pixel to zero if
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

13 years ago - writing a 2 or 4 channel image to a BMP file will now write that
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

13 years agoadd i_gsamp_bg/i_gsampf_bg functions, sample based versions of
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

13 years ago - writing a 2 or 4 channel image to a PGM/PPM will now write that
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

13 years agoclean up some unused variables
Tony Cook [Tue, 1 Apr 2008 08:13:09 +0000 (08:13 +0000)]
clean up some unused variables

13 years ago - writing a 2 or 4 channel image to a JPEG will now write that image as
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

13 years agoremove some #if 0 code
Tony Cook [Tue, 25 Mar 2008 14:58:44 +0000 (14:58 +0000)]
remove some #if 0 code

13 years agomissing test file
Tony Cook [Tue, 25 Mar 2008 14:56:16 +0000 (14:56 +0000)]
missing test file

13 years ago - some TGA images weren't being detected correctly as TGA images
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

13 years agocommit changes from draw branch
Tony Cook [Tue, 25 Mar 2008 08:20:50 +0000 (08:20 +0000)]
commit changes from draw branch

13 years agoExtra ways of calling translate(), shear()
Tony Cook [Wed, 26 Dec 2007 10:33:35 +0000 (10:33 +0000)]
Extra ways of calling translate(), shear()

13 years ago - the font libraries are now only initialized when needed.
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

13 years ago - Imager::Matrix2d->translate() now only requires one of the x or y
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.

13 years agoImager 0.62 release
Tony Cook [Mon, 10 Dec 2007 09:04:55 +0000 (09:04 +0000)]
Imager 0.62 release

13 years agoignore filters.c, now it's generated
Tony Cook [Mon, 10 Dec 2007 04:30:48 +0000 (04:30 +0000)]
ignore filters.c, now it's generated

13 years agotest that Parse::RecDescent is loadable to avoid problems like
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

13 years ago - added the det() function to the transform2() engine.
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

13 years agoImager no longer supports OS X 10.2
Tony Cook [Thu, 6 Dec 2007 06:21:14 +0000 (06:21 +0000)]
Imager no longer supports OS X 10.2

13 years agoremove support for OS X 10.2
Tony Cook [Thu, 6 Dec 2007 06:15:06 +0000 (06:15 +0000)]
remove support for OS X 10.2

13 years agorearrange dynaload code to avoid some OS X issues
Tony Cook [Thu, 6 Dec 2007 06:08:36 +0000 (06:08 +0000)]
rearrange dynaload code to avoid some OS X issues

13 years agofix the POD I just broke
Tony Cook [Thu, 6 Dec 2007 06:05:18 +0000 (06:05 +0000)]
fix the POD I just broke

13 years agomore done
Tony Cook [Tue, 4 Dec 2007 05:36:16 +0000 (05:36 +0000)]
more done

13 years agotest for pbm images matching the original
Tony Cook [Tue, 4 Dec 2007 05:35:21 +0000 (05:35 +0000)]
test for pbm images matching the original

13 years agoadd some tests for scale_calculate()
Tony Cook [Tue, 4 Dec 2007 05:19:08 +0000 (05:19 +0000)]
add some tests for scale_calculate()

13 years agodescribe the color model
Tony Cook [Tue, 4 Dec 2007 03:46:42 +0000 (03:46 +0000)]
describe the color model

13 years agosplit out the calculations of the final scale factors/sizes so you can
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

13 years agomore todo, some stuff done
Tony Cook [Mon, 3 Dec 2007 03:59:30 +0000 (03:59 +0000)]
more todo, some stuff done

13 years ago - the hardinvert filter no-longer inverts the alpha channel.
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

13 years ago - work around Module::Depends::Intrusive bug #21229
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

13 years agowork around the 5.005_0[45] B bug
Tony Cook [Mon, 3 Dec 2007 00:36:10 +0000 (00:36 +0000)]
work around the 5.005_0[45] B bug

13 years ago - samples/gifscale.pl sourced the base value for gif_top from
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.

13 years ago0.61_02 release
Tony Cook [Wed, 28 Nov 2007 09:57:21 +0000 (09:57 +0000)]
0.61_02 release

0.61_01 only in svn

13 years agothe _T4 and _T6 macros aren't available in 3.5.5, so use the older
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

13 years ago0.61_01 release
Tony Cook [Wed, 28 Nov 2007 09:44:24 +0000 (09:44 +0000)]
0.61_01 release

13 years agoadd filter large sample support table
Tony Cook [Wed, 28 Nov 2007 09:35:57 +0000 (09:35 +0000)]
add filter large sample support table

13 years agoupdated TIFF information
Tony Cook [Wed, 28 Nov 2007 09:31:19 +0000 (09:31 +0000)]
updated TIFF information

13 years agocorrect a C99ism
Tony Cook [Wed, 28 Nov 2007 08:49:56 +0000 (08:49 +0000)]
correct a C99ism

13 years agocan't add to a void *
Tony Cook [Wed, 28 Nov 2007 08:48:49 +0000 (08:48 +0000)]
can't add to a void *

13 years agorefer to my original ticket for this
Tony Cook [Wed, 28 Nov 2007 05:16:24 +0000 (05:16 +0000)]
refer to my original ticket for this

13 years agoRichard helped a lot
Tony Cook [Wed, 28 Nov 2007 05:00:00 +0000 (05:00 +0000)]
Richard helped a lot

13 years ago - on some perl's the infix expression parser test would fail due to
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.

13 years agowork around limits of older libtiffs
Tony Cook [Wed, 28 Nov 2007 04:18:47 +0000 (04:18 +0000)]
work around limits of older libtiffs

13 years agomore for 0.62
Tony Cook [Tue, 27 Nov 2007 03:10:52 +0000 (03:10 +0000)]
more for 0.62

13 years agofix the is_bilevel() method index entry
Tony Cook [Tue, 27 Nov 2007 03:08:03 +0000 (03:08 +0000)]
fix the is_bilevel() method index entry