imager.git
21 years agooops, forgot to free the memory I allocated
Tony Cook [Sun, 6 May 2001 07:49:52 +0000 (07:49 +0000)]
oops, forgot to free the memory I allocated

21 years agonoted row-based access to images
Tony Cook [Sun, 6 May 2001 07:47:26 +0000 (07:47 +0000)]
noted row-based access to images

21 years agoadd read/write row of pixels to image interface
Tony Cook [Sun, 6 May 2001 07:38:19 +0000 (07:38 +0000)]
add read/write row of pixels to image interface

21 years agoimplementing read/put horizontal line of pixels
Tony Cook [Sun, 6 May 2001 07:36:59 +0000 (07:36 +0000)]
implementing read/put horizontal line of pixels

21 years agosimple benchmark for image copying
Tony Cook [Sun, 6 May 2001 07:33:15 +0000 (07:33 +0000)]
simple benchmark for image copying

21 years agofixes to quant.c and a minor enhancement
Tony Cook [Sun, 6 May 2001 04:27:52 +0000 (04:27 +0000)]
fixes to quant.c and a minor enhancement

21 years agofixed a really stupid bug I introduced to Addi's colormap builder when
Tony Cook [Sun, 6 May 2001 04:22:02 +0000 (04:22 +0000)]
fixed a really stupid bug I introduced to Addi's colormap builder when
I tried to make it work for more than one image

also, the palette builder only copies across those palette entries it
needs

21 years agohashboxes work now
Tony Cook [Sun, 6 May 2001 02:17:45 +0000 (02:17 +0000)]
hashboxes work now

21 years agominor fix to code layout changes
Tony Cook [Sun, 6 May 2001 01:48:33 +0000 (01:48 +0000)]
minor fix to code layout changes

21 years agoadded tests to make sure the correct palette was coming back from
Tony Cook [Sat, 5 May 2001 14:42:45 +0000 (14:42 +0000)]
added tests to make sure the correct palette was coming back from
Imager::read

21 years agoImager::read() can now retrieve the palette optionally returned by
Tony Cook [Sat, 5 May 2001 14:40:23 +0000 (14:40 +0000)]
Imager::read() can now retrieve the palette optionally returned by
i_readgif(_scalar).

21 years agoadded note about getting the palette for Imager::read()
Tony Cook [Sat, 5 May 2001 14:31:00 +0000 (14:31 +0000)]
added note about getting the palette for Imager::read()

21 years agosimple image used for testing palette retrieval by Imager::read()
Tony Cook [Sat, 5 May 2001 14:08:22 +0000 (14:08 +0000)]
simple image used for testing palette retrieval by Imager::read()

21 years agoJust code layout changes and logging.
Arnar Mar Hrafnkelsson [Fri, 4 May 2001 18:28:10 +0000 (18:28 +0000)]
Just code layout changes and logging.

21 years agoFixed bug reporting, updated Changes.
Arnar Mar Hrafnkelsson [Fri, 4 May 2001 16:57:37 +0000 (16:57 +0000)]
Fixed bug reporting, updated Changes.

21 years agoFixed an overflow bug in png.c where reading images with a palette or
Arnar Mar Hrafnkelsson [Fri, 4 May 2001 16:46:04 +0000 (16:46 +0000)]
Fixed an overflow bug in png.c where reading images with a palette or
fewer than 8 bits per sample but no alpha channel would cause a segfault
since libpng would expand the image with alpha channel while no space
was allocated for an alpha channel.

21 years agoAdded a testcase for copy() and flip() methods, fixed a bug in i_flipxy()
Arnar Mar Hrafnkelsson [Fri, 4 May 2001 15:21:38 +0000 (15:21 +0000)]
Added a testcase for copy() and flip() methods, fixed a bug in i_flipxy()
when flipping both horizontally and vertically.  Removed lib/Imager/Regops.pm
as it is autogenerated when make install is run.

21 years agodocument the 'fd' option for $img->(read|write)
Tony Cook [Fri, 4 May 2001 13:57:11 +0000 (13:57 +0000)]
document the 'fd' option for $img->(read|write)

21 years agosince we use fork(), autoflush will help it work...
Tony Cook [Fri, 4 May 2001 12:43:03 +0000 (12:43 +0000)]
since we use fork(), autoflush will help it work...

21 years agoSwitched from xy naming for flip() to hv.
Arnar Mar Hrafnkelsson [Fri, 4 May 2001 07:25:57 +0000 (07:25 +0000)]
Switched from xy naming for flip() to hv.

