cvs: phpdoc-fr /reference/image/functions image2wbmp.xml
| From: | Mehdi Achour | Date: | Wed, 18 Feb 2004 11:20:00 +0000 |
| Subject: | cvs: phpdoc-fr /reference/image/functions image2wbmp.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-1465@lists.php.net to get a copy of this message | ||
didou Wed Feb 18 06:20:00 2004 EDT
Modified files:
/phpdoc-fr/reference/image/functions image2wbmp.xml
Log:
fix example
http://cvs.php.net/diff.php/phpdoc-fr/reference/image/functions/image2wbmp.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc-fr/reference/image/functions/image2wbmp.xml
diff -u phpdoc-fr/reference/image/functions/image2wbmp.xml:1.5
phpdoc-fr/reference/image/functions/image2wbmp.xml:1.6
--- phpdoc-fr/reference/image/functions/image2wbmp.xml:1.5 Tue Dec 30 13:43:45 2003
+++ phpdoc-fr/reference/image/functions/image2wbmp.xml Wed Feb 18 06:19:59 2004
@@ -37,10 +37,11 @@
<![CDATA[
<?php
- $file = 'php.jpg';
+ $file = 'php.png';
+ $image = imagecreatefrompng($file);
header('Content-type: ' . image_type_to_mime_type(IMAGETYPE_WBMP));
- image2wbmp($file); // output the stream directly
+ image2wbmp($image); // output the stream directly
?>
]]>