note 12683 deleted from function.imagecolorallocate by jimw

From: Date: Sat, 08 Dec 2001 19:51:59 +0000
Subject: note 12683 deleted from function.imagecolorallocate by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-22138@lists.php.net to get a copy of this message
When working with JPEG's, imagecolorallocate seems not always to do, what is expected.<br>e.g.: after "imagecreatefromjpeg(...)", I use "imagecolorallocate($img,0,0,0)" and writing some text into the image with "imagestring(...)". This doesnt always have to be necessarily black.<br>Seems like it tries to interpret the colors in the JPEG the same like in the GIF-Palette.

« previous php.notes (#22138) next »