]> git.imager.perl.org - imager.git/log
imager.git
17 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

17 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

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

17 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

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

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

17 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

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

17 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()

17 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

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

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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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

17 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

17 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()

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

17 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

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

17 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

17 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

17 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

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

17 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

17 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

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

17 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

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

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

17 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 *

17 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

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

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

17 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

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

17 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

17 years agoavoid a dangerous cast (in an unused function)
Tony Cook [Tue, 27 Nov 2007 03:07:44 +0000 (03:07 +0000)]
avoid a dangerous cast (in an unused function)

17 years agomerge in tiff re-work branch
Tony Cook [Mon, 26 Nov 2007 10:30:01 +0000 (10:30 +0000)]
merge in tiff re-work branch

17 years agoplanning too far ahead
Tony Cook [Thu, 22 Nov 2007 00:03:54 +0000 (00:03 +0000)]
planning too far ahead

17 years agoformatting nit
Tony Cook [Wed, 21 Nov 2007 23:46:04 +0000 (23:46 +0000)]
formatting nit

17 years agofix broken link from the animated GIF entry in the concept index.
Tony Cook [Wed, 21 Nov 2007 13:11:16 +0000 (13:11 +0000)]
fix broken link from the animated GIF entry in the concept index.

17 years agoalpha channel fixes for mixing scaling
Tony Cook [Mon, 12 Nov 2007 10:26:25 +0000 (10:26 +0000)]
alpha channel fixes for mixing scaling

17 years agoread gimp gradients with more than 9 segments
Tony Cook [Mon, 12 Nov 2007 00:40:01 +0000 (00:40 +0000)]
read gimp gradients with more than 9 segments

17 years ago0.62 goals
Tony Cook [Fri, 9 Nov 2007 08:18:01 +0000 (08:18 +0000)]
0.62 goals

17 years ago0.61 release Imager-0.61
Tony Cook [Mon, 5 Nov 2007 07:44:56 +0000 (07:44 +0000)]
0.61 release

17 years agomissed a changes note
Tony Cook [Mon, 5 Nov 2007 03:04:55 +0000 (03:04 +0000)]
missed a changes note

17 years ago - correctly blend a rotated (or matrix_transformed()) image when
Tony Cook [Mon, 5 Nov 2007 03:02:51 +0000 (03:02 +0000)]
 - correctly blend a rotated (or matrix_transformed()) image when
   performing interpolation in the presence of an alpha channel.

17 years agocorrectly generate the author key in META.yml
Tony Cook [Sun, 4 Nov 2007 00:17:45 +0000 (00:17 +0000)]
correctly generate the author key in META.yml

17 years agowe never write CMYK
Tony Cook [Sun, 4 Nov 2007 00:14:43 +0000 (00:14 +0000)]
we never write CMYK

17 years ago - improve the transform2() documentation
Tony Cook [Tue, 30 Oct 2007 12:17:53 +0000 (12:17 +0000)]
 - improve the transform2() documentation
   http://rt.cpan.org/Ticket/Display.html?id=29267

17 years ago - improve the error messages produced when attempting to read or write
Tony Cook [Tue, 30 Oct 2007 11:04:09 +0000 (11:04 +0000)]
 - improve the error messages produced when attempting to read or write
   an unknown image file format.
   http://rt.cpan.org/Ticket/Display.html?id=30103

17 years agomore done
Tony Cook [Tue, 30 Oct 2007 09:00:21 +0000 (09:00 +0000)]
more done

17 years ago - attempt to work around the test failure at
Tony Cook [Tue, 30 Oct 2007 08:16:24 +0000 (08:16 +0000)]
 - attempt to work around the test failure at
   http://www.nntp.perl.org/group/perl.cpan.testers/2007/09/msg650810.html

17 years ago - validate chan_count for chans == NULL for each of the i_gsamp()
Tony Cook [Tue, 30 Oct 2007 07:34:55 +0000 (07:34 +0000)]
 - validate chan_count for chans == NULL for each of the i_gsamp()
   implementations.

17 years agofixed a type
Tony Cook [Mon, 29 Oct 2007 11:16:03 +0000 (11:16 +0000)]
fixed a type

