imager.git
20 years agoAdded checks if there is no global colormap and a local colormap to avoid
Arnar Mar Hrafnkelsson [Sat, 12 May 2001 09:41:02 +0000 (09:41 +0000)]
Added checks if there is no global colormap and a local colormap to avoid
a segfault.  Also adds a test image.

20 years agoAddi's notes on scan converting polygons with anti-aliasing
Tony Cook [Sat, 12 May 2001 04:48:34 +0000 (04:48 +0000)]
Addi's notes on scan converting polygons with anti-aliasing

20 years agohardly started discussion of internal image representations
Tony Cook [Sat, 12 May 2001 04:43:08 +0000 (04:43 +0000)]
hardly started discussion of internal image representations

20 years agoreference to design/represent.txt
Tony Cook [Thu, 10 May 2001 08:12:52 +0000 (08:12 +0000)]
reference to design/represent.txt

20 years agomake write_multi a bit simpler to use
Tony Cook [Thu, 10 May 2001 07:56:47 +0000 (07:56 +0000)]
make write_multi a bit simpler to use

20 years agothis is what the convert() method does
Tony Cook [Thu, 10 May 2001 06:55:53 +0000 (06:55 +0000)]
this is what the convert() method does

20 years agotalk about getting gif working better
Tony Cook [Thu, 10 May 2001 03:59:35 +0000 (03:59 +0000)]
talk about getting gif working better

20 years agoyes, another attempt at supporting the Netscape loop extension
Tony Cook [Thu, 10 May 2001 03:51:43 +0000 (03:51 +0000)]
yes, another attempt at supporting the Netscape loop extension
no, this one doesn't work either

20 years agooops, this is done
Tony Cook [Thu, 10 May 2001 02:50:21 +0000 (02:50 +0000)]
oops, this is done

20 years agosupport saving to pgm file
Tony Cook [Thu, 10 May 2001 02:49:30 +0000 (02:49 +0000)]
support saving to pgm file

20 years agoregression test for bug loading some images in png.c 1.1
Tony Cook [Thu, 10 May 2001 02:08:23 +0000 (02:08 +0000)]
regression test for bug loading some images in png.c 1.1

20 years agomake filenames match test number
Tony Cook [Thu, 10 May 2001 01:56:02 +0000 (01:56 +0000)]
make filenames match test number

20 years agonoted problem with libpng 1.0.1
Tony Cook [Thu, 10 May 2001 01:53:25 +0000 (01:53 +0000)]
noted problem with libpng 1.0.1

20 years agoFixed png transparency handling
Arnar Mar Hrafnkelsson [Wed, 9 May 2001 16:54:37 +0000 (16:54 +0000)]
Fixed png transparency handling

20 years agolose the debug code
Tony Cook [Wed, 9 May 2001 05:39:18 +0000 (05:39 +0000)]
lose the debug code

20 years agoRemoved the t/t10formats.t test as all of its functionality is now in t/t10*
Arnar Mar Hrafnkelsson [Wed, 9 May 2001 05:31:56 +0000 (05:31 +0000)]
Removed the t/t10formats.t test as all of its functionality is now in t/t10*

20 years agoFixed png stripping alpha of all images. Minor changes to png test.
Arnar Mar Hrafnkelsson [Wed, 9 May 2001 05:15:05 +0000 (05:15 +0000)]
Fixed png stripping alpha of all images.  Minor changes to png test.

20 years agowe now have a convert() method
Tony Cook [Wed, 9 May 2001 04:01:21 +0000 (04:01 +0000)]
we now have a convert() method

20 years agoimplement the convert() method for converting between numbers of channels
Tony Cook [Wed, 9 May 2001 03:55:31 +0000 (03:55 +0000)]
implement the convert() method for converting between numbers of channels

20 years agoAdded type=>gif for write_multi docs.
Arnar Mar Hrafnkelsson [Wed, 9 May 2001 03:23:12 +0000 (03:23 +0000)]
Added type=>gif for write_multi docs.

20 years agosee patch
Tony Cook [Tue, 8 May 2001 09:40:12 +0000 (09:40 +0000)]
see patch

20 years agoskip tests if there's no gif support
Tony Cook [Tue, 8 May 2001 09:38:54 +0000 (09:38 +0000)]
skip tests if there's no gif support

20 years agoMicksa's original faxable tiff patch
Tony Cook [Tue, 8 May 2001 06:25:35 +0000 (06:25 +0000)]
Micksa's original faxable tiff patch

20 years agoincorporated Micksa's faxable tiff support
Tony Cook [Tue, 8 May 2001 06:23:52 +0000 (06:23 +0000)]
incorporated Micksa's faxable tiff support

20 years agodocument ideas and discussion from IRC
Tony Cook [Mon, 7 May 2001 14:19:32 +0000 (14:19 +0000)]
document ideas and discussion from IRC

20 years agodiscussion from IRC of some interfaces/features
Tony Cook [Mon, 7 May 2001 14:18:12 +0000 (14:18 +0000)]
discussion from IRC of some interfaces/features

20 years agouseful for ignoring junk from builds
Tony Cook [Mon, 7 May 2001 12:27:58 +0000 (12:27 +0000)]
useful for ignoring junk from builds

20 years agochanged Imager::read() to always return an arrayref of Imager::Color
Tony Cook [Mon, 7 May 2001 12:17:20 +0000 (12:17 +0000)]
changed Imager::read() to always return an arrayref of Imager::Color
objects rather than an arrayref of arrayrefs

20 years agojust an idea...
Tony Cook [Mon, 7 May 2001 12:03:52 +0000 (12:03 +0000)]
just an idea...

20 years agonote some possible changes (which haven't been implemented)
Tony Cook [Mon, 7 May 2001 10:55:27 +0000 (10:55 +0000)]
note some possible changes (which haven't been implemented)

20 years agoadd the extra attributes that PPDs want
Tony Cook [Mon, 7 May 2001 06:27:26 +0000 (06:27 +0000)]
add the extra attributes that PPDs want

20 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

20 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

20 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

20 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

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

20 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

20 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

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

20 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

20 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

20 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).

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

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

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

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

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

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

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

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

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

20 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}.

20 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

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

20 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

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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

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

20 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

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

20 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

20 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

20 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

20 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

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

20 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

20 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

20 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

20 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

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

20 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

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

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

20 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

20 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

20 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

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

20 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'

20 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

20 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

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

20 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

20 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

20 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

20 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

20 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

20 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

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

20 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

20 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