summaryrefslogtreecommitdiff
path: root/ext/gd/php_gd.h
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-10-04 22:30:35 +0000
committerPierre Joye <pajoye@php.net>2010-10-04 22:30:35 +0000
commitcccc349aa5d092d9e3bc808e0fcbbd2d8562a8f5 (patch)
tree6e30dd3a29961df3c1f76edf37800ed405ba2ff4 /ext/gd/php_gd.h
parent304bc60e9898da7f1420a372ec929ae331be2570 (diff)
downloadphp-git-cccc349aa5d092d9e3bc808e0fcbbd2d8562a8f5.tar.gz
- initial webp support, rely on libpx, final version will be either w/o dep or using libwebp (to be released by g)
Diffstat (limited to 'ext/gd/php_gd.h')
-rw-r--r--ext/gd/php_gd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/gd/php_gd.h b/ext/gd/php_gd.h
index 7fbedbe4e0..de90925a6d 100644
--- a/ext/gd/php_gd.h
+++ b/ext/gd/php_gd.h
@@ -48,7 +48,8 @@
#define PHP_GDIMG_CONVERT_WBM 7
#define PHP_GDIMG_TYPE_GD 8
#define PHP_GDIMG_TYPE_GD2 9
-#define PHP_GDIMG_TYPE_GD2PART 10
+#define PHP_GDIMG_TYPE_GD2PART 10
+#define PHP_GDIMG_TYPE_WEBP 11
#ifdef PHP_WIN32
# define PHP_GD_API __declspec(dllexport)
@@ -135,6 +136,7 @@ PHP_FUNCTION(imagecreatefromstring);
PHP_FUNCTION(imagecreatefromgif);
PHP_FUNCTION(imagecreatefromjpeg);
PHP_FUNCTION(imagecreatefromxbm);
+PHP_FUNCTION(imagecreatefromwebp);
PHP_FUNCTION(imagecreatefrompng);
PHP_FUNCTION(imagecreatefromwbmp);
PHP_FUNCTION(imagecreatefromgd);
@@ -156,6 +158,7 @@ PHP_FUNCTION(imagefontheight);
PHP_FUNCTION(imagegif );
PHP_FUNCTION(imagejpeg );
PHP_FUNCTION(imagepng);
+PHP_FUNCTION(imagewebp);
PHP_FUNCTION(imagewbmp);
PHP_FUNCTION(imagegd);
PHP_FUNCTION(imagegd2);