Document the alpha channel support for IMG_FILTER_COLORIZE as of 5.2.5

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@244147 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2007-10-13 15:47:06 +00:00
parent c74ba3ce19
commit 9833cf6f7b

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.9 $ -->
<!-- $Revision: 1.10 $ -->
<refentry xml:id="function.imagefilter" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imagefilter</refname>
@ -14,6 +14,7 @@
<methodparam choice="opt"><type>int</type><parameter>arg1</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>arg2</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>arg3</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>arg4</parameter></methodparam>
</methodsynopsis>
<para>
<function>imagefilter</function> applies the given filter
@ -64,7 +65,8 @@
color. Use <parameter>arg1</parameter>, <parameter>arg2</parameter> and
<parameter>arg3</parameter> in the form of
<parameter>red</parameter>, <parameter>blue</parameter>,
<parameter>green</parameter>. The range for each color is 0 to 255.
<parameter>green</parameter> and <parameter>arg4</parameter> for the
<parameter>alpha</parameter> channel. The range for each color is 0 to 255.
</simpara>
</listitem>
<listitem>
@ -135,6 +137,31 @@
&return.success;
</para>
</refsect1>
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>5.2.5</entry>
<entry>
Alpha support for <constant>IMG_FILTER_COLORIZE</constant> was added.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>