note 36786 added to function.imagettftext
| From: | redshift at pandora dot be | Date: | Wed, 22 Oct 2003 11:22:12 +0000 |
| Subject: | note 36786 added to function.imagettftext | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-59113@lists.php.net to get a copy of this message | ||
You can turn off anti-aliasing by giving to the color argument a negative value. For example:
$white = imagecolorallocate($image, 255, 255, 255);
imagettftext($image, 7, 0, 0, 9, - $white, "./library/fonts/verdana.ttf", "Hi
I'm not anti-aliased.");
----
Manual Page -- http://www.php.net/manual/en/function.imagettftext.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36786
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36786&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36786&report=yes
Search -- http://master.php.net/manage/user-notes.php