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
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
> 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
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:
4 matches
Mail list logo