note 22445 added to features.images
| From: | jarrylr at hotmail dot com | Date: | Tue, 18 Jun 2002 16:57:20 +0000 |
| Subject: | note 22445 added to features.images | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31981@lists.php.net to get a copy of this message | ||
Otra forma de crear imagenes en php es algo asi como esto:
<?
Header("Content-type: image/jpeg");
$im = imagecreate(200,200);
$fondo=imagecolorallocate ($im, 0, 0, 200);
$blanco=imagecolorallocate ($im, 255, 255, 255);
Imagefill ($im, 0, 0, $fondo);
imagerectangle ($im, 10, 10, 190, 190, $blanco);
Imagejpeg($im);
Imagedestroy($im);
?>
esto dibuja un rectangulo sin relleno
--
http://www.php.net/manual/en/features.images.php
http://master.php.net/manage/user-notes.php?action=edit+22445
http://master.php.net/manage/user-notes.php?action=delete+22445
http://master.php.net/manage/user-notes.php?action=reject+22445