note 8304 added to Fonctions sur les images
| From: | john dot fleuret at libertysurf dot fr | Date: | Tue, 05 Sep 2000 09:11:07 +0000 |
| Subject: | note 8304 added to Fonctions sur les images | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4164@lists.php.net to get a copy of this message | ||
How to view image created with this script
<?php
$img = ImageCreate(100,100);
header("content-Type: image/jpg");
$bgc = ImageColorAllocate($img,200,200,200);
$tc = ImageColorAllocate($img,0,0,0);
ImageFilledRectangle($img,0,0,100,100,$bgc);
?>
http://www.php.net/manual/fr/ref.image.php