From:             [EMAIL PROTECTED]
Operating system: Darwin 6 (Mac OS 10.2)
PHP version:      4CVS-2002-10-01
PHP Bug Type:     GD related
Bug description:  ImageTrueColorToPalette() kills PHP

This code creates the same error as described here:
http://bugs.php.net/bug.php?id=19700
the two may be related.

If the "ImageTrueColorToPalette" line is commented out this works fine.

<?php
header( "Content-type: image/png" );

$img = ImageCreateTrueColor( 800, 600 );

ImageTrueColorToPalette( $img, 'TRUE', 256 );

ImagePNG( $img );
ImageDestroy( $img );
?>
-- 
Edit bug report at http://bugs.php.net/?id=19704&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=19704&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=19704&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=19704&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=19704&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=19704&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=19704&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=19704&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=19704&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=19704&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=19704&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19704&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=19704&r=dst

Reply via email to