ID: 30508 User updated by: jsgoupil at lookstrike dot com Reported By: jsgoupil at lookstrike dot com -Status: Bogus +Status: Open Bug Type: GD related Operating System: WinXP Pro PHP Version: 5.0.2 Assigned To: pajoye New Comment:
Only using black and white image. I have the zip of the code. To who I have to send it ? Contact me by email if you want. Previous Comments: ------------------------------------------------------------------------ [2004-11-09 20:29:07] [EMAIL PROTECTED] You reached the maximum amount of colors you can have. Using a truecolor you do not have real limits. Read the manual for further informations. --Pierre ------------------------------------------------------------------------ [2004-11-09 18:35:41] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2004-10-21 05:15:16] jsgoupil at lookstrike dot com Description: ------------ I'm currently developing a program that involves a lot of classes. When I have to draw one on an image with GD, a method one call a parent class method, and this parent another parent and on and on... If I put to many "links" of a class in another, the GD image will lose some rectangles, lines, text strings... and other rectangles appear black filled. When I change imagecreate() by imagecreatetruecolor(), it's working fine. I'm currently using WinXP with Apache2, PHP5.0.2 (php-cgi.exe) with the GD2 library php_gd2.dll (provided by PHP). I was wondering if it was a problem with memory... in php.ini, I've set the maximum memory to more than 8M but it didn't work anymore. Reproduce code: --------------- I really tried to do a little code to reproduce the error but I've spent about 2 hours in vain... My code is not free and I don't want to post it here. To whom may I send it (email... ?)? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30508&edit=1