imager.git
20 years agoAdded map.c which implements mapping images through tables.
Arnar Mar Hrafnkelsson [Wed, 16 May 2001 08:43:33 +0000 (08:43 +0000)]
Added map.c which implements mapping images through tables.

20 years agoFixes to logging in iolayer.c and minor iolayer issues with tiffs in Imager.pm
Arnar Mar Hrafnkelsson [Wed, 16 May 2001 06:44:52 +0000 (06:44 +0000)]
Fixes to logging in iolayer.c and minor iolayer issues with tiffs in Imager.pm

20 years agoFixes crop() method so it is consistent with documentation.
Arnar Mar Hrafnkelsson [Wed, 16 May 2001 04:36:32 +0000 (04:36 +0000)]
Fixes crop() method so it is consistent with documentation.

20 years agoinitially completed version, could use polishing
Tony Cook [Wed, 16 May 2001 03:07:47 +0000 (03:07 +0000)]
initially completed version, could use polishing

20 years agoUninitialized variable used in filters.c.
Arnar Mar Hrafnkelsson [Wed, 16 May 2001 02:08:02 +0000 (02:08 +0000)]
Uninitialized variable used in filters.c.

20 years agoskip tests that we've added
Tony Cook [Wed, 16 May 2001 02:07:14 +0000 (02:07 +0000)]
skip tests that we've added

20 years agoforgot to skip new tests
Tony Cook [Wed, 16 May 2001 01:58:13 +0000 (01:58 +0000)]
forgot to skip new tests

20 years agoAdded all the test images to the MANIFEST and re added Regops.pm since the
Arnar Mar Hrafnkelsson [Tue, 15 May 2001 21:02:26 +0000 (21:02 +0000)]
Added all the test images to the MANIFEST and re added Regops.pm since the
Makefile.PL hack wasn't working.

20 years agoSome tests were logging into the wrong files and t50basicoo.t was using
Arnar Mar Hrafnkelsson [Tue, 15 May 2001 12:43:14 +0000 (12:43 +0000)]
Some tests were logging into the wrong files and t50basicoo.t was using
files that the now removed t10formats.t generated.  Now it uses the files
generated by t10{1,2,3,4,5,6}*.t.

20 years agoMade Makefile.PL run $Config{make} lib/Imager/Regops.pm so it exists
Arnar Mar Hrafnkelsson [Mon, 14 May 2001 10:24:40 +0000 (10:24 +0000)]
Made Makefile.PL run $Config{make} lib/Imager/Regops.pm so it exists
for make test and make install.

20 years agofixes (and tests for) several problems in i_readgif_low()
Tony Cook [Mon, 14 May 2001 09:55:36 +0000 (09:55 +0000)]
fixes (and tests for) several problems in i_readgif_low()

20 years agoChanged free() to myfree() in quant.c.
Arnar Mar Hrafnkelsson [Mon, 14 May 2001 09:33:48 +0000 (09:33 +0000)]
Changed free() to myfree() in quant.c.

20 years agowas sizeof(int *)
Tony Cook [Mon, 14 May 2001 07:32:05 +0000 (07:32 +0000)]
was sizeof(int *)

20 years agoforgot this
Tony Cook [Mon, 14 May 2001 07:28:38 +0000 (07:28 +0000)]
forgot this

20 years agohad a trailing newline
Tony Cook [Mon, 14 May 2001 07:27:52 +0000 (07:27 +0000)]
had a trailing newline

20 years agooops, shoule use myfree() instead of free()
Tony Cook [Mon, 14 May 2001 07:17:30 +0000 (07:17 +0000)]
oops, shoule use myfree() instead of free()

20 years agoRemoved a bunch of unused variables and fixed an attempt to print out a
Arnar Mar Hrafnkelsson [Mon, 14 May 2001 05:52:53 +0000 (05:52 +0000)]
Removed a bunch of unused variables and fixed an attempt to print out a
structure pointer in error.c

20 years agoAdded more logging to quant.c. Removed global variables from gif.c.
Arnar Mar Hrafnkelsson [Mon, 14 May 2001 03:55:39 +0000 (03:55 +0000)]
Added more logging to quant.c.  Removed global variables from gif.c.
Increased the limit of table entries when debugging malloc.

20 years agofix handling for no giflib
Tony Cook [Mon, 14 May 2001 03:24:13 +0000 (03:24 +0000)]
fix handling for no giflib

20 years agooops, missed updating the last test number
Tony Cook [Mon, 14 May 2001 03:22:58 +0000 (03:22 +0000)]
oops, missed updating the last test number

20 years agoremoved t10formats.t
Tony Cook [Mon, 14 May 2001 02:52:39 +0000 (02:52 +0000)]
removed t10formats.t

20 years agoImageNum in i_readgif_low() was a file global variable which was never
Arnar Mar Hrafnkelsson [Sun, 13 May 2001 21:22:21 +0000 (21:22 +0000)]
ImageNum in i_readgif_low() was a file global variable which was never
set to zero after usage.

20 years agoadded some tests to check how we handle variously damaged GIFs
Tony Cook [Sun, 13 May 2001 07:20:37 +0000 (07:20 +0000)]
added some tests to check how we handle variously damaged GIFs
added code to release the memory allocated for the returned colour map
correctly

20 years agoprevent undefined value warnings
Tony Cook [Sat, 12 May 2001 14:38:08 +0000 (14:38 +0000)]
prevent undefined value warnings

20 years agodid some more work on this...
Tony Cook [Sat, 12 May 2001 14:37:40 +0000 (14:37 +0000)]
did some more work on this...

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