imager.git
19 years agoadded Artur's OSX dlload() emulation, with minor changes
Tony Cook [Sun, 3 Feb 2002 12:19:22 +0000 (12:19 +0000)]
added Artur's OSX dlload() emulation, with minor changes
modified _color() to work around a 5.6.0 bug

19 years agoHack to prevent crashing when libtiff wants to check the filesize of a file.
Arnar Mar Hrafnkelsson [Wed, 23 Jan 2002 02:34:20 +0000 (02:34 +0000)]
Hack to prevent crashing when libtiff wants to check the filesize of a file.
This only happens when certain conditions hold true in the tiff file.

19 years agoround the hsv to rgb results a little more nicely for integer RGB
Tony Cook [Tue, 22 Jan 2002 03:03:53 +0000 (03:03 +0000)]
round the hsv to rgb results a little more nicely for integer RGB

19 years agoAdded more verbose ok messages.
Arnar Mar Hrafnkelsson [Mon, 21 Jan 2002 23:25:38 +0000 (23:25 +0000)]
Added more verbose ok messages.

19 years agoRemoved old cruft from image.* and minor changes to rgb.c.
Arnar Mar Hrafnkelsson [Fri, 18 Jan 2002 18:15:14 +0000 (18:15 +0000)]
Removed old cruft from image.* and minor changes to rgb.c.

19 years agoFormatting change.
Arnar Mar Hrafnkelsson [Fri, 18 Jan 2002 18:10:29 +0000 (18:10 +0000)]
Formatting change.

19 years agoformat change.
Arnar Mar Hrafnkelsson [Fri, 18 Jan 2002 18:02:34 +0000 (18:02 +0000)]
format change.

19 years agoRemoved wrongly named file.
Arnar Mar Hrafnkelsson [Fri, 18 Jan 2002 03:46:50 +0000 (03:46 +0000)]
Removed wrongly named file.

19 years agoAdded Filters.pod instead of .pm!
Arnar Mar Hrafnkelsson [Fri, 18 Jan 2002 03:44:32 +0000 (03:44 +0000)]
Added Filters.pod instead of .pm!

19 years agomention #imager
Tony Cook [Thu, 17 Jan 2002 04:06:48 +0000 (04:06 +0000)]
mention #imager

19 years agoadded information about the mailing list to a SUPPORT section
Tony Cook [Thu, 17 Jan 2002 04:01:06 +0000 (04:01 +0000)]
added information about the mailing list to a SUPPORT section

19 years agoMinor doc change.
Arnar Mar Hrafnkelsson [Thu, 17 Jan 2002 03:45:57 +0000 (03:45 +0000)]
Minor doc change.

19 years agoadded getpixel()/setpixel() methods
Tony Cook [Thu, 17 Jan 2002 01:39:14 +0000 (01:39 +0000)]
added getpixel()/setpixel() methods

19 years agoModified tiff test to write to the testout directory.
Arnar Mar Hrafnkelsson [Wed, 16 Jan 2002 17:57:10 +0000 (17:57 +0000)]
Modified tiff test to write to the testout directory.

19 years agoAdded a better Synopsis section which still needs work and some
Arnar Mar Hrafnkelsson [Wed, 16 Jan 2002 07:31:54 +0000 (07:31 +0000)]
Added a better Synopsis section which still needs work and some
stuff in DESCRIPTION.

19 years agoMoved last bits out docs of Imager.pm.
Arnar Mar Hrafnkelsson [Wed, 16 Jan 2002 06:47:30 +0000 (06:47 +0000)]
Moved last bits out docs of Imager.pm.

19 years agoMoved last bits of docs (unedited) to Files.pod.
Arnar Mar Hrafnkelsson [Wed, 16 Jan 2002 06:36:58 +0000 (06:36 +0000)]
Moved last bits of docs (unedited) to Files.pod.

