php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11827 ImageTrueColorToPalette() creates palettemap.png
Submitted: 2001-07-01 20:41 UTC Modified: 2001-07-02 02:50 UTC
From: brett at dolphyn dot com Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.0.6 OS: Windows 98
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: brett at dolphyn dot com
New email:
PHP Version: OS:

 

 [2001-07-01 20:41 UTC] 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 );
?>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-02 02:50 UTC] 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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 06:01:29 2024 UTC