diff options
| author | Pierre Joye <pajoye@php.net> | 2010-10-04 22:30:35 +0000 |
|---|---|---|
| committer | Pierre Joye <pajoye@php.net> | 2010-10-04 22:30:35 +0000 |
| commit | cccc349aa5d092d9e3bc808e0fcbbd2d8562a8f5 (patch) | |
| tree | 6e30dd3a29961df3c1f76edf37800ed405ba2ff4 /ext/gd/php_gd.h | |
| parent | 304bc60e9898da7f1420a372ec929ae331be2570 (diff) | |
| download | php-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.h | 5 |
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); |
