note 101302 added to function.imagecolorallocate
| From: | phillip dot gooch at gmail dot com | Date: | Thu, 09 Dec 2010 03:52:40 +0000 |
| Subject: | note 101302 added to function.imagecolorallocate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-174724@lists.php.net to get a copy of this message | ||
If you even in a situation where it's not allocating the color you want it could be because of
your images color allocation table. GIF and 8-bit PNG images are very susceptible to this.
If your using an GIF and PNG try dropping a color from the table, should let you allocate another.
I've written more info on this particular problem here:
fatfolderdesign.com/php-imagecolorallocation-producing-incorrect-color
----
Server IP: 69.147.83.197
Probable Submitter: 67.160.66.24
----
Manual Page -- http://www.php.net/manual/en/function.imagecolorallocate.php
Edit -- https://master.php.net/note/edit/101302
Del: integrated -- https://master.php.net/note/delete/101302/integrated
Del: useless -- https://master.php.net/note/delete/101302/useless
Del: bad code -- https://master.php.net/note/delete/101302/bad+code
Del: spam -- https://master.php.net/note/delete/101302/spam
Del: non-english -- https://master.php.net/note/delete/101302/non-english
Del: in docs -- https://master.php.net/note/delete/101302/in+docs
Del: other reasons-- https://master.php.net/note/delete/101302
Reject -- https://master.php.net/note/reject/101302
Search -- https://master.php.net/manage/user-notes.php