21 years agoAdded flip() and docs to Imager.pm and i_flipxy() to image.{c,h}.
Arnar Mar Hrafnkelsson [Fri, 4 May 2001 07:15:09 +0000 (07:15 +0000)]
Added flip() and docs to Imager.pm and i_flipxy() to image.{c,h}.

21 years agodocument the "tiny" option for tr_orddith
Tony Cook [Wed, 2 May 2001 02:59:33 +0000 (02:59 +0000)]
document the "tiny" option for tr_orddith

21 years agoforgot to change this one after fixing t105gif.t
Tony Cook [Mon, 30 Apr 2001 03:22:31 +0000 (03:22 +0000)]
forgot to change this one after fixing t105gif.t
For now I'll keep this around, but only add tests to format specific
files.

21 years agohad broken handing for the giflib version
Tony Cook [Thu, 26 Apr 2001 05:24:46 +0000 (05:24 +0000)]
had broken handing for the giflib version

21 years agooops, put code before declaration
Tony Cook [Thu, 26 Apr 2001 05:23:21 +0000 (05:23 +0000)]
oops, put code before declaration

21 years agooops, added new tests without adding skips for when there's no gif support
Tony Cook [Thu, 26 Apr 2001 05:07:57 +0000 (05:07 +0000)]
oops, added new tests without adding skips for when there's no gif support

21 years agoadded new test scripts
Tony Cook [Tue, 24 Apr 2001 09:59:31 +0000 (09:59 +0000)]
added new test scripts
haven't removed t10formats.t yet

21 years agonoted a bunch of changes, switched to space based formatting
Tony Cook [Tue, 24 Apr 2001 09:50:15 +0000 (09:50 +0000)]
noted a bunch of changes, switched to space based formatting

21 years agotiff tests extracted from t10formats.t
Tony Cook [Tue, 24 Apr 2001 09:46:18 +0000 (09:46 +0000)]
tiff tests extracted from t10formats.t

21 years agoextracted ppm tests from t10formats.t
Tony Cook [Tue, 24 Apr 2001 09:42:47 +0000 (09:42 +0000)]
extracted ppm tests from t10formats.t

21 years agoextracted png tests from t10formats.t and adjusted tests slightly
Tony Cook [Tue, 24 Apr 2001 09:38:47 +0000 (09:38 +0000)]
extracted png tests from t10formats.t and adjusted tests slightly

21 years agoextracted jpeg tests from t10formats.t
Tony Cook [Tue, 24 Apr 2001 09:34:11 +0000 (09:34 +0000)]
extracted jpeg tests from t10formats.t

21 years agoadded code to report errors from gif file reading/writing
Tony Cook [Tue, 24 Apr 2001 09:32:32 +0000 (09:32 +0000)]
added code to report errors from gif file reading/writing

21 years agoextracted gif tests from t10formats.t and added a few more
Tony Cook [Tue, 24 Apr 2001 09:29:14 +0000 (09:29 +0000)]
extracted gif tests from t10formats.t and added a few more

21 years agosome error reporting in image writing
Tony Cook [Tue, 24 Apr 2001 09:23:12 +0000 (09:23 +0000)]
some error reporting in image writing

21 years agomodified gif read code to report errors rather than abort
Tony Cook [Tue, 24 Apr 2001 09:17:54 +0000 (09:17 +0000)]
modified gif read code to report errors rather than abort

21 years agoadded error reporting code
Tony Cook [Tue, 24 Apr 2001 08:16:35 +0000 (08:16 +0000)]
added error reporting code

21 years agowe can lose that FIXME, I think
Tony Cook [Tue, 24 Apr 2001 06:50:33 +0000 (06:50 +0000)]
we can lose that FIXME, I think

21 years agonicer skip message
Tony Cook [Tue, 24 Apr 2001 06:35:10 +0000 (06:35 +0000)]
nicer skip message

21 years agodidn't include the new test in the count for when there's no gif support
Tony Cook [Tue, 24 Apr 2001 06:33:15 +0000 (06:33 +0000)]
didn't include the new test in the count for when there's no gif support

21 years agoextracted from t10formats and added some new tests
Tony Cook [Tue, 24 Apr 2001 04:52:53 +0000 (04:52 +0000)]
extracted from t10formats and added some new tests

