Bug #17737: imagetruecolortopalette failed

From: Date: Thu, 13 Jun 2002 09:37:16 +0000
Subject: Bug #17737: imagetruecolortopalette failed
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10314@lists.php.net to get a copy of this message
From: matthew.waygood@somehwere.tv Operating system: Win 2K, IIS PHP version: 4.2.1 PHP Bug Type: GD related Bug description: imagetruecolortopalette failed 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 bug report at http://bugs.php.net/?id=17737&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17737&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17737&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17737&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17737&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17737&r=support Expected behavior: http://bugs.php.net/fix.php?id=17737&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17737&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17737&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17737&r=globals

« previous php.bugs (#10314) next »