diff options
| author | Derick Rethans <derick@php.net> | 2001-01-24 09:24:26 +0000 |
|---|---|---|
| committer | Derick Rethans <derick@php.net> | 2001-01-24 09:24:26 +0000 |
| commit | c5b67e119c874678f64ed168a5cd914c6e900ee9 (patch) | |
| tree | a788fffa099a6b3889f0081800719e56f577e7d8 /ext/gd/php_gd.h | |
| parent | f275ad0cbe49f8fc4a17bd34253d7cc72c47d48e (diff) | |
| download | php-git-c5b67e119c874678f64ed168a5cd914c6e900ee9.tar.gz | |
- Commited a patch that adds support for converting Images to WBMP format.
(Thanx to Denis Gasparin <denis@editnet.it>)
@- Added support for converting images from JPG/PNG on the fly with the GD
@ extension, which is usefull for creating dynamic WAP-sites (Derick)
Diffstat (limited to 'ext/gd/php_gd.h')
| -rw-r--r-- | ext/gd/php_gd.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/gd/php_gd.h b/ext/gd/php_gd.h index 27999968fd..f9756c6318 100644 --- a/ext/gd/php_gd.h +++ b/ext/gd/php_gd.h @@ -131,11 +131,18 @@ PHP_FUNCTION(imagepsslantfont); PHP_FUNCTION(imagepstext); PHP_FUNCTION(imagepsbbox); +PHP_FUNCTION(jpeg2wbmp); +PHP_FUNCTION(png2wbmp); +PHP_FUNCTION(image2wbmp); + + gdImagePtr _php_image_create_from_string ( zval **Data, char *tn, gdImagePtr (*ioctx_func_p)() ); static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()); static void _php_image_output(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()); static void _php_image_output_wbmp(gdImagePtr im, FILE *fp); static int _php_image_type ( char data[8] ); +static void _php_image_bw_convert( gdImagePtr im_org, int threshold, FILE *out ); +static void _php_image_convert(INTERNAL_FUNCTION_PARAMETERS, int image_type); PHPAPI int phpi_get_le_gd(void); |