21 years agodocument the interleave option for reading raw images
Tony Cook [Tue, 24 Apr 2001 04:13:59 +0000 (04:13 +0000)]
document the interleave option for reading raw images

21 years agodocumented options for reading raw images
Tony Cook [Mon, 23 Apr 2001 02:08:06 +0000 (02:08 +0000)]
documented options for reading raw images

21 years agonote some changes
Tony Cook [Sun, 22 Apr 2001 12:25:49 +0000 (12:25 +0000)]
note some changes

21 years agooops, tiff only handles 3-channel images so far
Tony Cook [Sun, 22 Apr 2001 12:20:57 +0000 (12:20 +0000)]
oops, tiff only handles 3-channel images so far

21 years agojunk.pm is needed for tests
Tony Cook [Sun, 22 Apr 2001 11:51:37 +0000 (11:51 +0000)]
junk.pm is needed for tests

21 years agoadded test to write a partially transparent gif image
Tony Cook [Sun, 22 Apr 2001 11:46:25 +0000 (11:46 +0000)]
added test to write a partially transparent gif image

21 years agochanges to claim a palette entry if the caller wants transparency and
Tony Cook [Sun, 22 Apr 2001 11:38:29 +0000 (11:38 +0000)]
changes to claim a palette entry if the caller wants transparency and
doesn't give us space to do it

21 years agominor doc fix
Tony Cook [Sun, 22 Apr 2001 11:23:35 +0000 (11:23 +0000)]
minor doc fix

21 years agoadded support for od_tiny ordered dither and made it the default for
Tony Cook [Sun, 22 Apr 2001 11:07:21 +0000 (11:07 +0000)]
added support for od_tiny ordered dither and made it the default for
transparency ordered dithering

21 years agoadded a new transparency ordered dither (works better for displays)
Tony Cook [Sun, 22 Apr 2001 10:48:43 +0000 (10:48 +0000)]
added a new transparency ordered dither (works better for displays)

21 years agoadded another transparency quantization method
Tony Cook [Sun, 22 Apr 2001 10:46:46 +0000 (10:46 +0000)]
added another transparency quantization method

21 years agominor clarifications on producing transparent gifs
Tony Cook [Sun, 22 Apr 2001 07:39:16 +0000 (07:39 +0000)]
minor clarifications on producing transparent gifs

21 years agopreviously testing with giflib3 gave errors on all the callback
Tony Cook [Thu, 12 Apr 2001 14:07:07 +0000 (14:07 +0000)]
previously testing with giflib3 gave errors on all the callback
functions, this prevents those errors, since giflib 3 simply doesn't
support callbacks

21 years agoadded function to check giflib version
Tony Cook [Thu, 12 Apr 2001 13:57:56 +0000 (13:57 +0000)]
added function to check giflib version

21 years agonote some gif fixes
Tony Cook [Thu, 12 Apr 2001 13:54:41 +0000 (13:54 +0000)]
note some gif fixes

21 years agoregression test for writing single colour images with translate='giflib'
Tony Cook [Thu, 12 Apr 2001 05:15:36 +0000 (05:15 +0000)]
regression test for writing single colour images with translate='giflib'

21 years ago1 colour images don't make much sense to giflib, make sure it always has at
Tony Cook [Thu, 12 Apr 2001 04:30:38 +0000 (04:30 +0000)]
1 colour images don't make much sense to giflib, make sure it always has at
least 2 colours in its colour maps

21 years agoI'm suprised the errno.h is needed, but here it is
Tony Cook [Thu, 12 Apr 2001 04:19:07 +0000 (04:19 +0000)]
I'm suprised the errno.h is needed, but here it is

21 years agoadded error reporting code
Tony Cook [Tue, 10 Apr 2001 04:33:29 +0000 (04:33 +0000)]
added error reporting code

21 years agoadded declarations for error handling code
Tony Cook [Tue, 10 Apr 2001 04:31:46 +0000 (04:31 +0000)]
added declarations for error handling code

21 years agoadded error codes and calls to m_fatal() on fatal errors
Tony Cook [Tue, 10 Apr 2001 04:27:44 +0000 (04:27 +0000)]
added error codes and calls to m_fatal() on fatal errors

21 years agoadded low-level error handling module
Tony Cook [Tue, 10 Apr 2001 04:26:29 +0000 (04:26 +0000)]
added low-level error handling module

21 years agoaccess to lower-level error messages
Tony Cook [Tue, 10 Apr 2001 04:24:55 +0000 (04:24 +0000)]
access to lower-level error messages

