Tony Cook [Tue, 17 May 2005 00:25:54 +0000 (00:25 +0000)]
- Imager no longer assumes that MSVC is the only native Win32
compiler, MinGW can be used to build Imager.
Tony Cook [Tue, 17 May 2005 00:22:22 +0000 (00:22 +0000)]
- prevent warnings from Makefile.PL when there's no libraries found
Tony Cook [Tue, 17 May 2005 00:19:15 +0000 (00:19 +0000)]
- fix the filter examples in Imager::Filter so they don't indicate that
a new image is returned (the filter() method works in-place)
- add examples for the fountain filter
Tony Cook [Mon, 16 May 2005 06:34:18 +0000 (06:34 +0000)]
got something done
Tony Cook [Wed, 11 May 2005 14:37:29 +0000 (14:37 +0000)]
- the setcolors() had a fencepost error making it impossible to
use it to set the last color in the palette.
http://rt.cpan.org/NoAuth/Bug.html?id=12676
Tony Cook [Wed, 11 May 2005 14:35:31 +0000 (14:35 +0000)]
something done
Tony Cook [Wed, 11 May 2005 13:43:29 +0000 (13:43 +0000)]
- the internal function used to probe file formats if the type
parameter wasn't passed to the read() method would produce
diagnostics on stdout, precluding use in web applications. Silenced
it.
Tony Cook [Wed, 11 May 2005 12:47:25 +0000 (12:47 +0000)]
more stuff TODO
Tony Cook [Wed, 11 May 2005 12:43:38 +0000 (12:43 +0000)]
Support mingw built perl
Tony Cook [Sat, 7 May 2005 23:40:11 +0000 (23:40 +0000)]
- removed the bug reporting email address to prevent spammers stripping
it. The URL is still there and if someone knows how rt.cpan.org works
they can still figure out the email.
Tony Cook [Sat, 7 May 2005 23:34:19 +0000 (23:34 +0000)]
put the detail output file in a saner place
Tony Cook [Mon, 2 May 2005 14:42:25 +0000 (14:42 +0000)]
something got done!
Tony Cook [Mon, 2 May 2005 14:37:48 +0000 (14:37 +0000)]
- the Win32 font driver bounding_box() method now puts accuarate values
in the ascent and descent values, previous that were set to the
font ascent/descent rather than the values specific to the string.
- supplying align=>0 to the win32 font driver string() function
now aligns in the same way as the other drivers.
Tony Cook [Mon, 2 May 2005 14:11:26 +0000 (14:11 +0000)]
- the FT1.x driver now supports the align parameter correctly.
Tests were added to each driver to check correct handling of the align
parameter.
Tony Cook [Mon, 2 May 2005 12:44:31 +0000 (12:44 +0000)]
changed alignment tests a bit
Tony Cook [Sat, 30 Apr 2005 00:15:04 +0000 (00:15 +0000)]
added alignment tests
Tony Cook [Fri, 29 Apr 2005 14:36:04 +0000 (14:36 +0000)]
- the internal i_tags_get_string() function now acts correctly for
integer only tags.
Tony Cook [Wed, 27 Apr 2005 07:59:43 +0000 (07:59 +0000)]
- Imager::Matrix2d->rotate() would only rotate around the supplied
centre point if both 'x' and 'y' were non-zero.
Tony Cook [Wed, 27 Apr 2005 07:33:15 +0000 (07:33 +0000)]
right bearings done
Tony Cook [Tue, 26 Apr 2005 11:10:01 +0000 (11:10 +0000)]
skip the right number for when there's no FT1
skip the win32 addfontresource on cygwin since it's non-obvious
how to get the path to the fontfile
Tony Cook [Tue, 26 Apr 2005 10:45:21 +0000 (10:45 +0000)]
- Imager::Font::BBox objects now have right_bearing() and display_width()
methods. Hopefully this and the advance_width() method fills out
the Imager bounding box interface to a useful state.
Implemented for all four font drivers.
- Win32 font bounding_box() method now supports the advance width
and right bearing values.
Tony Cook [Tue, 26 Apr 2005 09:07:39 +0000 (09:07 +0000)]
remove old #if ed out code
Tony Cook [Tue, 26 Apr 2005 08:55:35 +0000 (08:55 +0000)]
- Imager::Font::BBox objects now have right_bearing() and display_width()
methods. Hopefully this and the advance_width() method fills out
the Imager bounding box interface to a useful state.
Implemented for FT2, FT1.x, T1Lib so far.
Tony Cook [Tue, 26 Apr 2005 07:40:40 +0000 (07:40 +0000)]
fix a warning
Tony Cook [Mon, 25 Apr 2005 08:41:32 +0000 (08:41 +0000)]
converted to Test::More
Tony Cook [Sun, 24 Apr 2005 11:28:01 +0000 (11:28 +0000)]
- Imager::Font::BBox objects now have right_bearing() and display_width()
methods. Hopefully this and the advance_width() method fills out
the Imager bounding box interface to a useful state.
Implemented for FT2 so far.
Tony Cook [Sat, 23 Apr 2005 13:37:05 +0000 (13:37 +0000)]
convert to Test::More
Tony Cook [Sat, 23 Apr 2005 03:06:06 +0000 (03:06 +0000)]
added use strict
Tony Cook [Fri, 22 Apr 2005 05:43:06 +0000 (05:43 +0000)]
some stuff done
Tony Cook [Thu, 21 Apr 2005 14:58:55 +0000 (14:58 +0000)]
- the FT 1.x was comparing versus an uninitialized variable when
checking the end of string when calculating the right side bearing
used to adjust pos_width for glyphs that overlap the right side of the
advance width.
Tony Cook [Thu, 21 Apr 2005 14:41:54 +0000 (14:41 +0000)]
converted to Test::More
Tony Cook [Thu, 21 Apr 2005 14:07:33 +0000 (14:07 +0000)]
found a bug
Tony Cook [Wed, 20 Apr 2005 15:26:28 +0000 (15:26 +0000)]
missed a SKIP: label for use on non-Win32
Tony Cook [Wed, 20 Apr 2005 15:21:29 +0000 (15:21 +0000)]
- Imager::Font::BBox advance_width() method was falling back to
the wrong value when the font driver's low level function
didn't return the advance width.
Tony Cook [Wed, 20 Apr 2005 14:52:29 +0000 (14:52 +0000)]
- fix a few compiler warnings
- document the Imager::Font::BBox advance_width() method
Tony Cook [Wed, 20 Apr 2005 13:38:40 +0000 (13:38 +0000)]
- the segments parameter supplied to the fountain filter and the
fountain fill contructor now accepts color names or other
descriptions as other functions do.
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, 13 Apr 2005 14:12:21 +0000 (14:12 +0000)]
converted to Test::More
Tony Cook [Tue, 12 Apr 2005 14:41:28 +0000 (14:41 +0000)]
- added sample code for handling images uploaded via a HTML form.
Tony Cook [Tue, 12 Apr 2005 14:30:35 +0000 (14:30 +0000)]
new samples
Tony Cook [Wed, 6 Apr 2005 11:36:29 +0000 (11:36 +0000)]
- Makefile.PL now adds rules to generate a suitable META.yml to the
generated Makefile.
Tony Cook [Wed, 6 Apr 2005 11:36:06 +0000 (11:36 +0000)]
updates, rearranged to get the stuff still needed at the top
Tony Cook [Sat, 26 Mar 2005 14:18:55 +0000 (14:18 +0000)]
- added samp-form.cgi and samp-image.cgi to the samples directory to
demonstrate displaying a generated image on a HTML page.
Tony Cook [Sat, 26 Mar 2005 14:06:22 +0000 (14:06 +0000)]
CGI samples
Tony Cook [Wed, 16 Mar 2005 13:56:12 +0000 (13:56 +0000)]
- Imager::Cookbook wasn't included in the MANIFEST
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 [Wed, 16 Mar 2005 13:28:18 +0000 (13:28 +0000)]
- correct email addresses in the README file, and include bug reporting
information there too
Tony Cook [Wed, 16 Mar 2005 13:20:56 +0000 (13:20 +0000)]
minor typo
Tony Cook [Wed, 16 Mar 2005 13:18:24 +0000 (13:18 +0000)]
size reduced to reduce dist size
Tony Cook [Wed, 16 Mar 2005 02:58:09 +0000 (02:58 +0000)]
Initial version
Tony Cook [Tue, 15 Mar 2005 13:46:32 +0000 (13:46 +0000)]
fix the second argument in the synopsis
Tony Cook [Mon, 14 Mar 2005 02:44:49 +0000 (02:44 +0000)]
initial version
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 [Fri, 11 Mar 2005 11:47:48 +0000 (11:47 +0000)]
make sure we can see the supplied copy of Test::More
Tony Cook [Fri, 11 Mar 2005 11:31:45 +0000 (11:31 +0000)]
convert to Test::More
Tony Cook [Fri, 11 Mar 2005 11:16:31 +0000 (11:16 +0000)]
convert to Test::More
Tony Cook [Fri, 11 Mar 2005 10:52:39 +0000 (10:52 +0000)]
convert to Test::More
Tony Cook [Fri, 11 Mar 2005 10:39:46 +0000 (10:39 +0000)]
convert to Test::More
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 [Tue, 8 Mar 2005 07:36:45 +0000 (07:36 +0000)]
base for hand edited JPEG file
Tony Cook [Tue, 8 Mar 2005 07:36:15 +0000 (07:36 +0000)]
base for hand-edited test tga images
Tony Cook [Tue, 8 Mar 2005 07:34:10 +0000 (07:34 +0000)]
added testimg/longid.tga used to test the long idstring bug
Tony Cook [Tue, 8 Mar 2005 07:29:34 +0000 (07:29 +0000)]
test with a long TGA id
Tony Cook [Tue, 8 Mar 2005 07:28:23 +0000 (07:28 +0000)]
clarify that the change was specific to TGA images
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 [Thu, 10 Feb 2005 12:53:20 +0000 (12:53 +0000)]
a little more detail
Tony Cook [Thu, 10 Feb 2005 12:50:44 +0000 (12:50 +0000)]
- add scaleX/scaleY to the method index and gives them some examples
Tony Cook [Thu, 10 Feb 2005 12:49:30 +0000 (12:49 +0000)]
some stuff done
Tony Cook [Thu, 10 Feb 2005 12:46:22 +0000 (12:46 +0000)]
fix some function headers, removed some junk code
Tony Cook [Thu, 10 Feb 2005 12:44:57 +0000 (12:44 +0000)]
more todo
Tony Cook [Wed, 2 Feb 2005 12:19:37 +0000 (12:19 +0000)]
add entries for the filters to the concept index
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, 31 Jan 2005 13:55:56 +0000 (13:55 +0000)]
some stuff done, moved 0.44 down to the end
Tony Cook [Mon, 31 Jan 2005 09:07:58 +0000 (09:07 +0000)]
revert the precalculation of the sum of the coefficients - it
was incorrect
Tony Cook [Mon, 24 Jan 2005 13:18:48 +0000 (13:18 +0000)]
- eliminate unused variables and static functions
- simplify some XS code by adding another typemap entry
Tony Cook [Mon, 24 Jan 2005 13:17:21 +0000 (13:17 +0000)]
link to the cookbook
Tony Cook [Mon, 24 Jan 2005 13:15:20 +0000 (13:15 +0000)]
various TODOs done, new ones added
Tony Cook [Mon, 24 Jan 2005 12:58:21 +0000 (12:58 +0000)]
- minor cleanup of Imager::Fill
Tony Cook [Mon, 24 Jan 2005 12:04:00 +0000 (12:04 +0000)]
missed setting it for centimetres
Tony Cook [Mon, 24 Jan 2005 10:45:56 +0000 (10:45 +0000)]
- more examples in Imager::Draw
Tony Cook [Mon, 24 Jan 2005 10:44:45 +0000 (10:44 +0000)]
- explicitly document there are no PNG specific tags.
Tony Cook [Mon, 24 Jan 2005 10:43:45 +0000 (10:43 +0000)]
- calculate the sum of the coefficients once rather than for every
pixel in i_conv() (convolution filter)
Tony Cook [Mon, 24 Jan 2005 10:38:34 +0000 (10:38 +0000)]
- added simple examples to most of the filters documented in
Imager::Filters
Tony Cook [Mon, 24 Jan 2005 10:26:25 +0000 (10:26 +0000)]
- Makefile.PL now accepts command-line options to set include and library
directories and to enable/disable drivers.
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, 6 Jan 2005 09:43:43 +0000 (09:43 +0000)]
- Makefile.PL now builds imconfig.h with #defines for libraries
present (and for the GIF library version) rather than putting them
into CFLAGS
Tony Cook [Thu, 6 Jan 2005 09:42:03 +0000 (09:42 +0000)]
removed junk entry
Tony Cook [Thu, 6 Jan 2005 09:04:43 +0000 (09:04 +0000)]
- avoid complaining about include/lib directories we pull from
perl's config or we have built-in
Tony Cook [Wed, 5 Jan 2005 03:38:57 +0000 (03:38 +0000)]
had =cut instead of =back
Tony Cook [Wed, 5 Jan 2005 03:31:28 +0000 (03:31 +0000)]
cookbook updates
Tony Cook [Wed, 5 Jan 2005 02:01:17 +0000 (02:01 +0000)]
working release notice
Tony Cook [Sat, 1 Jan 2005 14:42:17 +0000 (14:42 +0000)]
- Makefile.PL now attempts to use freetype-config to configure freetype 2
and pkg-config to configure libpng.
Tony Cook [Sat, 1 Jan 2005 14:20:55 +0000 (14:20 +0000)]
- added tiff_resolutionunit_name tag when reading tiff files
Tony Cook [Sat, 1 Jan 2005 13:58:33 +0000 (13:58 +0000)]
- the i_xres and i_yres tags are now stored in a resolution similar
to their source.
Resolves: https://rt.cpan.org/Ticket/Display.html?id=8520
Tony Cook [Sat, 1 Jan 2005 13:45:39 +0000 (13:45 +0000)]
- the tiff reader now puts warning messages produced during reading into
the i_warning tag.
Resolves: https://rt.cpan.org/Ticket/Display.html?id=8722
Tony Cook [Sat, 1 Jan 2005 13:27:19 +0000 (13:27 +0000)]
test for warnings reading a tiff image
Tony Cook [Sat, 1 Jan 2005 13:22:55 +0000 (13:22 +0000)]
- added .pcf and .pcf.gz to the list of extensions supported by ft2
Tony Cook [Sat, 1 Jan 2005 13:18:03 +0000 (13:18 +0000)]
- added trivial multiple master support via the FT2 driver
Tony Cook [Sat, 1 Jan 2005 07:36:14 +0000 (07:36 +0000)]
Multiple master test font