mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
function will return 0 on truecolor images as these do not have a palette
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@208685 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
fac5b304ef
commit
f253c0b9bf
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
|
||||
<refentry id="function.imagecolorstotal">
|
||||
<refnamediv>
|
||||
|
@ -14,11 +14,11 @@
|
|||
</methodsynopsis>
|
||||
<para>
|
||||
This returns the number of colors in the specified image's
|
||||
palette.
|
||||
palette or 0 for truecolor images.
|
||||
</para>
|
||||
<para>
|
||||
See also <function>imagecolorat</function> and
|
||||
<function>imagecolorsforindex</function>.
|
||||
<function>imagecolorsforindex</function>, <function>imageistruecolor</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
Loading…
Reference in a new issue