imager.git
16 years ago- Imager no longer assumes that MSVC is the only native Win32
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.

16 years ago- prevent warnings from Makefile.PL when there's no libraries found
Tony Cook [Tue, 17 May 2005 00:22:22 +0000 (00:22 +0000)]
- prevent warnings from Makefile.PL when there's no libraries found

16 years ago- fix the filter examples in Imager::Filter so they don't indicate that
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

16 years agogot something done
Tony Cook [Mon, 16 May 2005 06:34:18 +0000 (06:34 +0000)]
got something done

16 years ago- the setcolors() had a fencepost error making it impossible to
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

16 years agosomething done
Tony Cook [Wed, 11 May 2005 14:35:31 +0000 (14:35 +0000)]
something done

16 years ago- the internal function used to probe file formats if the type
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.

16 years agomore stuff TODO
Tony Cook [Wed, 11 May 2005 12:47:25 +0000 (12:47 +0000)]
more stuff TODO

16 years agoSupport mingw built perl
Tony Cook [Wed, 11 May 2005 12:43:38 +0000 (12:43 +0000)]
Support mingw built perl

16 years ago- removed the bug reporting email address to prevent spammers stripping
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.

16 years agoput the detail output file in a saner place
Tony Cook [Sat, 7 May 2005 23:34:19 +0000 (23:34 +0000)]
put the detail output file in a saner place

16 years agosomething got done!
Tony Cook [Mon, 2 May 2005 14:42:25 +0000 (14:42 +0000)]
something got done!

16 years ago- the Win32 font driver bounding_box() method now puts accuarate values
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.

16 years ago- the FT1.x driver now supports the align parameter correctly.
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.

16 years agochanged alignment tests a bit
Tony Cook [Mon, 2 May 2005 12:44:31 +0000 (12:44 +0000)]
changed alignment tests a bit

16 years agoadded alignment tests
Tony Cook [Sat, 30 Apr 2005 00:15:04 +0000 (00:15 +0000)]
added alignment tests

16 years ago- the internal i_tags_get_string() function now acts correctly for
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.

16 years ago- Imager::Matrix2d->rotate() would only rotate around the supplied
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.

16 years agoright bearings done
Tony Cook [Wed, 27 Apr 2005 07:33:15 +0000 (07:33 +0000)]
right bearings done

16 years agoskip the right number for when there's no FT1
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

16 years ago- Imager::Font::BBox objects now have right_bearing() and display_width()
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.

16 years agoremove old #if ed out code
Tony Cook [Tue, 26 Apr 2005 09:07:39 +0000 (09:07 +0000)]
remove old #if ed out code

16 years ago- Imager::Font::BBox objects now have right_bearing() and display_width()
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.

16 years agofix a warning
Tony Cook [Tue, 26 Apr 2005 07:40:40 +0000 (07:40 +0000)]
fix a warning

16 years agoconverted to Test::More
Tony Cook [Mon, 25 Apr 2005 08:41:32 +0000 (08:41 +0000)]
converted to Test::More

16 years ago- Imager::Font::BBox objects now have right_bearing() and display_width()
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.

16 years agoconvert to Test::More
Tony Cook [Sat, 23 Apr 2005 13:37:05 +0000 (13:37 +0000)]
convert to Test::More

16 years agoadded use strict
Tony Cook [Sat, 23 Apr 2005 03:06:06 +0000 (03:06 +0000)]
added use strict

16 years agosome stuff done
Tony Cook [Fri, 22 Apr 2005 05:43:06 +0000 (05:43 +0000)]
some stuff done

16 years ago- the FT 1.x was comparing versus an uninitialized variable when
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.

16 years agoconverted to Test::More
Tony Cook [Thu, 21 Apr 2005 14:41:54 +0000 (14:41 +0000)]
converted to Test::More

16 years agofound a bug
Tony Cook [Thu, 21 Apr 2005 14:07:33 +0000 (14:07 +0000)]
found a bug

16 years agomissed a SKIP: label for use on non-Win32
Tony Cook [Wed, 20 Apr 2005 15:26:28 +0000 (15:26 +0000)]
missed a SKIP: label for use on non-Win32

16 years ago- Imager::Font::BBox advance_width() method was falling back to
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.

16 years ago- fix a few compiler warnings
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

16 years ago- the segments parameter supplied to the fountain filter and the
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.

16 years ago- newer versions of GIMP add a line to gradient files before the
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.

