hholzgra Sun Mar 5 18:31:55 2006 UTC Added files: /phpdoc/en/reference/image/functions imagecolorhistogram.xml Log: new function imagecolorhistogram() documented
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/image/functions/imagecolorhistogram.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/image/functions/imagecolorhistogram.xml +++ phpdoc/en/reference/image/functions/imagecolorhistogram.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.imagecolorhistogram"> <refnamediv> <refname>imagecolorhistogram</refname> <refpurpose>Create a histogram array for the colors in an image's palette</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>array</type><methodname>imagecolorhistogram</methodname> <methodparam><type>resource</type><parameter>image</parameter></methodparam> </methodsynopsis> <para> This function will return an array with color index numbers as keys and the number of pixels using that color entry as values for images using a color palette. This function can't operate on truecolor images where it will just return &false; instead of an array. </para> <para> See also <function>imagecolorsforindex</function> and <function>imageistruecolor</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->