#17737 [Fbk->Bgs]: imagetruecolortopalette failed
| From: | sniper@php.net | Date: | Wed, 11 Sep 2002 16:19:00 +0000 |
| Subject: | #17737 [Fbk->Bgs]: imagetruecolortopalette failed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19111@lists.php.net to get a copy of this message | ||
ID: 17737
Updated by: sniper@php.net
Reported By: matthew.waygood@somehwere.tv
-Status: Feedback
+Status: Bogus
Bug Type: GD related
Operating System: Win 2K, IIS
PHP Version: 4.2.1
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-06-13 05:56:42] mfischer@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Can you try download a snapshot from
http://snaps.php.net/php4-latest.tar.gz ,
./configure --with-gd=php
--enable-debug and give us a backtrace?
------------------------------------------------------------------------
[2002-06-13 05:37:16] matthew.waygood@somehwere.tv
When I create a truecolor image, add in 2 rectangles as a test then
convert it to a paletted format using imagetruecolortopalette($im,
TRUE, 100) I get the following output :-
PHP has encountered an Access Violation at 77F821E1
If I omit the line and just move straight to imagepng($im) or
imagejpeg($im) everything works okay.
I have GD2 installed with PHP 4.2.1 on Windows 2000 machine
it has also been tested on a remote FreeBSD 4.5 machine with Apache
(GD2,php4.2.1) and it failed totally with webpage found.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17737&edit=1