diff options
author | Egon Schmid <eschmid@php.net> | 2001-01-27 14:20:06 +0000 |
---|---|---|
committer | Egon Schmid <eschmid@php.net> | 2001-01-27 14:20:06 +0000 |
commit | 5b57490772c30cce46e2e7a60b1619d2ea804cf7 (patch) | |
tree | c563bfd5c1134b04aab20f9f6b5aa70e33c1d08c | |
parent | f67df57491234e2c8c38730d312e36caa5617b39 (diff) | |
download | php-git-5b57490772c30cce46e2e7a60b1619d2ea804cf7.tar.gz |
File formats in uppercase characters.
-rw-r--r-- | ext/gd/gd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c index eeaf15709b..b12a057900 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -470,7 +470,7 @@ PHP_FUNCTION(imagecreate) /* }}} */ /* {{{ proto int imagetypes(void) - Return the types of images supported in a bitfield - 1=gif, 2=jpeg, 4=png, 8=wbmp */ + Return the types of images supported in a bitfield - 1=GIF, 2=JPEG, 4=PNG, 8=WBMP */ PHP_FUNCTION(imagetypes) { int ret=0; @@ -2660,7 +2660,7 @@ PHP_FUNCTION(image2wbmp) /* {{{ proto void jpeg2wbmp (string f_org, string f_dest, int d_height, int d_width) - Convert Jpeg image to Wbmp image */ + Convert JPEG image to WBMP image */ PHP_FUNCTION(jpeg2wbmp) { #ifdef HAVE_GD_JPG @@ -2678,7 +2678,7 @@ PHP_FUNCTION(jpeg2wbmp) /* }}} */ /* {{{ proto void png2wbmp (string f_org, string f_dest, int d_height, int d_width) - Convert Png image to Wbmp image */ + Convert PNG image to WBMP image */ PHP_FUNCTION(png2wbmp) { #ifdef HAVE_GD_PNG @@ -2815,14 +2815,14 @@ static void _php_image_convert(INTERNAL_FUNCTION_PARAMETERS, int image_type ) { case PHP_GDIMG_TYPE_JPG: im_org = gdImageCreateFromJpeg (org); if (im_org == NULL) { - php_error (E_WARNING, "%s: unable to open '%s' Not a valid jpeg file", get_active_function_name(), fn_dest); + php_error (E_WARNING, "%s: unable to open '%s' Not a valid JPEG file", get_active_function_name(), fn_dest); RETURN_FALSE; } break; case PHP_GDIMG_TYPE_PNG: im_org = gdImageCreateFromPng(org); if (im_org == NULL) { - php_error (E_WARNING, "%s: unable to open '%s' Not a valid png file", get_active_function_name(), fn_dest); + php_error (E_WARNING, "%s: unable to open '%s' Not a valid PNG file", get_active_function_name(), fn_dest); RETURN_FALSE; } break; |