#30508 [Fbk->Bgs]: imagecreate has bad output
| From: | pajoye@php.net | Date: | Tue, 09 Nov 2004 19:29:23 +0000 |
| Subject: | #30508 [Fbk->Bgs]: imagecreate has bad output | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-68857@lists.php.net to get a copy of this message | ||
ID: 30508
Updated by: pajoye@php.net
Reported By: jsgoupil at lookstrike dot com
-Status: Feedback
+Status: Bogus
Bug Type: GD related
Operating System: WinXP Pro
PHP Version: 5.0.2
-Assigned To:
+Assigned To: pajoye
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2004-11-09 18:35:41] tony2001@php.net
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