cvs: phpdoc /en/reference/image/functions imagefilter.xml
| From: | Hannes Magnusson | Date: | Sat, 13 Oct 2007 15:47:06 +0000 |
| Subject: | cvs: phpdoc /en/reference/image/functions imagefilter.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-198@lists.php.net to get a copy of this message | ||
bjori Sat Oct 13 15:47:06 2007 UTC
Modified files:
/phpdoc/en/reference/image/functions imagefilter.xml
Log:
Document the alpha channel support for IMG_FILTER_COLORIZE as of 5.2.5
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagefilter.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/image/functions/imagefilter.xml
diff -u phpdoc/en/reference/image/functions/imagefilter.xml:1.9
phpdoc/en/reference/image/functions/imagefilter.xml:1.10
--- phpdoc/en/reference/image/functions/imagefilter.xml:1.9 Wed Jun 20 22:24:38 2007
+++ phpdoc/en/reference/image/functions/imagefilter.xml Sat Oct 13 15:47:06 2007
@@ -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>