eschmid         Sat Jan 27 06:20:06 2001 EDT

  Modified files:              
    /php4/ext/gd        gd.c 
  Log:
  File formats in uppercase characters.
  
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.110 php4/ext/gd/gd.c:1.111
--- php4/ext/gd/gd.c:1.110      Thu Jan 25 12:52:52 2001
+++ php4/ext/gd/gd.c    Sat Jan 27 06:20:06 2001
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: gd.c,v 1.110 2001/01/25 20:52:52 hholzgra Exp $ */
+/* $Id: gd.c,v 1.111 2001/01/27 14:20:06 eschmid Exp $ */
 
 /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, 
    Cold Spring Harbor Labs. */
@@ -470,7 +470,7 @@
 /* }}} */
 
 /* {{{ 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 @@
 
 
 /* {{{ 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 @@
 /* }}} */
 
 /* {{{ 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 @@
                        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;



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to