imager.git
21 years agominor error handling in bmp.c
Tony Cook [Sun, 9 Sep 2001 14:48:00 +0000 (14:48 +0000)]
minor error handling in bmp.c
more complex fill combining types

21 years agovarious
Tony Cook [Fri, 7 Sep 2001 15:02:54 +0000 (15:02 +0000)]
various

21 years agoAdded some source code docs
Tony Cook [Sun, 2 Sep 2001 13:19:51 +0000 (13:19 +0000)]
Added some source code docs

21 years agoan extra stipple
Tony Cook [Sun, 2 Sep 2001 12:37:14 +0000 (12:37 +0000)]
an extra stipple
expose flood_fill as a method
add a general fill version of flood fill

21 years agodrop some whitespace
Tony Cook [Sun, 2 Sep 2001 11:24:20 +0000 (11:24 +0000)]
drop some whitespace

21 years agobetter scale* fills
Tony Cook [Sun, 2 Sep 2001 00:50:50 +0000 (00:50 +0000)]
better scale* fills

21 years agosupport for generic fills for box and arc, with solid, hatched
Tony Cook [Sat, 1 Sep 2001 16:06:33 +0000 (16:06 +0000)]
support for generic fills for box and arc, with solid, hatched
and fountain fills implemented

21 years agobased on discussion with lathos on IRC
Tony Cook [Thu, 30 Aug 2001 12:48:53 +0000 (12:48 +0000)]
based on discussion with lathos on IRC

21 years agoimplement fountain fills similar to most paint programs
Tony Cook [Wed, 29 Aug 2001 09:27:35 +0000 (09:27 +0000)]
implement fountain fills similar to most paint programs
minor bug fixes

21 years agosuggested by coral (IRC)
Tony Cook [Fri, 24 Aug 2001 12:09:53 +0000 (12:09 +0000)]
suggested by coral (IRC)

21 years agovarious JPEG fixes
Tony Cook [Wed, 22 Aug 2001 00:49:25 +0000 (00:49 +0000)]
various JPEG fixes

21 years agoadded OO interfaces for some filters
Tony Cook [Sun, 19 Aug 2001 13:14:02 +0000 (13:14 +0000)]
added OO interfaces for some filters
added a test script for the filters
committing some BMP changes I forgot to commit

21 years agoWindows BMP file support
Tony Cook [Sun, 19 Aug 2001 11:33:25 +0000 (11:33 +0000)]
Windows BMP file support

21 years agocompressed BMP files for testing
Tony Cook [Sun, 19 Aug 2001 10:23:56 +0000 (10:23 +0000)]
compressed BMP files for testing

21 years agostart of bmp support (just writing so far)
Tony Cook [Wed, 15 Aug 2001 15:22:23 +0000 (15:22 +0000)]
start of bmp support (just writing so far)
moving to laptop

21 years ago(changes)
Tony Cook [Wed, 15 Aug 2001 00:42:12 +0000 (00:42 +0000)]
(changes)

21 years agofix some problems in handling glyph dimensions with freetyp2.c
Tony Cook [Wed, 15 Aug 2001 00:39:33 +0000 (00:39 +0000)]
fix some problems in handling glyph dimensions with freetyp2.c
problem with sizew parameter
problem with handling of canon option to bounding_box

21 years agoEgads
Tony Cook [Mon, 13 Aug 2001 08:20:05 +0000 (08:20 +0000)]
Egads
Merged in the exp_represent branch
Should have done this earlier

21 years agopointer to a description of how unsharp mask works
Tony Cook [Mon, 13 Aug 2001 08:13:11 +0000 (08:13 +0000)]
pointer to a description of how unsharp mask works

21 years agosmall discussion with sky for extra font drawing parameters
Tony Cook [Mon, 13 Aug 2001 08:11:47 +0000 (08:11 +0000)]
small discussion with sky for extra font drawing parameters

21 years agoMisc fixes.
Arnar Mar Hrafnkelsson [Thu, 14 Jun 2001 01:22:11 +0000 (01:22 +0000)]
Misc fixes.

21 years agoSwitched all of jpeg to iolayer functions, removed older functions and did some
Arnar Mar Hrafnkelsson [Fri, 8 Jun 2001 18:48:15 +0000 (18:48 +0000)]
Switched all of jpeg to iolayer functions, removed older functions and did some
clean up.

21 years agoMore fixes still for iolayer changes.
Arnar Mar Hrafnkelsson [Thu, 7 Jun 2001 12:08:17 +0000 (12:08 +0000)]
More fixes still for iolayer changes.

21 years agoClean up after changing some formats to use iolayer.
Arnar Mar Hrafnkelsson [Thu, 7 Jun 2001 11:58:14 +0000 (11:58 +0000)]
Clean up after changing some formats to use iolayer.

21 years agoUpdated png to use _wlio functions, and fixed a filename error for ppm test.
Arnar Mar Hrafnkelsson [Thu, 7 Jun 2001 07:50:00 +0000 (07:50 +0000)]
Updated png to use _wlio functions, and fixed a filename error for ppm test.

21 years agoReplaced i_readraw() and i_writeraw() with the equivalent _wiol functions.
Arnar Mar Hrafnkelsson [Wed, 6 Jun 2001 17:28:30 +0000 (17:28 +0000)]
Replaced i_readraw() and i_writeraw() with the equivalent _wiol functions.

21 years agoRemoved i_writeppm and put in i_writeppm_wiol instead.
Arnar Mar Hrafnkelsson [Wed, 6 Jun 2001 05:03:37 +0000 (05:03 +0000)]
Removed i_writeppm and put in i_writeppm_wiol instead.

