gdImageColorAllocate(), self-explained
| From: | Giuseppe D'Ambrosio | Date: | Thu, 08 Mar 2001 12:19:28 +0000 |
| Subject: | gdImageColorAllocate(), self-explained | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-5874@lists.php.net to get a copy of this message | ||
ok, it seems the normal behaviour (but IMHO also an ugly, inexplicable
limitation);
you can read it on http://www.boutell.com/gd/#gdImageColorAllocate
"In the event that all gdMaxColors colors (256) have already been allocated,
gdImageColorAllocate will return -1 to indicate failure"
(I didn't test the return code of gdImageColorAllocate() and so it's my
fault)
Giuse
/--------------------------------\
| http://boltthrower.webhop.org/ |
\--------------------------------/