text color in image

From: Date: Mon, 03 Feb 2003 18:42:10 +0000
Subject: text color in image
Groups: php.general 
Request: Send a blank email to php-general+get-134155@lists.php.net to get a copy of this message
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.

« previous php.general (#134155) next »