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 = im

[PHP] GD - ttf without anti-aliasing

2001-08-17 Thread Tobias Strauß
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 = imagecolorallocate ($img, 0, 0, 0); $text = "This is a test!"; imagegetttftext ($img, 12, 0, 0, 0, $fontcolor, $text); ImagePng ($img); ImageDestr

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

[PHP] GD - ttf without anti-aliasing

2001-08-17 Thread Tobias Strauß
How can I create images with gd, so that the text (true type font) written on it will not be anti-aliased? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: