note 62071 added to function.imagecolorexact

From: Date: Sat, 18 Feb 2006 20:38:02 +0000
Subject: note 62071 added to function.imagecolorexact
Groups: php.notes 
Request: Send a blank email to php-notes+get-103997@lists.php.net to get a copy of this message
A few notes about this function... This function will only work on images where the palette is 256 colors or less. You also can not use imagetruecolortopalette() to reduce the palette on a true color PNG image that has greater than 256 colors in it's palette, then call this function. If you try to do this imagecolorexact() will report colors not being in the image when they are in the image! 1. works on png(s) 8bit/256 colors or less. 2. works on all gif(s) 3. does not work on any type of jpg/jpeg image. ---- Server IP: 64.71.164.2 Probable Submitter: 66.31.242.148 ---- Manual Page -- http://www.php.net/manual/en/function.imagecolorexact.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+62071 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+62071&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+62071&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+62071&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+62071&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+62071&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+62071&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+62071&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+62071&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#103997) next »