note 89981 added to function.imagickdraw-construct
| From: | Anonymous at osu1 dot php dot net | Date: | Tue, 31 Mar 2009 22:59:13 +0000 |
| Subject: | note 89981 added to function.imagickdraw-construct | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-152670@lists.php.net to get a copy of this message | ||
To set up and output an image the very minimum:
<?php
$img = new Imagick();
$img->newImage( 200, 200, new ImagickPixel( 'lime' ) );
$img->setImageFormat( "png" );
header( "Content-Type: image/png" );
echo $img;
?>
Copy, paste; and if imagemagick is enabled it should come up with a lime colored square.
----
Server IP: 91.199.167.18
Probable Submitter: 82.169.45.174
----
Manual Page -- http://www.php.net/manual/en/function.imagickdraw-construct.php
Edit -- https://master.php.net/note/edit/89981
Del: integrated -- https://master.php.net/note/delete/89981/integrated
Del: useless -- https://master.php.net/note/delete/89981/useless
Del: bad code -- https://master.php.net/note/delete/89981/bad+code
Del: spam -- https://master.php.net/note/delete/89981/spam
Del: non-english -- https://master.php.net/note/delete/89981/non-english
Del: in docs -- https://master.php.net/note/delete/89981/in+docs
Del: other reasons-- https://master.php.net/note/delete/89981
Reject -- https://master.php.net/note/reject/89981
Search -- https://master.php.net/manage/user-notes.php