]> git.imager.perl.org - imager.git/log
imager.git
23 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.

23 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

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

23 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

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

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

23 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

23 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

23 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

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

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

23 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

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

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

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

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

23 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

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

23 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

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

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

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

23 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

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

23 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

23 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

23 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

23 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

23 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!)

23 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

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

23 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

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

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

23 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

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

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

23 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

23 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

23 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

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

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

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

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

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

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

23 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

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

23 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

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

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

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

23 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

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

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

23 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

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

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

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

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

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

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

23 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

23 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

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

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

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

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

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

23 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

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

23 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

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

23 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

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

23 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

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

23 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

23 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

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

23 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

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

23 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

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

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

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

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

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

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

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

23 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

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

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

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

23 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

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

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

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

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

23 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