Any idea why this would NOT create white text?

$png = ImageCreatefrompng("images/menu0.png");
$tx_color = ImageColorAllocate($png,255,255,255);
imagettftext($png,12,0,25,16,$tx_color,$font,$text);


There IS white (255,255,255) in the source png's palette, I don't know
weather that makes a difference or not.


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

Reply via email to