imager.git
19 years agoascii pbms weren't treated correctly
Tony Cook [Mon, 7 Jan 2002 10:55:50 +0000 (10:55 +0000)]
ascii pbms weren't treated correctly

19 years agoan idea
Tony Cook [Sat, 5 Jan 2002 12:56:58 +0000 (12:56 +0000)]
an idea

19 years agomore GIF docs
Tony Cook [Fri, 4 Jan 2002 13:09:10 +0000 (13:09 +0000)]
more GIF docs

19 years agoinitial cut
Tony Cook [Fri, 4 Jan 2002 09:42:42 +0000 (09:42 +0000)]
initial cut

19 years agosome ideas
Tony Cook [Fri, 4 Jan 2002 07:19:42 +0000 (07:19 +0000)]
some ideas

19 years agoirc log of documentation layout discussion
Tony Cook [Fri, 4 Jan 2002 03:18:07 +0000 (03:18 +0000)]
irc log of documentation layout discussion

19 years agoenhanced iolayer
Tony Cook [Fri, 4 Jan 2002 02:33:55 +0000 (02:33 +0000)]
enhanced iolayer
multi image/file tiff support

19 years agoAdded rgb.c to MANIFEST
Arnar Mar Hrafnkelsson [Sat, 29 Dec 2001 02:13:01 +0000 (02:13 +0000)]
Added rgb.c to MANIFEST

19 years agoForgot to add this file for last commit.
Arnar Mar Hrafnkelsson [Sat, 29 Dec 2001 02:08:28 +0000 (02:08 +0000)]
Forgot to add this file for last commit.

19 years agoAdded read support for sgi .rgb files.
Arnar Mar Hrafnkelsson [Fri, 28 Dec 2001 17:53:22 +0000 (17:53 +0000)]
Added read support for sgi .rgb files.

19 years agoAdded memory pools to make clean up of temporary buffers simpler.
Arnar Mar Hrafnkelsson [Fri, 28 Dec 2001 17:45:41 +0000 (17:45 +0000)]
Added memory pools to make clean up of temporary buffers simpler.

19 years agosplit IM_INCPATH and IM_LIBPATH with $Config{path_sep}, so they work
Tony Cook [Wed, 12 Dec 2001 23:55:22 +0000 (23:55 +0000)]
split IM_INCPATH and IM_LIBPATH with $Config{path_sep}, so they work
on Windows

19 years agoclaes' afm patch
Tony Cook [Tue, 11 Dec 2001 12:58:56 +0000 (12:58 +0000)]
claes' afm patch

19 years agoavoid allocating huge data structures on the stack
Tony Cook [Tue, 11 Dec 2001 12:28:36 +0000 (12:28 +0000)]
avoid allocating huge data structures on the stack

19 years agoinitialize the index when packing 4 bit data into bytes
Tony Cook [Mon, 10 Dec 2001 12:03:04 +0000 (12:03 +0000)]
initialize the index when packing 4 bit data into bytes

19 years agoLeolo expressed a desire for .ico support - I thought of a few more
Tony Cook [Fri, 7 Dec 2001 13:59:43 +0000 (13:59 +0000)]
Leolo expressed a desire for .ico support - I thought of a few more

19 years agowrite paletted images as paletted for tiff
Tony Cook [Sat, 1 Dec 2001 03:25:12 +0000 (03:25 +0000)]
write paletted images as paletted for tiff
minor doc fix in freetyp2.c

19 years agofreetype 2 bounding box function didn't know UTF8 (doh!)
Tony Cook [Fri, 30 Nov 2001 06:41:27 +0000 (06:41 +0000)]
freetype 2 bounding box function didn't know UTF8 (doh!)

19 years agoadded has_chars() method to Imager::Font::FreeType2
Tony Cook [Fri, 30 Nov 2001 04:40:24 +0000 (04:40 +0000)]
added has_chars() method to Imager::Font::FreeType2

