svn: /phpdoc/en/trunk/reference/imagick/imagick/ clutimage.xml paintfloodfillimage.xml
| From: | Mikko Koppanen | Date: | Mon, 03 Aug 2009 20:02:56 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/imagick/imagick/ clutimage.xml paintfloodfillimage.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4603@lists.php.net to get a copy of this message | ||
mkoppanen Mon, 03 Aug 2009 20:02:56 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=286757
Log:
documentation improvements, paintfloodfill and clut args
Changed paths:
U phpdoc/en/trunk/reference/imagick/imagick/clutimage.xml
U phpdoc/en/trunk/reference/imagick/imagick/paintfloodfillimage.xml
Modified: phpdoc/en/trunk/reference/imagick/imagick/clutimage.xml
===================================================================
--- phpdoc/en/trunk/reference/imagick/imagick/clutimage.xml 2009-08-03 20:02:16 UTC (rev 286756)
+++ phpdoc/en/trunk/reference/imagick/imagick/clutimage.xml 2009-08-03 20:02:56 UTC (rev 286757)
@@ -3,7 +3,7 @@
<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>
+ <refpurpose>Replaces colors in the image</refpurpose>
</refnamediv>
<refsect1 role="description">
@@ -11,9 +11,9 @@
<methodsynopsis>
<type>bool</type><methodname>Imagick::clutImage</methodname>
<methodparam><type>Imagick</type><parameter>lookup_table</parameter></methodparam>
- <methodparam
choice="opt"><type>float</type><parameter>channel</parameter><initializer>Imagick::CHANNEL_ALL</initializer></methodparam>
+ <methodparam
choice="opt"><type>float</type><parameter>channel</parameter><initializer>Imagick::CHANNEL_DEFAULT</initializer></methodparam>
</methodsynopsis>
- &warn.undocumented.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
@@ -38,7 +38,7 @@
<listitem>
<para>
The <link linkend="imagick.constants.channel">Channeltype</link>
- constant. When not supplied, all channels are replaced.
+ constant. When not supplied, default channels are replaced.
</para>
</listitem>
</varlistentry>
@@ -67,8 +67,8 @@
$image = new Imagick('test.jpg');
$clut = new Imagick();
$clut->newImage(1, 1, new ImagickPixel('black'));
-$image->clutImage( $clut );
-$image->writeImage( 'test_out.jpg' );
+$image->clutImage($clut);
+$image->writeImage('test_out.jpg');
?>
]]>
</programlisting>
Modified: phpdoc/en/trunk/reference/imagick/imagick/paintfloodfillimage.xml
===================================================================
--- phpdoc/en/trunk/reference/imagick/imagick/paintfloodfillimage.xml 2009-08-03 20:02:16 UTC (rev
286756)
+++ phpdoc/en/trunk/reference/imagick/imagick/paintfloodfillimage.xml 2009-08-03 20:02:56 UTC (rev
286757)
@@ -17,7 +17,7 @@
<methodparam><type>int</type><parameter>y</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>channel</parameter><initializer>Imagick::CHANNEL_ALL</initializer></methodparam>
</methodsynopsis>
- &warn.undocumented.func;
+
<para>
Changes the color value of any pixel that matches target and is an
immediate neighbor.