note 30328 added to function.imagecolorstotal
| From: | teper at axelero dot hu | Date: | Fri, 14 Mar 2003 08:39:44 +0000 |
| Subject: | note 30328 added to function.imagecolorstotal | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45288@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?
--
http://www.php.net/manual/en/function.imagecolorstotal.php
http://master.php.net/manage/user-notes.php?action=edit+30328
http://master.php.net/manage/user-notes.php?action=delete+30328
http://master.php.net/manage/user-notes.php?action=reject+30328