21 years agointerface consistency
Tony Cook [Mon, 28 May 2001 03:11:20 +0000 (03:11 +0000)]
interface consistency

21 years agoCompile time error fix if IM_NOLOG=1 was chosen
Arnar Mar Hrafnkelsson [Sat, 26 May 2001 09:02:31 +0000 (09:02 +0000)]
Compile time error fix if IM_NOLOG=1 was chosen

21 years agoAdds aa circle into export_ok list.
Arnar Mar Hrafnkelsson [Sat, 26 May 2001 09:01:56 +0000 (09:01 +0000)]
Adds aa circle into export_ok list.

21 years agoAdded a temporary circle antialiasing routine.
Arnar Mar Hrafnkelsson [Sat, 26 May 2001 09:01:18 +0000 (09:01 +0000)]
Added a temporary circle antialiasing routine.

21 years agoFixed a bug which caused compile and runtime errors with IM_NOLOG=1
Arnar Mar Hrafnkelsson [Sat, 26 May 2001 09:00:21 +0000 (09:00 +0000)]
Fixed a bug which caused compile and runtime errors with IM_NOLOG=1

21 years agosplit Imager::Font into base *::Type1 and *::Truetype, which should
Tony Cook [Thu, 24 May 2001 09:45:07 +0000 (09:45 +0000)]
split Imager::Font into base *::Type1 and *::Truetype, which should
simplify adding new font types (I hope)

21 years agoVersion number change for 0.38 CPAN upload
Arnar Mar Hrafnkelsson [Tue, 22 May 2001 01:42:39 +0000 (01:42 +0000)]
Version number change for 0.38 CPAN upload

21 years agoFixed so that IM_MANUAL doesn't lose the giflib version check.
Arnar Mar Hrafnkelsson [Mon, 21 May 2001 15:58:21 +0000 (15:58 +0000)]
Fixed so that IM_MANUAL doesn't lose the giflib version check.

21 years agoFixed warnings for 5.004_04.
Arnar Mar Hrafnkelsson [Sun, 20 May 2001 23:22:03 +0000 (23:22 +0000)]
Fixed warnings for 5.004_04.

21 years agoFixed // in filters.c. And things that didn't work in perl 5.004_04
Arnar Mar Hrafnkelsson [Sun, 20 May 2001 23:14:41 +0000 (23:14 +0000)]
Fixed // in filters.c.  And things that didn't work in perl 5.004_04
in the testcases.

21 years agoIf tiff format was not supported then then all tests after 4 appeared to be
Arnar Mar Hrafnkelsson [Fri, 18 May 2001 10:18:46 +0000 (10:18 +0000)]
If tiff format was not supported then then all tests after 4 appeared to be
failing.

21 years agoRemoved bench/* from MANIFEST (but not CVS). Also moved transbench.perl
Arnar Mar Hrafnkelsson [Fri, 18 May 2001 07:52:30 +0000 (07:52 +0000)]
Removed bench/* from MANIFEST (but not CVS).  Also moved transbench.perl
into bench subdirectory.

21 years agoAdded mng to the TOOD, and added a warning to the Makefile.PL if gif/ungif
Arnar Mar Hrafnkelsson [Fri, 18 May 2001 07:31:57 +0000 (07:31 +0000)]
Added mng to the TOOD, and added a warning to the Makefile.PL if gif/ungif
is enabled.

21 years agoMade TODO into a seperate file and removed it from the Changes file.
Arnar Mar Hrafnkelsson [Thu, 17 May 2001 08:10:08 +0000 (08:10 +0000)]
Made TODO into a seperate file and removed it from the Changes file.
Also added i_errmsg to the image structure in design/represent.txt
since that is sort of the next generation image structure.

21 years agoAdded documentation to map method in Imager.pm and made some minor fixes
Arnar Mar Hrafnkelsson [Wed, 16 May 2001 21:24:46 +0000 (21:24 +0000)]
Added documentation to map method in Imager.pm and made some minor fixes
to map method.

21 years agoFixes to i_map function and map method. Added a testcase for both.
Arnar Mar Hrafnkelsson [Wed, 16 May 2001 18:38:27 +0000 (18:38 +0000)]
Fixes to i_map function and map method.  Added a testcase for both.

21 years agorefer to the right test
Tony Cook [Wed, 16 May 2001 13:27:21 +0000 (13:27 +0000)]
refer to the right test

21 years agoadded tests for the tiff OO interface
Tony Cook [Wed, 16 May 2001 12:48:26 +0000 (12:48 +0000)]
added tests for the tiff OO interface
added resolution setting for faxable tiffs (uncommenting and fixing
the original code)
added documentation for setting the resolution
declared i_writetiff_wiol_faxable in image.h

21 years agoremove testout on make clean
Tony Cook [Wed, 16 May 2001 10:52:22 +0000 (10:52 +0000)]
remove testout on make clean

21 years agoSimplified interface.
Arnar Mar Hrafnkelsson [Wed, 16 May 2001 08:51:12 +0000 (08:51 +0000)]
Simplified interface.

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

21 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

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

21 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

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

21 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

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

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

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

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

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

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

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

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

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

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

21 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

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

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

21 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

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

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

21 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

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

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

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

21 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

21 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

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

21 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

21 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

21 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

21 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

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

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

21 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

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

21 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

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

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

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

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

21 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

21 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

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

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

21 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

21 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

21 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

21 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

21 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

21 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

21 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