note 36786 deleted from function.imagettftext by aidan
| From: | aidan@php.net | Date: | Mon, 20 Sep 2004 09:59:47 +0000 |
| Subject: | note 36786 deleted from function.imagettftext by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-77023@lists.php.net to get a copy of this message | ||
Note Submitter: redshift at pandora dot be
----
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.");