note 34091 added to function.imagecolorstotal

From: Date: Wed, 16 Jul 2003 03:54:04 +0000
Subject: note 34091 added to function.imagecolorstotal
Groups: php.notes 
Request: Send a blank email to php-notes+get-52165@lists.php.net to get a copy of this message
I would assume that since it says "number of colors in an image's palette" that the behaviour is undefined for non-paletted image types (for example, JPEG). It would probably only make sense to use it for 256 (8-bit) indexed images. ---- Manual Page -- http://www.php.net/manual/en/function.imagecolorstotal.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34091 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34091&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34091&report=yes

« previous php.notes (#52165) next »