note 89277 deleted from function.imagick-annotateimage by thiago
| From: | thiago@php.net | Date: | Sun, 01 Mar 2009 15:24:38 +0000 |
| Subject: | note 89277 deleted from function.imagick-annotateimage by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-151289@lists.php.net to get a copy of this message | ||
Note Submitter: Simone B
----
The example in this page is wrong: it will always print black text.
The right way to change the text's color would be:
<?
/* Black text */
$pixel->setColor('black');
$draw->setStrokeColor($pixel); // This line is required, or text will always be black
?>