Doc #51526 [Opn->Csd]: Bad example code for imagecolorstotal()
| From: | degeberg@php.net | Date: | Sun, 11 Apr 2010 09:18:34 +0000 |
| Subject: | Doc #51526 [Opn->Csd]: Bad example code for imagecolorstotal() | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4188@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51526&edit=1
ID: 51526
Updated by: degeberg@php.net
Reported by: howie at thingy dot com
Summary: Bad example code for imagecolorstotal()
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: any
PHP Version: 5.3.2
-Assigned To:
+Assigned To: degeberg
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2010-04-11 11:18:26] degeberg@php.net
Automatic comment from SVN on behalf of degeberg
Revision: http://svn.php.net/viewvc/?view=revision&revision=297822
Log: Fixed #51526 (Bad example code for imagecolorstotal())
------------------------------------------------------------------------
[2010-04-10 11:51:11] howie at thingy dot com
Description:
------------
"An image resource, returned by one of the image creation functions,
such as imagecreatetruecolor()."
This function doesn't work with truecolor images - this is a bad example
of an appropriate function to use. One of the indexed-color formats like
imagegif would be a better example.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51526&edit=1