19 years agoClarified what version of libtiff is required.
Arnar Mar Hrafnkelsson [Tue, 27 Nov 2001 13:51:52 +0000 (13:51 +0000)]
Clarified what version of libtiff is required.

19 years ago- read paletted tiff images into Imager paletted images
Tony Cook [Sun, 25 Nov 2001 03:45:42 +0000 (03:45 +0000)]
- read paletted tiff images into Imager paletted images
- on partial tiff image reads, set the i_incomplete tag
- tiff reading now uses the error stack
- use the error stack value from reading bmp files
- fix an error message in bmp.c

19 years agopackbits compression instead
Tony Cook [Fri, 23 Nov 2001 13:55:05 +0000 (13:55 +0000)]
packbits compression instead

19 years agomight be valid this time
Tony Cook [Fri, 23 Nov 2001 12:59:48 +0000 (12:59 +0000)]
might be valid this time

19 years agotest 8-bit/pixel paletted TIFF
Tony Cook [Fri, 23 Nov 2001 11:24:53 +0000 (11:24 +0000)]
test 8-bit/pixel paletted TIFF

19 years ago4-bit/sample paletted tiff
Tony Cook [Fri, 23 Nov 2001 10:55:33 +0000 (10:55 +0000)]
4-bit/sample paletted tiff

19 years agomore tiff tags support
Tony Cook [Wed, 21 Nov 2001 13:38:01 +0000 (13:38 +0000)]
more tiff tags support

19 years agomake color values smarter for the drawing functions
Tony Cook [Wed, 21 Nov 2001 04:39:34 +0000 (04:39 +0000)]
make color values smarter for the drawing functions
make the aa vs antialias naming more consistent
update the docs

19 years agofix polygon() call sequence
Tony Cook [Mon, 19 Nov 2001 12:39:35 +0000 (12:39 +0000)]
fix polygon() call sequence
mention polygons in list at top of Drawing Methods
move mentions of general fills to bottom of Drawing methods and give a
bit more info

