summaryrefslogtreecommitdiff
path: root/ext/gd/libgd/gd.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2002-11-25 01:51:53 +0000
committerIlia Alshanetsky <iliaa@php.net>2002-11-25 01:51:53 +0000
commit9251486567c9a12e318c9de73da3703033c7e84b (patch)
tree2788199ac6b3ec85b56a0cffc5f3a773b5d8c06e /ext/gd/libgd/gd.h
parent5c851cba19221b9e03c34afdbd8396a7f5f9b6bf (diff)
downloadphp-git-9251486567c9a12e318c9de73da3703033c7e84b.tar.gz
Synchronized bundled gd library with the latest stable GD, 2.0.6
Fixed a configuration problem with xpm. Fixed 2 possible memory leaks in fontFetch().
Diffstat (limited to 'ext/gd/libgd/gd.h')
-rw-r--r--ext/gd/libgd/gd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/gd/libgd/gd.h b/ext/gd/libgd/gd.h
index 4629cd9a59..7d09d40949 100644
--- a/ext/gd/libgd/gd.h
+++ b/ext/gd/libgd/gd.h
@@ -298,6 +298,8 @@ int gdImageColorClosest(gdImagePtr im, int r, int g, int b);
beats the exact same color with radically different
transparency */
int gdImageColorClosestAlpha(gdImagePtr im, int r, int g, int b, int a);
+/* An alternate method */
+int gdImageColorClosestHWB(gdImagePtr im, int r, int g, int b);
/* Returns exact, 100% opaque matches only */
int gdImageColorExact(gdImagePtr im, int r, int g, int b);
/* Returns an exact match only, including alpha */