summaryrefslogtreecommitdiff
path: root/ext/gd/libgd/gd.h
diff options
context:
space:
mode:
authorStefan Esser <sesser@php.net>2004-07-22 22:38:59 +0000
committerStefan Esser <sesser@php.net>2004-07-22 22:38:59 +0000
commite58e6efd4dedbbe7fa87382da2f41fa89440e77b (patch)
tree05310f0fd9fb6b9956fc976f8b56432172d2fca2 /ext/gd/libgd/gd.h
parent170c92dfbee287fdde3e1f6cf6f9585333ce1b58 (diff)
downloadphp-git-e58e6efd4dedbbe7fa87382da2f41fa89440e77b.tar.gz
Merge changes from GD 2.0.28
Diffstat (limited to 'ext/gd/libgd/gd.h')
-rw-r--r--ext/gd/libgd/gd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/gd/libgd/gd.h b/ext/gd/libgd/gd.h
index f0fdb6b284..c7e12ac635 100644
--- a/ext/gd/libgd/gd.h
+++ b/ext/gd/libgd/gd.h
@@ -407,8 +407,11 @@ void gdImageColorDeallocate(gdImagePtr im, int color);
conversion to palette is not great (for small images
it can be negative) and the quality loss is ugly. */
+gdImagePtr gdImageCreatePaletteFromTrueColor (gdImagePtr im, int ditherFlag, int colorsWanted);
+
void gdImageTrueColorToPalette(gdImagePtr im, int ditherFlag, int colorsWanted);
+
/* An attempt at getting the results of gdImageTrueColorToPalette
to look a bit more like the original (im1 is the original
and im2 is the palette version */
@@ -428,6 +431,8 @@ void gdImageColorTransparent(gdImagePtr im, int color);
void gdImagePaletteCopy(gdImagePtr dst, gdImagePtr src);
void gdImagePng(gdImagePtr im, FILE *out);
void gdImagePngCtx(gdImagePtr im, gdIOCtx *out);
+void gdImageGif(gdImagePtr im, FILE *out);
+void gdImageGifCtx(gdImagePtr im, gdIOCtx *out);
/* 2.0.12: Compression level: 0-9 or -1, where 0 is NO COMPRESSION at all,
* 1 is FASTEST but produces larger files, 9 provides the best
* compression (smallest files) but takes a long time to compress, and