19 years agomove the combining function call outside the general fills (simplifies
Tony Cook [Mon, 19 Nov 2001 12:10:43 +0000 (12:10 +0000)]
move the combining function call outside the general fills (simplifies
the fills)
implement general fills for anti-aliased polygons

19 years agoBug fixes for the polygon rendering code where naming the same pixel twice
Arnar Mar Hrafnkelsson [Mon, 12 Nov 2001 18:46:47 +0000 (18:46 +0000)]
Bug fixes for the polygon rendering code where naming the same pixel twice
would result in an entire line being wrong.

19 years agoA segfault bug fixed in polygon.c where it would crash when invalid polygons
Arnar Mar Hrafnkelsson [Mon, 12 Nov 2001 08:26:05 +0000 (08:26 +0000)]
A segfault bug fixed in polygon.c where it would crash when invalid polygons
were fed to it.  Docs added to Imager.pm and minor test enhancements to
t/t75polyaa.t.

19 years agoFinished antialiased polygon drawing routines.
Arnar Mar Hrafnkelsson [Mon, 12 Nov 2001 07:11:58 +0000 (07:11 +0000)]
Finished antialiased polygon drawing routines.

19 years agothe examples were misleading. 2 people have been caught out, expecting
Tony Cook [Wed, 7 Nov 2001 01:29:08 +0000 (01:29 +0000)]
the examples were misleading. 2 people have been caught out, expecting
these to modify the image rather than returning a new one (amagosa and
Micksa)

19 years agoRelease version.
Arnar Mar Hrafnkelsson [Sat, 3 Nov 2001 18:19:11 +0000 (18:19 +0000)]
Release version.

19 years agoFixed missing myfree() in bmp.c.
Arnar Mar Hrafnkelsson [Fri, 2 Nov 2001 12:01:47 +0000 (12:01 +0000)]
Fixed missing myfree() in bmp.c.

19 years agofix memory leaks, gif screen size calculations
Tony Cook [Thu, 1 Nov 2001 23:43:34 +0000 (23:43 +0000)]
fix memory leaks, gif screen size calculations
extra tests for some leaks

19 years agoMissing myfree() in the default path of bmp loading.
Arnar Mar Hrafnkelsson [Thu, 1 Nov 2001 15:02:59 +0000 (15:02 +0000)]
Missing myfree() in the default path of bmp loading.

19 years agohave error.c free a non-leak when using the debug malloc
Tony Cook [Thu, 1 Nov 2001 14:27:40 +0000 (14:27 +0000)]
have error.c free a non-leak when using the debug malloc
have malloc_state() call i_clear_error() to make sure that is triggered

19 years agorelease some memory
Tony Cook [Thu, 1 Nov 2001 13:39:55 +0000 (13:39 +0000)]
release some memory

19 years agoMinor memory leak fixes.
Arnar Mar Hrafnkelsson [Thu, 1 Nov 2001 13:31:28 +0000 (13:31 +0000)]
Minor memory leak fixes.

19 years agoAdded Destroy method for Imager::Font::TT and moved to that package name
Arnar Mar Hrafnkelsson [Thu, 1 Nov 2001 11:35:04 +0000 (11:35 +0000)]
Added Destroy method for Imager::Font::TT and moved to that package name
the tt handles.  Other miscelleanious memory leaks sealed.

19 years agofix errors and some warnings on Win32
Tony Cook [Thu, 1 Nov 2001 10:25:49 +0000 (10:25 +0000)]
fix errors and some warnings on Win32

19 years agomissing binmode
Tony Cook [Thu, 1 Nov 2001 10:05:51 +0000 (10:05 +0000)]
missing binmode

19 years agoFixed most outstanding memory leaks that are revealed in the test cases.
Arnar Mar Hrafnkelsson [Thu, 1 Nov 2001 05:36:14 +0000 (05:36 +0000)]
Fixed most outstanding memory leaks that are revealed in the test cases.
gif.c, bmp.c, font.c and tga.c still need to be checked.

19 years agoAdded an Imager::log_entry() function and some extra logging
Arnar Mar Hrafnkelsson [Wed, 31 Oct 2001 22:26:15 +0000 (22:26 +0000)]
Added an Imager::log_entry() function and some extra logging
to some files.  Fixed a realloc -> myrealloc in tags.c

19 years agoRemoved empty default case, causes problems on sun/hpux cc.
Arnar Mar Hrafnkelsson [Wed, 31 Oct 2001 18:48:44 +0000 (18:48 +0000)]
Removed empty default case, causes problems on sun/hpux cc.

19 years agoChanges entries and iolayer test added to manifest.
Arnar Mar Hrafnkelsson [Wed, 31 Oct 2001 18:33:36 +0000 (18:33 +0000)]
Changes entries and iolayer test added to manifest.

19 years agochanged malloc to mymalloc in error.c and Added reading from scalars for all
Arnar Mar Hrafnkelsson [Wed, 31 Oct 2001 18:12:54 +0000 (18:12 +0000)]
changed malloc to mymalloc in error.c and Added reading from scalars for all
formats that support iolayer.

19 years agoAdded io_buffer for reading from scalars. Also added test cases. Added
Arnar Mar Hrafnkelsson [Wed, 31 Oct 2001 17:48:46 +0000 (17:48 +0000)]
Added io_buffer for reading from scalars.  Also added test cases.  Added
a myfree() call in XS code for gsamp.  Switched tags code to use mymalloc/free
which found a bufferover run in some gif tag code (test fails).  Fixed some
mymalloc/free bugs in bmp.c and tga.c.

19 years agoIncreased buffersize for iolayer buffer chains.
Arnar Mar Hrafnkelsson [Tue, 30 Oct 2001 09:58:08 +0000 (09:58 +0000)]
Increased buffersize for iolayer buffer chains.

19 years agoMinor improvement on include paths for freetype2.
Arnar Mar Hrafnkelsson [Tue, 30 Oct 2001 09:41:08 +0000 (09:41 +0000)]
Minor improvement on include paths for freetype2.

19 years agoFixed an endianness bug in tiff reading and switched the inclusion order for
Arnar Mar Hrafnkelsson [Tue, 30 Oct 2001 08:32:11 +0000 (08:32 +0000)]
Fixed an endianness bug in tiff reading and switched the inclusion order for
freetype2 so that it is searched before /usr/local/include

19 years agoprevent warnings/errors under 5.004_04
Tony Cook [Tue, 30 Oct 2001 01:19:54 +0000 (01:19 +0000)]
prevent warnings/errors under 5.004_04

19 years agoRemoved unused variable, commented out unused function.
Arnar Mar Hrafnkelsson [Mon, 29 Oct 2001 10:11:55 +0000 (10:11 +0000)]
Removed unused variable, commented out unused function.

19 years agoFixed some mlog() messages using uninitialized variables.
Arnar Mar Hrafnkelsson [Mon, 29 Oct 2001 09:59:48 +0000 (09:59 +0000)]
Fixed some mlog() messages using uninitialized variables.

19 years agoAdded .exp files for exporting symbols for plugins on AIX, plugins now work
Arnar Mar Hrafnkelsson [Sun, 28 Oct 2001 22:30:15 +0000 (22:30 +0000)]
Added .exp files for exporting symbols for plugins on AIX, plugins now work
with no tweaking on AIX.  Also bumped the version number to 0.39pre2.

19 years agoFixed i_transform2() so malloc(0) doesn't happen. Also corrected pod errors and
Arnar Mar Hrafnkelsson [Sun, 28 Oct 2001 21:11:40 +0000 (21:11 +0000)]
Fixed i_transform2() so malloc(0) doesn't happen.  Also corrected pod errors and
added author sections to all .c files.

19 years agoadded some more POD
Tony Cook [Sun, 28 Oct 2001 07:10:01 +0000 (07:10 +0000)]
added some more POD

19 years agoadded some docs, need to add more
Tony Cook [Sun, 28 Oct 2001 06:49:22 +0000 (06:49 +0000)]
added some docs, need to add more

19 years agoThis test was logging to the wrong logfile.
Arnar Mar Hrafnkelsson [Sat, 27 Oct 2001 20:28:08 +0000 (20:28 +0000)]
This test was logging to the wrong logfile.

19 years agoonly STRLEN types can be the second parameter of SvPV
Tony Cook [Sat, 27 Oct 2001 09:35:19 +0000 (09:35 +0000)]
only STRLEN types can be the second parameter of SvPV

19 years agoUpdated TODO
Arnar Mar Hrafnkelsson [Sat, 27 Oct 2001 09:12:24 +0000 (09:12 +0000)]
Updated TODO

19 years agoAdded casts for pointer assignments in pnm.c. Removed old stale code from
Arnar Mar Hrafnkelsson [Sat, 27 Oct 2001 09:02:46 +0000 (09:02 +0000)]
Added casts for pointer assignments in pnm.c.  Removed old stale code from
png.c

19 years agocheck the ft2 library too
Tony Cook [Sat, 27 Oct 2001 08:31:50 +0000 (08:31 +0000)]
check the ft2 library too

19 years agoAdded static to all internal functions for image.c and palimg.c
Arnar Mar Hrafnkelsson [Sat, 27 Oct 2001 08:21:08 +0000 (08:21 +0000)]
Added static to all internal functions for image.c and palimg.c

19 years agoFixed warnings for ~0 for unsigned int variables. Also a fix for a bug
Arnar Mar Hrafnkelsson [Sat, 27 Oct 2001 07:33:57 +0000 (07:33 +0000)]
Fixed warnings for ~0 for unsigned int variables.  Also a fix for a bug
in the tga code which shows on big endian machines.

19 years agofix some range checking for the fountain fill segment type
Tony Cook [Sat, 27 Oct 2001 07:30:10 +0000 (07:30 +0000)]
fix some range checking for the fountain fill segment type

19 years agomake it possible to run automated tests by adding the IM_SUPPRESS_PROMPTS
Tony Cook [Fri, 26 Oct 2001 12:33:05 +0000 (12:33 +0000)]
make it possible to run automated tests by adding the IM_SUPPRESS_PROMPTS
environment variable

19 years agoUpdated README with 2001 copyright and email address to bug us with.
Arnar Mar Hrafnkelsson [Fri, 26 Oct 2001 01:49:53 +0000 (01:49 +0000)]
Updated README with 2001 copyright and email address to bug us with.

19 years agooops, Imager/Font/Win32.pm missing from manifest
Tony Cook [Wed, 24 Oct 2001 10:38:01 +0000 (10:38 +0000)]
oops, Imager/Font/Win32.pm missing from manifest

19 years agotests missing from MANIFEST
Tony Cook [Wed, 24 Oct 2001 10:21:04 +0000 (10:21 +0000)]
tests missing from MANIFEST

19 years agobetter error checking of automatic fill conversions
Tony Cook [Wed, 24 Oct 2001 10:09:38 +0000 (10:09 +0000)]
better error checking of automatic fill conversions

19 years agoRemoved C++ comments that SunSPro and HPUX cc were not liking. Also removed
Arnar Mar Hrafnkelsson [Wed, 24 Oct 2001 10:00:39 +0000 (10:00 +0000)]
Removed C++ comments that SunSPro and HPUX cc were not liking.  Also removed
empty default cases with no break statement from switch statements.

19 years agoChanges file updated.
Arnar Mar Hrafnkelsson [Tue, 23 Oct 2001 23:12:31 +0000 (23:12 +0000)]
Changes file updated.

19 years agoFixes to the scale function so that edges are handled by extending the edges
Arnar Mar Hrafnkelsson [Tue, 23 Oct 2001 23:09:27 +0000 (23:09 +0000)]
Fixes to the scale function so that edges are handled by extending the edges
of the image with the value at the endpoint.  This avoids ringing near edges
for some images.

19 years agoClosed memory leaks when an error occurs during load of targa images. Fixed
Arnar Mar Hrafnkelsson [Tue, 23 Oct 2001 18:49:00 +0000 (18:49 +0000)]
Closed memory leaks when an error occurs during load of targa images.  Fixed
scaling bug which only occured for some scaling ratios.

20 years agoCounter correction.
Arnar Mar Hrafnkelsson [Tue, 23 Oct 2001 08:10:06 +0000 (08:10 +0000)]
Counter correction.

20 years agoAdding test for targa images.
Arnar Mar Hrafnkelsson [Tue, 23 Oct 2001 08:04:53 +0000 (08:04 +0000)]
Adding test for targa images.

20 years agoCompleted the calling interface from perl to c for targa images.
Arnar Mar Hrafnkelsson [Tue, 23 Oct 2001 06:43:49 +0000 (06:43 +0000)]
Completed the calling interface from perl to c for targa images.

20 years agoCleaned up io.h, io.c which had functions not used any more, removed unused
Arnar Mar Hrafnkelsson [Tue, 23 Oct 2001 02:04:59 +0000 (02:04 +0000)]
Cleaned up io.h, io.c which had functions not used any more, removed unused
and dated code from pnm.c.  Moved functions specific to raw images to raw.c
from io.c

20 years agotga.c should now support reading/writing all variants of targa files. XS needs
Arnar Mar Hrafnkelsson [Mon, 22 Oct 2001 15:12:34 +0000 (15:12 +0000)]
tga.c should now support reading/writing all variants of targa files.  XS needs
updating for writing targa files.  Also fixed a misplaced parenthesis in malloc
debug code.

20 years agoCode to free up resources for Imager::IO objects.
Arnar Mar Hrafnkelsson [Mon, 22 Oct 2001 11:35:57 +0000 (11:35 +0000)]
Code to free up resources for Imager::IO objects.

20 years agoVarious Changes to the memory accounting code, myrealloc() added.
Arnar Mar Hrafnkelsson [Mon, 22 Oct 2001 00:22:38 +0000 (00:22 +0000)]
Various Changes to the memory accounting code, myrealloc() added.

20 years agoadded POD to trans2.c
Tony Cook [Sun, 21 Oct 2001 12:20:25 +0000 (12:20 +0000)]
added POD to trans2.c
added i_error handling to transform2
clean up the perl side of transform2
tests for same

20 years agoAdded support for writing paletted targa images.
Arnar Mar Hrafnkelsson [Thu, 18 Oct 2001 03:04:25 +0000 (03:04 +0000)]
Added support for writing paletted targa images.

20 years agoPreliminary support for writing targa files. Compression not working yet.
Arnar Mar Hrafnkelsson [Wed, 17 Oct 2001 21:03:43 +0000 (21:03 +0000)]
Preliminary support for writing targa files.  Compression not working yet.

20 years agominor documentation clarification
Tony Cook [Wed, 17 Oct 2001 13:08:03 +0000 (13:08 +0000)]
minor documentation clarification

20 years agoinitial cut
Tony Cook [Thu, 11 Oct 2001 14:11:53 +0000 (14:11 +0000)]
initial cut

20 years agosome fixes to double/sample image support
Tony Cook [Thu, 11 Oct 2001 09:52:16 +0000 (09:52 +0000)]
some fixes to double/sample image support
make $img->bits return "double" for double/sample images

20 years agotest for dropping of % sign
Tony Cook [Wed, 10 Oct 2001 23:36:03 +0000 (23:36 +0000)]
test for dropping of % sign

20 years agobeen fixed
Tony Cook [Sun, 7 Oct 2001 23:44:34 +0000 (23:44 +0000)]
been fixed

20 years agooops
Tony Cook [Sun, 7 Oct 2001 23:23:04 +0000 (23:23 +0000)]
oops

20 years agoadded double/sample image support
Tony Cook [Sun, 7 Oct 2001 22:46:49 +0000 (22:46 +0000)]
added double/sample image support

20 years agoUpdated Changes file for recent diffs
Arnar Mar Hrafnkelsson [Sun, 7 Oct 2001 16:25:22 +0000 (16:25 +0000)]
Updated Changes file for recent diffs

20 years agoRewrote most of tga.c so that It now should be able to read all variants of
Arnar Mar Hrafnkelsson [Sun, 7 Oct 2001 16:22:20 +0000 (16:22 +0000)]
Rewrote most of tga.c so that It now should be able to read all variants of
tga.c except types 32 and 33.

20 years agostop ft1.x support dropping descenders
Tony Cook [Fri, 5 Oct 2001 13:49:21 +0000 (13:49 +0000)]
stop ft1.x support dropping descenders

20 years agoyep, we need these
Tony Cook [Sun, 30 Sep 2001 11:56:51 +0000 (11:56 +0000)]
yep, we need these

20 years agoFixes some warnings about unused variables and missing prototypes.
Arnar Mar Hrafnkelsson [Sun, 30 Sep 2001 09:35:12 +0000 (09:35 +0000)]
Fixes some warnings about unused variables and missing prototypes.

20 years agoAdded i_bumpmap_complex and corresponding filterentry and documentation.
Arnar Mar Hrafnkelsson [Sun, 30 Sep 2001 03:56:01 +0000 (03:56 +0000)]
Added i_bumpmap_complex and corresponding filterentry and documentation.

20 years agooops, forgot to return a value
Tony Cook [Tue, 25 Sep 2001 08:38:43 +0000 (08:38 +0000)]
oops, forgot to return a value