note 101302 modified in function.imagecolorallocate by danbrown
| From: | danbrown@php.net | Date: | Thu, 09 Dec 2010 15:22:55 +0000 |
| Subject: | note 101302 modified in function.imagecolorallocate by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-174751@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.
--was--
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
http://php.net/manual/en/function.imagecolorallocate.php