17 years ago - the SGI RLE compression code could overflow its compression buffer
Tony Cook [Mon, 29 Oct 2007 11:11:10 +0000 (11:11 +0000)]
 - the SGI RLE compression code could overflow its compression buffer
   http://rt.cpan.org/Ticket/Display.html?id=30334

 - the 32-bit output function used by the SGI code only handled values
   under 0x10000.  This was most noticable when writing large RLE images.
   http://rt.cpan.org/Ticket/Display.html?id=30335

17 years agothe code for the transform2() uminus operator was missing a break.
Tony Cook [Mon, 29 Oct 2007 09:37:22 +0000 (09:37 +0000)]
the code for the transform2() uminus operator was missing a break.
Added tests for better code coverage of the ops.
http://rt.cpan.org/Ticket/Display.html?id=29296

17 years agoconvert more tests to Test::More
Tony Cook [Fri, 26 Oct 2007 10:51:15 +0000 (10:51 +0000)]
convert more tests to Test::More

17 years agoconvert to Test::More
Tony Cook [Fri, 26 Oct 2007 10:35:49 +0000 (10:35 +0000)]
convert to Test::More

17 years ago - test 171 in t/t01introvert.t was failing on perls configured to
Tony Cook [Fri, 26 Oct 2007 09:25:15 +0000 (09:25 +0000)]
 - test 171 in t/t01introvert.t was failing on perls configured to
   use long double.

17 years ago - Imager::Font::Wrap doesn't correctly set savepos
Tony Cook [Fri, 26 Oct 2007 09:18:52 +0000 (09:18 +0000)]
 - Imager::Font::Wrap doesn't correctly set savepos

17 years ago - some sub-directory tests depended on files produced by the parent
Tony Cook [Fri, 26 Oct 2007 08:50:12 +0000 (08:50 +0000)]
 - some sub-directory tests depended on files produced by the parent
   directory tests

17 years ago - prevent a cast to integer warning on x64 builds in datatypes.c
Tony Cook [Fri, 26 Oct 2007 08:41:22 +0000 (08:41 +0000)]
 - prevent a cast to integer warning on x64 builds in datatypes.c
   also fixed some other type warnings

17 years ago - correct handling of sz in matrix_transform() - this should allow
Tony Cook [Fri, 12 Oct 2007 06:38:55 +0000 (06:38 +0000)]
 - correct handling of sz in matrix_transform() - this should allow
   perspective type transformations to work now.
   http://rt.cpan.org/Ticket/Display.html?id=29936

17 years agosomething done, more to do
Tony Cook [Fri, 12 Oct 2007 05:26:54 +0000 (05:26 +0000)]
something done, more to do

17 years agomore to do
Tony Cook [Thu, 4 Oct 2007 15:10:41 +0000 (15:10 +0000)]
more to do

17 years agomake it easier to find out how to convert an image to greyscale
Tony Cook [Wed, 26 Sep 2007 09:43:27 +0000 (09:43 +0000)]
make it easier to find out how to convert an image to greyscale

17 years agoadd some detail to TIFF TODO
Tony Cook [Tue, 18 Sep 2007 00:39:22 +0000 (00:39 +0000)]
add some detail to TIFF TODO

17 years agoadded sample: gifscale.pl - scale an animated gif
Tony Cook [Mon, 17 Sep 2007 14:06:35 +0000 (14:06 +0000)]
added sample: gifscale.pl - scale an animated gif

17 years agoImager::Files still listed "rgb" as the type for SGI files, corrected
Tony Cook [Mon, 17 Sep 2007 13:59:28 +0000 (13:59 +0000)]
Imager::Files still listed "rgb" as the type for SGI files, corrected

RT #29354

17 years agodefine 0.61 release goals
Tony Cook [Tue, 11 Sep 2007 09:55:09 +0000 (09:55 +0000)]
define 0.61 release goals

updated APIRef docs

17 years ago0.60 release Imager-0.60
Tony Cook [Thu, 30 Aug 2007 07:40:38 +0000 (07:40 +0000)]
0.60 release

17 years agoinclude RT email address under SUPPORT
Tony Cook [Thu, 30 Aug 2007 07:32:21 +0000 (07:32 +0000)]
include RT email address under SUPPORT

17 years agoadd new gif_colormap_size tag
Tony Cook [Wed, 29 Aug 2007 12:34:23 +0000 (12:34 +0000)]
add new gif_colormap_size tag