19 years agoMoved the Quantization option docs to ImageTypes.
Arnar Mar Hrafnkelsson [Wed, 16 Jan 2002 05:51:02 +0000 (05:51 +0000)]
Moved the Quantization option docs to ImageTypes.

19 years agoAdded Engines pod, moved masked images to ImageTypes, and moved convert()
Arnar Mar Hrafnkelsson [Wed, 16 Jan 2002 04:39:02 +0000 (04:39 +0000)]
Added Engines pod, moved masked images to ImageTypes, and moved convert()
and map() to Transformations.

19 years agoFilter pod added.
Arnar Mar Hrafnkelsson [Wed, 16 Jan 2002 03:10:39 +0000 (03:10 +0000)]
Filter pod added.

19 years agosome updates
Tony Cook [Tue, 15 Jan 2002 23:41:03 +0000 (23:41 +0000)]
some updates

19 years agoMoved tag handling and general tags into ImageTypes and format
Arnar Mar Hrafnkelsson [Tue, 15 Jan 2002 22:08:28 +0000 (22:08 +0000)]
Moved tag handling and general tags into ImageTypes and format
specific tags into Files.  Updated ImageTypes a lot.

19 years agoAdded Image Type pod draft.
Arnar Mar Hrafnkelsson [Tue, 15 Jan 2002 06:02:21 +0000 (06:02 +0000)]
Added Image Type pod draft.

19 years agoexplain what I was trying to explain in IRC
Tony Cook [Mon, 14 Jan 2002 08:25:13 +0000 (08:25 +0000)]
explain what I was trying to explain in IRC

19 years agoAdded documentation for simple transforms in a separate pod.
Arnar Mar Hrafnkelsson [Mon, 14 Jan 2002 04:30:57 +0000 (04:30 +0000)]
Added documentation for simple transforms in a separate pod.

19 years agoAdded Draw.pod to MANIFEST
Arnar Mar Hrafnkelsson [Sun, 13 Jan 2002 07:04:14 +0000 (07:04 +0000)]
Added Draw.pod to MANIFEST

19 years agoAdded a seperate pod for primitives drawing.
Arnar Mar Hrafnkelsson [Sun, 13 Jan 2002 03:57:58 +0000 (03:57 +0000)]
Added a seperate pod for primitives drawing.

19 years agodidn't set default for bounding_box() utf8 parameter (caused a warning
Tony Cook [Fri, 11 Jan 2002 03:43:46 +0000 (03:43 +0000)]
didn't set default for bounding_box() utf8 parameter (caused a warning
when calling bounding_box() on a FT2 font with no utf8 parameter)

19 years agofix calculation of descender for FT2, it was calculating the minimum
Tony Cook [Fri, 11 Jan 2002 01:11:17 +0000 (01:11 +0000)]
fix calculation of descender for FT2, it was calculating the minimum
decent rather than the maximum for the characters in the string

19 years agouse the font's first character map if we don't find a unicode map (FT1)
Tony Cook [Thu, 10 Jan 2002 12:37:18 +0000 (12:37 +0000)]
use the font's first character map if we don't find a unicode map (FT1)
use the glyphs' bounding boxes rather than the global ascent/descent to
get the size of the render bitmap, to work around fonts with broken
metrics

19 years agomodify the Freetype2 font code to pick it's own encoding rather than
Tony Cook [Wed, 9 Jan 2002 13:05:08 +0000 (13:05 +0000)]
modify the Freetype2 font code to pick it's own encoding rather than
using whatever strange translation FT2 happens to pick

19 years agonew docs
Tony Cook [Tue, 8 Jan 2002 07:28:24 +0000 (07:28 +0000)]
new docs

19 years agomore gif docs
Tony Cook [Mon, 7 Jan 2002 23:32:23 +0000 (23:32 +0000)]
more gif docs

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.

20 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

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

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

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

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

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

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

20 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

20 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

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

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

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

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

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

20 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

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

20 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

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

20 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

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

20 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

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

20 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