note 30328 rejected from function.imagecolorstotal by betz

From: Date: Fri, 14 Mar 2003 12:53:49 +0000
Subject: note 30328 rejected from function.imagecolorstotal by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-45302@lists.php.net to get a copy of this message
The following code prints out 0 on PHP4.0.6/GD1.6.2: $src = imagecreatefromjpeg($Kep); echo imagecolorstotal($src); imagedestroy($src); When I do imagecopy*(), the destination image will contain 256 colors, but not the correct ones... What can be done to solve this?

« previous php.notes (#45302) next »