Re: [PHP] GD - ttf without anti-aliasing

2001-08-17 Thread Rasmus Lerdorf
How can I create images with gd, so that the text (true type font) written on it will not be anti-aliased? Supposedly by using a negative colour index. Although I have had limited success with that. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] GD - ttf without anti-aliasing

2001-08-17 Thread Rasmus Lerdorf
Read the documentation: http://php.net/imagettftext This stuff is not a secret. -Rasmus On Fri, 17 Aug 2001, Tobias Strauß wrote: What's a negative color index and how can I use it? My code so far is: header (Content-type: image/png); $img = imagecreate (200, 200); $fontcolor =