note 3007 deleted from ImageLine by ronabop

From: Date: Wed, 04 Oct 2000 15:08:49 +0000
Subject: note 3007 deleted from ImageLine by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-6041@lists.php.net to get a copy of this message
I try to draw graphics wtih php' functions. I arrive to create an image gif. But i want to draw in : draw lines and rectangles and write in. My code is : <PRE> <HTML> <BODY> &lt;? header("Content-type: image/gif"); //phpinfo(); $im0= imagecreate(1000, 1000); imagegif($im0, "test0.gif"); $col1 ="12,20,20"; $im1 = imagerectangle($im0, 5, 100, 200, 200, $col1); imagegif($im1, "test1.gif"); $col2 ="122,200,250"; $im2 = imageline($im0, 5, 200, 200, 200, $col2); imagegif($im2, "test2.gif"); ?> <IMG SRC="test1.gif"> <IMG SRC="test2.gif"> </BODY> </HTML> </PRE> Thank you for your help!

« previous php.notes (#6041) next »