Doc #51414 [Fbk->Csd]: imagecreatetruecolor does work with GIF
| From: | kalle@php.net | Date: | Tue, 18 May 2010 09:16:35 +0000 |
| Subject: | Doc #51414 [Fbk->Csd]: imagecreatetruecolor does work with GIF | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4397@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51414&edit=1
ID: 51414
Updated by: kalle@php.net
Reported by: ljb9832 at pobox dot com
Summary: imagecreatetruecolor does work with GIF
-Status: Feedback
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: N/A
PHP Version: Irrelevant
Assigned To: kalle
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Fixed by Pierre ;-)
Previous Comments:
------------------------------------------------------------------------
[2010-05-18 11:07:32] kalle@php.net
I can't see anywhere on the imagecreatetruecolor() page that it says it
doesn't work with GIF's
------------------------------------------------------------------------
[2010-03-27 18:45:26] ljb9832 at pobox dot com
Description:
------------
In the reference manual dated 2010-02-05 (but also in the current online
version), the page for imagecreatetruecolor says: "Note: This function
will not work with GIF file formats."
That is incorrect. You can output GIF image files from truecolor GD
images. GD internally converts the image to a palette image with a
maximum of 256 colors and creates the GIF from that.
I suggest either deleting the note, or replacing it with something like
this: "Note: GIF files can be produced from true-color images. PHP will
convert the true-color image to a palette image with a maximum of 256
colors, and then output the result in GIF format."
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51414&edit=1