imager.git
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

20 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

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

20 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

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

20 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

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

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

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

20 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

20 years agosupposedly FT2 supports all of these
Tony Cook [Sun, 23 Sep 2001 12:44:01 +0000 (12:44 +0000)]
supposedly FT2 supports all of these

20 years agoclamp i_conv() at both ends
Tony Cook [Wed, 19 Sep 2001 12:27:16 +0000 (12:27 +0000)]
clamp i_conv() at both ends

20 years agoclamp low end too
Tony Cook [Wed, 19 Sep 2001 12:17:27 +0000 (12:17 +0000)]
clamp low end too

20 years agoimplement unsharp mask
Tony Cook [Wed, 19 Sep 2001 10:59:41 +0000 (10:59 +0000)]
implement unsharp mask

20 years agoimage based fills
Tony Cook [Wed, 19 Sep 2001 02:15:08 +0000 (02:15 +0000)]
image based fills

20 years agohave ->arc() call i_circle_aa when drawing a solid aa complete circle
Tony Cook [Tue, 18 Sep 2001 11:22:09 +0000 (11:22 +0000)]
have ->arc() call i_circle_aa when drawing a solid aa complete circle

20 years agoan idea
Tony Cook [Tue, 18 Sep 2001 10:35:38 +0000 (10:35 +0000)]
an idea

20 years agoprevent const char * to char * conversion warning
Tony Cook [Tue, 18 Sep 2001 05:29:05 +0000 (05:29 +0000)]
prevent const char * to char * conversion warning

20 years agowriting a paletted image as GIF should be a bit more efficient
Tony Cook [Tue, 18 Sep 2001 04:42:54 +0000 (04:42 +0000)]
writing a paletted image as GIF should be a bit more efficient

20 years agoAdds reading of non colour mapped targa images.
Arnar Mar Hrafnkelsson [Sun, 16 Sep 2001 21:16:14 +0000 (21:16 +0000)]
Adds reading of non colour mapped targa images.

20 years agoAdds reading capabilities for certain variants of targa, writer code has not been
Arnar Mar Hrafnkelsson [Sun, 16 Sep 2001 09:01:54 +0000 (09:01 +0000)]
Adds reading capabilities for certain variants of targa, writer code has not been
done yet.

20 years agomake write errors for jpegs cause errors at the top level
Tony Cook [Sat, 15 Sep 2001 04:14:14 +0000 (04:14 +0000)]
make write errors for jpegs cause errors at the top level

20 years agofixed the font problems
Tony Cook [Fri, 14 Sep 2001 11:03:02 +0000 (11:03 +0000)]
fixed the font problems

20 years agofixed cut off of left of first character if it went to left of CP
Tony Cook [Fri, 14 Sep 2001 10:51:56 +0000 (10:51 +0000)]
fixed cut off of left of first character if it went to left of CP
fixed artifacts when characters overlap
for freetype1 driver

20 years agomake it a bit more portable - old pnmscale complains
Tony Cook [Thu, 13 Sep 2001 11:06:48 +0000 (11:06 +0000)]
make it a bit more portable - old pnmscale complains

20 years agosimple benchmark for scaling
Tony Cook [Thu, 13 Sep 2001 10:53:57 +0000 (10:53 +0000)]
simple benchmark for scaling

20 years agothis is asked about occasionally
Tony Cook [Tue, 11 Sep 2001 12:25:59 +0000 (12:25 +0000)]
this is asked about occasionally

20 years agoforgot to add change note for this
Tony Cook [Tue, 11 Sep 2001 02:05:24 +0000 (02:05 +0000)]
forgot to add change note for this

20 years agogenerates a page that demonstrates various combining modes
Tony Cook [Mon, 10 Sep 2001 12:28:44 +0000 (12:28 +0000)]
generates a page that demonstrates various combining modes

20 years agobetter error handling
Tony Cook [Mon, 10 Sep 2001 10:50:24 +0000 (10:50 +0000)]
better error handling
handle combining modes for non-transparent colors

20 years agomaybe I'll learn to type one day
Tony Cook [Mon, 10 Sep 2001 07:29:54 +0000 (07:29 +0000)]
maybe I'll learn to type one day

20 years agosee how this goes - updated the test result after getting the same on 3 environments
Tony Cook [Mon, 10 Sep 2001 07:27:46 +0000 (07:27 +0000)]
see how this goes - updated the test result after getting the same on 3 environments

20 years agomis-handling for hues
Tony Cook [Mon, 10 Sep 2001 07:25:01 +0000 (07:25 +0000)]
mis-handling for hues

20 years agoshould use binmode
Tony Cook [Mon, 10 Sep 2001 07:11:15 +0000 (07:11 +0000)]
should use binmode

20 years agodidn't handle wiol versions of writeppm
Tony Cook [Mon, 10 Sep 2001 06:48:32 +0000 (06:48 +0000)]
didn't handle wiol versions of writeppm

20 years agoboth done
Tony Cook [Sun, 9 Sep 2001 15:00:44 +0000 (15:00 +0000)]
both done

20 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

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

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

20 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

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

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

20 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

20 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

20 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

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

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

20 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

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

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

20 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

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

20 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

20 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

20 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

20 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

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

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

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

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

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

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

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

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

20 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

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