16 years agoconverted to Test::More
Tony Cook [Wed, 13 Apr 2005 14:12:21 +0000 (14:12 +0000)]
converted to Test::More

16 years ago- added sample code for handling images uploaded via a HTML form.
Tony Cook [Tue, 12 Apr 2005 14:41:28 +0000 (14:41 +0000)]
- added sample code for handling images uploaded via a HTML form.

16 years agonew samples
Tony Cook [Tue, 12 Apr 2005 14:30:35 +0000 (14:30 +0000)]
new samples

16 years ago- Makefile.PL now adds rules to generate a suitable META.yml to the
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.

16 years agoupdates, rearranged to get the stuff still needed at the top
Tony Cook [Wed, 6 Apr 2005 11:36:06 +0000 (11:36 +0000)]
updates, rearranged to get the stuff still needed at the top

16 years ago- added samp-form.cgi and samp-image.cgi to the samples directory to
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.

16 years agoCGI samples
Tony Cook [Sat, 26 Mar 2005 14:06:22 +0000 (14:06 +0000)]
CGI samples

16 years ago- Imager::Cookbook wasn't included in the MANIFEST
Tony Cook [Wed, 16 Mar 2005 13:56:12 +0000 (13:56 +0000)]
- Imager::Cookbook wasn't included in the MANIFEST

16 years ago- added README for samples directory, describes interleave.pl and
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

16 years ago- correct email addresses in the README file, and include bug reporting
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

16 years agominor typo
Tony Cook [Wed, 16 Mar 2005 13:20:56 +0000 (13:20 +0000)]
minor typo

16 years agosize reduced to reduce dist size
Tony Cook [Wed, 16 Mar 2005 13:18:24 +0000 (13:18 +0000)]
size reduced to reduce dist size

16 years agoInitial version
Tony Cook [Wed, 16 Mar 2005 02:58:09 +0000 (02:58 +0000)]
Initial version

16 years agofix the second argument in the synopsis
Tony Cook [Tue, 15 Mar 2005 13:46:32 +0000 (13:46 +0000)]
fix the second argument in the synopsis

16 years agoinitial version
Tony Cook [Mon, 14 Mar 2005 02:44:49 +0000 (02:44 +0000)]
initial version

16 years ago- the convert, crop, rotate, copy, matrix_transform, to_paletted, to_rgb8,
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

16 years agomake sure we can see the supplied copy of Test::More
Tony Cook [Fri, 11 Mar 2005 11:47:48 +0000 (11:47 +0000)]
make sure we can see the supplied copy of Test::More

16 years agoconvert to Test::More
Tony Cook [Fri, 11 Mar 2005 11:31:45 +0000 (11:31 +0000)]
convert to Test::More

16 years agoconvert to Test::More
Tony Cook [Fri, 11 Mar 2005 11:16:31 +0000 (11:16 +0000)]
convert to Test::More

16 years agoconvert to Test::More
Tony Cook [Fri, 11 Mar 2005 10:52:39 +0000 (10:52 +0000)]
convert to Test::More

16 years agoconvert to Test::More
Tony Cook [Fri, 11 Mar 2005 10:39:46 +0000 (10:39 +0000)]
convert to Test::More

16 years ago- calling the read() method for a format not included in the Imager build,
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

16 years agobase for hand edited JPEG file
Tony Cook [Tue, 8 Mar 2005 07:36:45 +0000 (07:36 +0000)]
base for hand edited JPEG file

16 years agobase for hand-edited test tga images
Tony Cook [Tue, 8 Mar 2005 07:36:15 +0000 (07:36 +0000)]
base for hand-edited test tga images

16 years agoadded testimg/longid.tga used to test the long idstring bug
Tony Cook [Tue, 8 Mar 2005 07:34:10 +0000 (07:34 +0000)]
added testimg/longid.tga used to test the long idstring bug

16 years agotest with a long TGA id
Tony Cook [Tue, 8 Mar 2005 07:29:34 +0000 (07:29 +0000)]
test with a long TGA id

16 years agoclarify that the change was specific to TGA images
Tony Cook [Tue, 8 Mar 2005 07:28:23 +0000 (07:28 +0000)]
clarify that the change was specific to TGA images

16 years ago- reading an image with an idstring of 128 or more bytes would result
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

16 years ago- call read() instead of open() in the example code in Imager.pm,
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

16 years agoa little more detail
Tony Cook [Thu, 10 Feb 2005 12:53:20 +0000 (12:53 +0000)]
a little more detail

