]> git.imager.perl.org - imager.git/log
imager.git
19 years agoSupport mingw built perl
Tony Cook [Wed, 11 May 2005 12:43:38 +0000 (12:43 +0000)]
Support mingw built perl

19 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.

19 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

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

19 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.

19 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.

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

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

19 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.

19 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.

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

19 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

19 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.

19 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

19 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.

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

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

19 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.

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

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

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

19 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.

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

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

19 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

19 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.

19 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

19 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.

19 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.

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

19 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.

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

19 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.

19 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

19 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.

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

19 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

19 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

19 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

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

19 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

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

19 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

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

19 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

19 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

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

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

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

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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

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

19 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

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

19 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

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

19 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

19 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

19 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

19 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

19 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

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

19 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

19 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

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

19 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

19 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.

19 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)

19 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

19 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.

19 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.

19 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

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

19 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

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

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

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

19 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.

19 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

19 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

19 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

19 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

19 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

19 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

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

19 years ago- the gradgen filter now does the same color value conversion that
Tony Cook [Sat, 1 Jan 2005 07:23:04 +0000 (07:23 +0000)]
- the gradgen filter now does the same color value conversion that
  Imager's drawing functions do.

19 years ago- added concept index to Imager.pm's POD
Tony Cook [Sat, 1 Jan 2005 07:20:03 +0000 (07:20 +0000)]
- added concept index to Imager.pm's POD

19 years ago- add dfont to the list of extensions supported by ft2
Tony Cook [Thu, 23 Dec 2004 23:05:38 +0000 (23:05 +0000)]
- add dfont to the list of extensions supported by ft2
- document Imager::Font->new()'s index parameter

19 years ago- add a note to the README on how to get font suitcases and dfont files
Tony Cook [Thu, 23 Dec 2004 23:02:51 +0000 (23:02 +0000)]
- add a note to the README on how to get font suitcases and dfont files
  working on OS X.

19 years ago- we were undefing the wrong macro (used as an include guard) when
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.

19 years ago- Makefile.PL now checks the directories specified by $Config{locincpth}
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

19 years agoinitial work, just basic file reading/writing so far
Tony Cook [Tue, 21 Dec 2004 23:42:30 +0000 (23:42 +0000)]
initial work, just basic file reading/writing so far

19 years agoupdate for the other 2 cases too
Tony Cook [Thu, 16 Dec 2004 14:20:50 +0000 (14:20 +0000)]
update for the other 2 cases too