diff options
author | SVN Migration <svn@php.net> | 2002-07-07 23:03:44 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2002-07-07 23:03:44 +0000 |
commit | 6befc001c9c6fdd85d1b3717201d2ba457ca33e0 (patch) | |
tree | 31c32d6fb48a15932d3c279ae3c48c077c498764 /ext/gd/libgd/gd_ss.c | |
parent | f8875adaab9fe973ab798ead093e21972ed43a13 (diff) | |
download | php-git-INITIAL_IMPORT_SOURCEFORGE.tar.gz |
This commit was manufactured by cvs2svn to create tagINITIAL_IMPORT_SOURCEFORGE
'INITIAL_IMPORT_SOURCEFORGE'.
Diffstat (limited to 'ext/gd/libgd/gd_ss.c')
-rw-r--r-- | ext/gd/libgd/gd_ss.c | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/ext/gd/libgd/gd_ss.c b/ext/gd/libgd/gd_ss.c deleted file mode 100644 index 200442ba0f..0000000000 --- a/ext/gd/libgd/gd_ss.c +++ /dev/null @@ -1,38 +0,0 @@ -#include <stdio.h> -#include <math.h> -#include <string.h> -#include <stdlib.h> -#include "gd.h" - -#define TRUE 1 -#define FALSE 0 - -/* Exported functions: */ -extern void gdImagePngToSink (gdImagePtr im, gdSinkPtr out); -extern gdImagePtr gdImageCreateFromPngSource (gdSourcePtr inSource); - -/* Use this for commenting out debug-print statements. */ -/* Just use the first '#define' to allow all the prints... */ -/*#define GD_SS_DBG(s) (s) */ -#define GD_SS_DBG(s) - -void -gdImagePngToSink (gdImagePtr im, gdSinkPtr outSink) -{ - gdIOCtx *out = gdNewSSCtx (NULL, outSink); - gdImagePngCtx (im, out); - out->free (out); -} - -gdImagePtr -gdImageCreateFromPngSource (gdSourcePtr inSource) -{ - gdIOCtx *in = gdNewSSCtx (inSource, NULL); - gdImagePtr im; - - im = gdImageCreateFromPngCtx (in); - - in->free (in); - - return im; -} |