[PHP-DEV] Bug #11827: ImageTrueColorToPalette() creates palettemap.png From: brett <email protected>
Date: 07/01/01

From: brett <email protected>
Operating system: Windows 98
PHP version: 4.0.6
PHP Bug Type: GD related
Bug description: ImageTrueColorToPalette() creates palettemap.png

When I use the function ImageTrueColorToPalette(), a file "palettemap.png" is created in the directory that contains my PHP script. Is this a bug or an undocumented "feature"?

Sample code:
<?php
$NewImg = ImageCreateTrueColor ( 350, 500 );
ImageTrueColorToPalette( $NewImg, 1, 100 );
?>

-- 
Edit Bug report at: http://bugs.php.net/?id=11827&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>