hholzgra                Sun Mar  5 17:21:26 2006 UTC

  Modified files:              
    /phpdoc/en/reference/image/functions        imagecolorstotal.xml 
  Log:
  function will return 0 on truecolor images as these do not have a palette
  
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/image/functions/imagecolorstotal.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/image/functions/imagecolorstotal.xml
diff -u phpdoc/en/reference/image/functions/imagecolorstotal.xml:1.3 
phpdoc/en/reference/image/functions/imagecolorstotal.xml:1.4
--- phpdoc/en/reference/image/functions/imagecolorstotal.xml:1.3        Thu Apr 
18 17:13:09 2002
+++ phpdoc/en/reference/image/functions/imagecolorstotal.xml    Sun Mar  5 
17:21:26 2006
@@ -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>

Reply via email to