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:
Hartmut Holzgraefe 2006-03-05 17:21:26 +00:00
parent fac5b304ef
commit f253c0b9bf

View file

@ -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>