Bug #12611 Updated: problems with ImageColorSet and ImageColorAt
| From: | rasmus@php.net | Date: | Sun, 11 Nov 2001 00:19:02 +0000 |
| Subject: | Bug #12611 Updated: problems with ImageColorSet and ImageColorAt | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70041@lists.php.net to get a copy of this message | ||
ID: 12611
Updated by: rasmus
Reported By: m.bergmann@sh.cvut.cz
Old Status: Feedback
Status: Closed
Bug Type: GD related
Operating System: Windows
PHP Version: 4.0.6
New Comment:
The ImageColorAt() issue has been fixed in CVS and will be in 4.1. ImageColorSet() does nothing for
truecolor images, which is correct. For indexed images, use ImageColorAllocate to allocate more
entries in the palette.
Previous Comments:
------------------------------------------------------------------------
[2001-10-24 13:59:45] sander@php.net
Can you provide a sample script? And can you test it with the php_gd.dll from PHP-4.0.5
(http://www.php.net/downloads.php)? php_gd.dll from PHP-4.0.6 is the unstable beta-version of GD.
Both problems might be caused by this.
------------------------------------------------------------------------
[2001-08-07 04:39:21] m.bergmann@sh.cvut.cz
It's not possible to add colors to image using this function - setting colors with index
greater than ImageColorsTotal does nothing. - tested on PNG image with 10 colors.
Also ImageColorAt crashes webserver, when used on TrueColor images.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12611&edit=1