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 = imagecolorallocate ($img, 0, 0, 0);
> $text = "This is a test!";
> imagegetttftext ($img, 12, 0, 0, 0, $fontcolor, $text);
> ImagePng ($img);
> ImageDestroy ($img);
>
>
>
>
>
--
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: [EMAIL PROTECTED]