mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
c74ba3ce19
commit
9833cf6f7b
1 changed files with 29 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue