#11827 [Com]: ImageTrueColorToPalette() creates palettemap.png
| From: | newspaper-show1602 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:08:11 +0000 |
| Subject: | #11827 [Com]: ImageTrueColorToPalette() creates palettemap.png | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63006@lists.php.net to get a copy of this message | ||
ID: 11827
Comment by: newspaper-show1602 at hotmail dot com
Reported By: brett at dolphyn dot com
Status: Bogus
Bug Type: GD related
Operating System: Windows 98
PHP Version: 4.0.6
New Comment:
<a href=http://a4a-bold3dshow-news.da.ru>newspaper
show</a>
Previous Comments:
------------------------------------------------------------------------
[2001-07-02 02:50:43] derick@php.net
It's not PHP that is doing that, but GD 2. However, the GD
documentation states that this
is the purpose of this function. Please also note that GD 2 is still in
Beta.
Derick
------------------------------------------------------------------------
[2001-07-01 20:41:49] brett at dolphyn dot com
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 this bug report at http://bugs.php.net/?id=11827&edit=1