note 93784 added to function.imagickpixel-setcolor
| From: | iamthadiyan at gmail dot com | Date: | Tue, 29 Sep 2009 10:58:33 +0000 |
| Subject: | note 93784 added to function.imagickpixel-setcolor | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-161136@lists.php.net to get a copy of this message | ||
$image = new Imagick("foo.jpg");
$draw = new ImagickDraw();
$pixel = new ImagickPixel();
// set alignment
$draw->setTextAlignment(Imagick::ALIGN_CENTER);
// set font
$draw->setFont("Arial");
// set font size
$draw->setFontSize(20);
// set font color
$pixel->setColor("#323232");
$draw->setFillColor($pixel);
$xcord=200;
$ycord=400;
$rotationangle=45;
$image->annotateImage($draw, $xcord,$ycord, $rotationangle, "writing text on an image with
45 degree rotation");
----
Server IP: 202.65.157.132
Probable Submitter: 119.82.101.3
----
Manual Page -- http://www.php.net/manual/en/function.imagickpixel-setcolor.php
Edit -- https://master.php.net/note/edit/93784
Del: integrated -- https://master.php.net/note/delete/93784/integrated
Del: useless -- https://master.php.net/note/delete/93784/useless
Del: bad code -- https://master.php.net/note/delete/93784/bad+code
Del: spam -- https://master.php.net/note/delete/93784/spam
Del: non-english -- https://master.php.net/note/delete/93784/non-english
Del: in docs -- https://master.php.net/note/delete/93784/in+docs
Del: other reasons-- https://master.php.net/note/delete/93784
Reject -- https://master.php.net/note/reject/93784
Search -- https://master.php.net/manage/user-notes.php