cvs: phpdoc /en/features images.xml
| From: | James Moore | Date: | Sat, 14 Oct 2000 13:15:51 +0000 |
| Subject: | cvs: phpdoc /en/features images.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969332481@lists.php.net to get a copy of this message | ||
jmoore Sat Oct 14 06:15:51 2000 EDT
Modified files:
/phpdoc/en/features images.xml
Log:
Missed a few
Index: phpdoc/en/features/images.xml
diff -u phpdoc/en/features/images.xml:1.4 phpdoc/en/features/images.xml:1.5
--- phpdoc/en/features/images.xml:1.4 Sat Oct 14 06:08:07 2000
+++ phpdoc/en/features/images.xml Sat Oct 14 06:15:51 2000
@@ -14,10 +14,10 @@
<para>
<example>
- <title>GIF creation with PHP</title>
+ <title>PNG creation with PHP</title>
<programlisting role="php">
<?php
- Header("Content-type: image/gif");
+ Header("Content-type: image/png");
$string=implode($argv," ");
$im = imageCreateFromPng("images/button1.png");
$orange = ImageColorAllocate($im, 220, 210, 60);
@@ -32,7 +32,7 @@
This example would be called from a page with a tag like: <img
src="button.php?text"> The above button.php script
then takes this "text" string an overlays it on top of a
- base image which in this case is "images/button1.gif"
+ base image which in this case is "images/button1.png"
and outputs the resulting image. This is a very convenient way to
avoid having to draw new button images every time you want to
change the text of a button. With this method they are