17 years agodid some of it
Tony Cook [Wed, 29 Aug 2007 12:03:47 +0000 (12:03 +0000)]
did some of it

17 years agofill out the large sample support docs
Tony Cook [Wed, 29 Aug 2007 11:42:47 +0000 (11:42 +0000)]
fill out the large sample support docs

17 years agobuild under c89
Tony Cook [Wed, 29 Aug 2007 03:45:06 +0000 (03:45 +0000)]
build under c89

17 years agocompiler warning cleanup
Tony Cook [Mon, 27 Aug 2007 13:59:23 +0000 (13:59 +0000)]
compiler warning cleanup

17 years agotreat the ico mask as an alpha channel, since this is less confusing
Tony Cook [Mon, 27 Aug 2007 10:20:35 +0000 (10:20 +0000)]
treat the ico mask as an alpha channel, since this is less confusing
in most use-cases.

17 years agostuff done, more to do
Tony Cook [Mon, 27 Aug 2007 02:04:32 +0000 (02:04 +0000)]
stuff done, more to do

17 years agoadded cleanup, documentation, further tests and grayscale support
Tony Cook [Sat, 25 Aug 2007 10:36:11 +0000 (10:36 +0000)]
added cleanup, documentation, further tests and grayscale support

17 years agoconvert t/t90cc.t to Test::More and actually test a bit more
Tony Cook [Fri, 24 Aug 2007 07:34:58 +0000 (07:34 +0000)]
convert t/t90cc.t to Test::More and actually test a bit more

17 years agoGabriel Vasseur's patch, corrected just enough for it to compile.
Tony Cook [Fri, 24 Aug 2007 07:27:18 +0000 (07:27 +0000)]
Gabriel Vasseur's patch, corrected just enough for it to compile.

This needs some cleanup:

- integrate the extra tests supplied
- test the method she didn't
- foolproofing
- documentation

https://rt.cpan.org/Ticket/Display.html?id=28142

17 years ago5.005_03 compatible use of mkdir
Tony Cook [Tue, 14 Aug 2007 05:01:22 +0000 (05:01 +0000)]
5.005_03 compatible use of mkdir

17 years ago5.005_03 compatible access to SEEK_* constants
Tony Cook [Tue, 14 Aug 2007 04:59:27 +0000 (04:59 +0000)]
5.005_03 compatible access to SEEK_* constants

17 years agoImager doesn't load on Windows 98
Tony Cook [Wed, 1 Aug 2007 10:22:42 +0000 (10:22 +0000)]
Imager doesn't load on Windows 98

17 years agoallow Imager to be loaded on Windows 98
Tony Cook [Wed, 1 Aug 2007 10:05:57 +0000 (10:05 +0000)]
allow Imager to be loaded on Windows 98

17 years agosvn:ignore Win32 junk
Tony Cook [Wed, 1 Aug 2007 10:05:20 +0000 (10:05 +0000)]
svn:ignore Win32 junk

17 years agocorrect for c89
Tony Cook [Wed, 1 Aug 2007 10:04:02 +0000 (10:04 +0000)]
correct for c89

17 years agoadd mission SGI files
Tony Cook [Wed, 1 Aug 2007 09:58:35 +0000 (09:58 +0000)]
add mission SGI files

17 years ago - transparency is now enabled by default when writing GIF images
Tony Cook [Tue, 31 Jul 2007 14:45:31 +0000 (14:45 +0000)]
 - transparency is now enabled by default when writing GIF images
   http://rt.cpan.org/Ticket/Display.html?id=27615

17 years ago - improve the error message from errstr() when you try to load a font
Tony Cook [Tue, 31 Jul 2007 13:58:09 +0000 (13:58 +0000)]
 - improve the error message from errstr() when you try to load a font
   for which the driver hasn't been built in Imager.
   http://rt.cpan.org/Ticket/Display.html?id=27571

17 years agoremove repeated text in Imager::Files
Tony Cook [Tue, 31 Jul 2007 13:05:25 +0000 (13:05 +0000)]
remove repeated text in Imager::Files

17 years agomake it even clearer that scale() and variants don't modify the source
Tony Cook [Tue, 31 Jul 2007 13:01:05 +0000 (13:01 +0000)]
make it even clearer that scale() and variants don't modify the source