21 years agoread failures of pnm files now report low-level errors
Tony Cook [Tue, 10 Apr 2001 04:00:59 +0000 (04:00 +0000)]
read failures of pnm files now report low-level errors

21 years agonoted addition of error handling code
Tony Cook [Tue, 10 Apr 2001 03:52:55 +0000 (03:52 +0000)]
noted addition of error handling code

21 years agoerror handling code
Tony Cook [Tue, 10 Apr 2001 03:49:25 +0000 (03:49 +0000)]
error handling code

21 years agoinvalid ppm file, test file for t/t05errors.t
Tony Cook [Tue, 10 Apr 2001 03:25:25 +0000 (03:25 +0000)]
invalid ppm file, test file for t/t05errors.t

21 years agobasic test code for error reporting
Tony Cook [Tue, 10 Apr 2001 02:56:07 +0000 (02:56 +0000)]
basic test code for error reporting

21 years agoC level error handling code
Tony Cook [Sun, 8 Apr 2001 13:29:36 +0000 (13:29 +0000)]
C level error handling code

21 years agosee the patch :)
Tony Cook [Sun, 8 Apr 2001 11:40:33 +0000 (11:40 +0000)]
see the patch :)

21 years agoupdated Win32 section to indicate more image file formats supported.
Tony Cook [Tue, 3 Apr 2001 01:34:02 +0000 (01:34 +0000)]
updated Win32 section to indicate more image file formats supported.

21 years agonote on Win32 libtiff support
Tony Cook [Tue, 3 Apr 2001 01:28:20 +0000 (01:28 +0000)]
note on Win32 libtiff support

21 years agoWin32 handling for checking for libtiff
Tony Cook [Tue, 3 Apr 2001 01:26:55 +0000 (01:26 +0000)]
Win32 handling for checking for libtiff

21 years agonote about Win32 jpeg support
Tony Cook [Mon, 2 Apr 2001 13:43:49 +0000 (13:43 +0000)]
note about Win32 jpeg support

21 years agoWin32 jpeg support
Tony Cook [Mon, 2 Apr 2001 13:41:57 +0000 (13:41 +0000)]
Win32 jpeg support

21 years agoWin32 support (specifically VC++)
Tony Cook [Mon, 2 Apr 2001 13:41:01 +0000 (13:41 +0000)]
Win32 support (specifically VC++)

21 years agoactually test that the colour is being set
Tony Cook [Mon, 2 Apr 2001 12:57:30 +0000 (12:57 +0000)]
actually test that the colour is being set

21 years agoactually call the function now
Tony Cook [Mon, 2 Apr 2001 12:56:07 +0000 (12:56 +0000)]
actually call the function now

21 years agonotes Win32 libpng and set_internal changes
Tony Cook [Mon, 2 Apr 2001 10:16:34 +0000 (10:16 +0000)]
notes Win32 libpng and set_internal changes

21 years agofixed the problem with 2 references to the one i_color object after a
Tony Cook [Mon, 2 Apr 2001 10:10:42 +0000 (10:10 +0000)]
fixed the problem with 2 references to the one i_color object after a
call to ICL_set_internal.  at least I think so.

21 years agoadded test to check for crash in set_internal() (and it's normal
Tony Cook [Mon, 2 Apr 2001 10:07:53 +0000 (10:07 +0000)]
added test to check for crash in set_internal() (and it's normal
return value)

21 years agoremoved junk left over from when I tried to use a typemap to require
Tony Cook [Mon, 2 Apr 2001 09:28:16 +0000 (09:28 +0000)]
removed junk left over from when I tried to use a typemap to require
the $opts for writegif_gen be a hashref

21 years agolibpng support for Win32
Tony Cook [Mon, 2 Apr 2001 08:27:50 +0000 (08:27 +0000)]
libpng support for Win32

21 years agoAdded STATUS, other updates are just from touching files.
Arnar Mar Hrafnkelsson [Fri, 30 Mar 2001 04:56:18 +0000 (04:56 +0000)]
Added STATUS, other updates are just from touching files.

22 years agoadded pod for internal and external symbols
Tony Cook [Sun, 25 Mar 2001 12:51:18 +0000 (12:51 +0000)]
added pod for internal and external symbols

22 years agoInitial revision Imager-0_38 Imager-0_38pre9
Arnar Mar Hrafnkelsson [Sun, 25 Mar 2001 11:54:59 +0000 (11:54 +0000)]
Initial revision