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]

Reply via email to