16 years ago- add scaleX/scaleY to the method index and gives them some examples
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

16 years agosome stuff done
Tony Cook [Thu, 10 Feb 2005 12:49:30 +0000 (12:49 +0000)]
some stuff done

16 years agofix some function headers, removed some junk code
Tony Cook [Thu, 10 Feb 2005 12:46:22 +0000 (12:46 +0000)]
fix some function headers, removed some junk code

16 years agomore todo
Tony Cook [Thu, 10 Feb 2005 12:44:57 +0000 (12:44 +0000)]
more todo

16 years agoadd entries for the filters to the concept index
Tony Cook [Wed, 2 Feb 2005 12:19:37 +0000 (12:19 +0000)]
add entries for the filters to the concept index

16 years ago- the right-side bearing used to adjust the final width wasn't being
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

16 years agosome stuff done, moved 0.44 down to the end
Tony Cook [Mon, 31 Jan 2005 13:55:56 +0000 (13:55 +0000)]
some stuff done, moved 0.44 down to the end

16 years agorevert the precalculation of the sum of the coefficients - it
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

16 years ago- eliminate unused variables and static functions
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

16 years agolink to the cookbook
Tony Cook [Mon, 24 Jan 2005 13:17:21 +0000 (13:17 +0000)]
link to the cookbook

16 years agovarious TODOs done, new ones added
Tony Cook [Mon, 24 Jan 2005 13:15:20 +0000 (13:15 +0000)]
various TODOs done, new ones added

16 years ago- minor cleanup of Imager::Fill
Tony Cook [Mon, 24 Jan 2005 12:58:21 +0000 (12:58 +0000)]
- minor cleanup of Imager::Fill

16 years agomissed setting it for centimetres
Tony Cook [Mon, 24 Jan 2005 12:04:00 +0000 (12:04 +0000)]
missed setting it for centimetres

16 years ago- more examples in Imager::Draw
Tony Cook [Mon, 24 Jan 2005 10:45:56 +0000 (10:45 +0000)]
- more examples in Imager::Draw

16 years ago- explicitly document there are no PNG specific tags.
Tony Cook [Mon, 24 Jan 2005 10:44:45 +0000 (10:44 +0000)]
- explicitly document there are no PNG specific tags.

16 years ago- calculate the sum of the coefficients once rather than for every
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)

16 years ago- added simple examples to most of the filters documented in
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

16 years ago- Makefile.PL now accepts command-line options to set include and library
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.

16 years ago- scanning for required include files is now down by directory rather
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.

16 years ago- Makefile.PL now builds imconfig.h with #defines for libraries
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

16 years agoremoved junk entry
Tony Cook [Thu, 6 Jan 2005 09:42:03 +0000 (09:42 +0000)]
removed junk entry

16 years ago- avoid complaining about include/lib directories we pull from
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

16 years agohad =cut instead of =back
Tony Cook [Wed, 5 Jan 2005 03:38:57 +0000 (03:38 +0000)]
had =cut instead of =back

16 years agocookbook updates
Tony Cook [Wed, 5 Jan 2005 03:31:28 +0000 (03:31 +0000)]
cookbook updates

16 years agoworking release notice
Tony Cook [Wed, 5 Jan 2005 02:01:17 +0000 (02:01 +0000)]
working release notice

16 years ago- Makefile.PL now attempts to use freetype-config to configure freetype 2
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.

16 years ago- added tiff_resolutionunit_name tag when reading tiff files
Tony Cook [Sat, 1 Jan 2005 14:20:55 +0000 (14:20 +0000)]
- added tiff_resolutionunit_name tag when reading tiff files

16 years ago- the i_xres and i_yres tags are now stored in a resolution similar
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

16 years ago- the tiff reader now puts warning messages produced during reading into
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

16 years agotest for warnings reading a tiff image
Tony Cook [Sat, 1 Jan 2005 13:27:19 +0000 (13:27 +0000)]
test for warnings reading a tiff image

16 years ago- added .pcf and .pcf.gz to the list of extensions supported by ft2
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

16 years ago- added trivial multiple master support via the FT2 driver
Tony Cook [Sat, 1 Jan 2005 13:18:03 +0000 (13:18 +0000)]
- added trivial multiple master support via the FT2 driver

16 years agoMultiple master test font
Tony Cook [Sat, 1 Jan 2005 07:36:14 +0000 (07:36 +0000)]
Multiple master test font