cvs: phpdoc /en/reference/imagick imagick.xml /en/reference/imagick/imagick clutimage.xml
| From: | Mikko Koppanen | Date: | Mon, 10 Sep 2007 19:50:49 +0000 |
| Subject: | cvs: phpdoc /en/reference/imagick imagick.xml /en/reference/imagick/imagick clutimage.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2@lists.php.net to get a copy of this message | ||
mkoppanen Mon Sep 10 19:50:49 2007 UTC
Added files:
/phpdoc/en/reference/imagick/imagick clutimage.xml
Modified files:
/phpdoc/en/reference/imagick imagick.xml
Log:
Added documentation for Imagick::clutImage()
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/imagick.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/imagick/imagick.xml
diff -u phpdoc/en/reference/imagick/imagick.xml:1.8 phpdoc/en/reference/imagick/imagick.xml:1.9
--- phpdoc/en/reference/imagick/imagick.xml:1.8 Wed Jul 25 11:09:47 2007
+++ phpdoc/en/reference/imagick/imagick.xml Mon Sep 10 19:50:49 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc.
-->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="imagick.imagick">
@@ -991,6 +991,7 @@
&reference.imagick.imagick.coalesceimages;
&reference.imagick.imagick.colorfloodfillimage;
&reference.imagick.imagick.colorizeimage;
+&reference.imagick.imagick.clutimage;
&reference.imagick.imagick.combineimages;
&reference.imagick.imagick.commentimage;
&reference.imagick.imagick.compareimagechannels;
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/imagick/clutimage.xml?view=markup&rev=1.1
Index: phpdoc/en/reference/imagick/imagick/clutimage.xml
+++ phpdoc/en/reference/imagick/imagick/clutimage.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.imagick-clutimage">
<refnamediv>
<refname>Imagick::clutImage</refname>
<refpurpose>Replaces colors in the image from a color lookup table</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>Imagick::clutImage</methodname>
<methodparam><type>Imagick</type><parameter>lookup_table</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>channel</parameter></methodparam>
</methodsynopsis>
&warn.undocumented.func;
&warn.experimental.func;
<para>
Replaces colors in the image from a color lookup table. Optional second parameter to replace
colors in a specific channel.
This method is available if Imagick is compiled against ImageMagick 6.3.5-7 or newer.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>lookup_table</parameter></term>
<listitem>
<para>
Imagick object containing the color lookup table
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>channel</parameter></term>
<listitem>
<para>
The <link linkend="imagick.constants.channel">Channeltype</link>
constant. When not supplied, all channels are replaced.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&imagick.return.success;
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>Using <function>Imagick::clutImage</function>:</title>
<para>
Replace colors in the image from a color lookup table.
</para>
<programlisting role="php">
<![CDATA[
<?php
$image = new Imagick('test.jpg');
$clut = new Imagick();
$clut->newImage(1, 1, new ImagickPixel('black'));
$image->clutImage( $clut );
$image->writeImage( 'test_out.jpg' );
?>
]]>
</programlisting>
</example>
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>Imagick::adaptiveBlurImage</function></member>
<member><function>Imagick::motionBlurImage</function></member>
<member><function>Imagick::radialBlurImage</function></member>
</simplelist>
</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
-->