ID:               19704
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         GD related
 Operating System: Darwin 6 (Mac OS 10.2)
 PHP Version:      4CVS-2002-10-01
 New Comment:

'kills php'? Does this mean PHP crashes, if so, please provide a
backtrace of the crash. Otherwise, please provide more information
about this 'killing of php'.

Note: The test script works fine on both Linux & Windows running latest
CVS.


Previous Comments:
------------------------------------------------------------------------

[2002-10-01 22:15:25] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=19704&edit=1

Reply via email to