Tony Cook [Fri, 15 Apr 2005 10:48:27 +0000 (10:48 +0000)]
- newer versions of GIMP add a line to gradient files before the
segment count giving a descriptive name of the gradient.
Imager::Fountain can now read and write such gradient files. The
interface is a bit indirect, but I'd like to preserve
Imager::Fountain as a blessed array ref for now.
Tony Cook [Wed, 16 Mar 2005 13:48:51 +0000 (13:48 +0000)]
- added README for samples directory, describes interleave.pl and
anaglyph.pl to start.
- the XS for the internal i_glin() function wasn't copying the pixel
values across to the returned color objects.
http://rt.cpan.org/NoAuth/Bug.html?id=11860
Tony Cook [Fri, 11 Mar 2005 11:57:34 +0000 (11:57 +0000)]
- the convert, crop, rotate, copy, matrix_transform, to_paletted, to_rgb8,
scaleX and scaleY methods now warn when called in void context.
http://rt.cpan.org/NoAuth/Bug.html?id=9672
Tony Cook [Tue, 8 Mar 2005 08:02:59 +0000 (08:02 +0000)]
- calling the read() method for a format not included in the Imager build,
for example, JPEG with no libjpeg installed, would crash with an
undefined function error (modified by DynaLoaders dependence on
AutoLoader.
http://rt.cpan.org/NoAuth/Bug.html?id=9618
- some test scripts have been modified to use Test::More, which is now
included under the t directory. Eventually all will be modified to use
Test::More and the duplicates in t/testtools.pl will be removed
Tony Cook [Mon, 28 Feb 2005 06:56:27 +0000 (06:56 +0000)]
- reading an image with an idstring of 128 or more bytes would result
in an allocation error, if the platform char type was signed
- tests now check that tga tags are set
Tony Cook [Thu, 10 Feb 2005 13:12:56 +0000 (13:12 +0000)]
- call read() instead of open() in the example code in Imager.pm,
and mention that open() is an alias for read().
http://rt.cpan.org/NoAuth/Bug.html?id=11431
- added reference list of crop() parameters.
http://rt.cpan.org/NoAuth/Bug.html?id=11430
Tony Cook [Mon, 31 Jan 2005 14:08:57 +0000 (14:08 +0000)]
- the right-side bearing used to adjust the final width wasn't being
calculated correctly, this would cause the bounding_box() function for
freetype 2.x to return a larger than expected text width.
http://rt.cpan.org/NoAuth/Bug.html?id=11291
Tony Cook [Mon, 24 Jan 2005 10:19:50 +0000 (10:19 +0000)]
- scanning for required include files is now down by directory rather
than by file, using -e to check for the existence for a file rather than
doing an eq against every filename in the directory.
- previously we only checked a candidate include directory for freetype.h
to consider it a valid FT1.x include directory. We now check if it
contains fterrors.h too, if it does, then it's from a FT2 installation
and we ignore it.
Tony Cook [Thu, 23 Dec 2004 23:01:27 +0000 (23:01 +0000)]
- we were undefing the wrong macro (used as an include guard) when
building the error code translation function for freetype 2. This
meant most errors came out as numbers.
Tony Cook [Thu, 23 Dec 2004 01:05:44 +0000 (01:05 +0000)]
- Makefile.PL now checks the directories specified by $Config{locincpth}
and $Config{loclibpth} for includes and libraries respectively.
Resolves: https://rt.cpan.org/Ticket/Display.html?id=2942
Tony Cook [Tue, 7 Dec 2004 22:59:23 +0000 (22:59 +0000)]
- make the inclusion of NO_META dependent on the version of EU::MM.
I was going to include a META.yml but EU::MM's generation is too
simplistic (and misses the leading document header too). For now
I'll leave it out.
Tony Cook [Thu, 2 Dec 2004 04:07:27 +0000 (04:07 +0000)]
- i_readraw_wiol() now checks for image creation failure
- i_readrgb_wiol() now checks for image creation failure
- i_writergb_wiol() was an empty stub, it now pushes an error message
and explicitly returns failure.
- i_readrgb_wiol() now sets i_format to rgb.
- set i_format to raw when reading tga files and test for it
- document i_format tag
Tony Cook [Thu, 2 Dec 2004 03:53:37 +0000 (03:53 +0000)]
- test t/t35ttfont.t no longer requires TTFONTTEST to be set (and
hasn't for a long time,) removed that requirement from README
- updated home page URLs throughout the .pods
- added information on reporting bugs to the SUPPORT section of Imager.pm
- regops.perl now sorts the dumped data structure to produce minimal diffs