tularis Fri Jul 16 08:41:51 2004 EDT
Modified files: /phpdoc/en/reference/image/functions imagecreate.xml Log: fixed small typo in example (& removed comments about it) http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecreate.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/image/functions/imagecreate.xml diff -u phpdoc/en/reference/image/functions/imagecreate.xml:1.7 phpdoc/en/reference/image/functions/imagecreate.xml:1.8 --- phpdoc/en/reference/image/functions/imagecreate.xml:1.7 Mon Dec 15 11:51:11 2003 +++ phpdoc/en/reference/image/functions/imagecreate.xml Fri Jul 16 08:41:51 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 --> <refentry id="function.imagecreate"> <refnamediv> @@ -30,7 +30,7 @@ <![CDATA[ <?php header("Content-type: image/png"); -$im = @imagecreate(50, 100) +$im = @imagecreate(100, 50) or die("Cannot Initialize new GD image stream"); $background_color = imagecolorallocate($im, 255, 255, 255); $text_color = imagecolorallocate($im, 233, 14, 91);