And to correct one mistake in the code that was kindly pointed out but is
here just a typo:

> $bg=imagecolorallocate($img, 255, 255, 255);
> $font_color=imageallocatecolor($img, 0, 0, 0);

Should be:
$bg=imagecolorallocate($img, 255, 255, 255);
$font_color=imagecolorallocate($img, 0, 0, 0);

Full error check is on and the colors are correctly indexed as far as I
can tell, but the TTF text stubbornly shows up yellow.

Anni H.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to