Bug #17737 Updated: imagetruecolortopalette failed

From: Date: Thu, 13 Jun 2002 09:56:42 +0000
Subject: Bug #17737 Updated: imagetruecolortopalette failed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10318@lists.php.net to get a copy of this message
ID: 17737 Updated by: mfischer@php.net Reported By: matthew.waygood@somehwere.tv -Status: Open +Status: Feedback Bug Type: GD related Operating System: Win 2K, IIS PHP Version: 4.2.1 New Comment: 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? Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#10318) next »