ID: 12611
Updated by: rasmus
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to