From 3f02850c433f37fd4dbdee13488b4ea76c8274d7 Mon Sep 17 00:00:00 2001 From: James Moore Date: Sat, 14 Oct 2000 13:15:51 +0000 Subject: [PATCH] Missed a few git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@33830 c90b9560-bf6c-de11-be94-00142212c4b1 --- features/images.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features/images.xml b/features/images.xml index 98baf2f82e..a62ab266ea 100644 --- a/features/images.xml +++ b/features/images.xml @@ -14,10 +14,10 @@ - GIF creation with PHP + PNG creation with 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