svn: /phpdoc/en/trunk/reference/imagick/imagick/ remapimage.xml sparsecolorimage.xml

From: Date: Sat, 31 Oct 2009 12:20:37 +0000
Subject: svn: /phpdoc/en/trunk/reference/imagick/imagick/ remapimage.xml sparsecolorimage.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5254@lists.php.net to get a copy of this message
mkoppanen Sat, 31 Oct 2009 12:20:37 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=290100 Log: Added remapImage docs. Added missing availability info to sparseColorImage Changed paths: A phpdoc/en/trunk/reference/imagick/imagick/remapimage.xml U phpdoc/en/trunk/reference/imagick/imagick/sparsecolorimage.xml Added: phpdoc/en/trunk/reference/imagick/imagick/remapimage.xml =================================================================== --- phpdoc/en/trunk/reference/imagick/imagick/remapimage.xml (rev 0) +++ phpdoc/en/trunk/reference/imagick/imagick/remapimage.xml 2009-10-31 12:20:37 UTC (rev 290100) @@ -0,0 +1,76 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: $ --> + +<refentry xml:id="imagick.remapimage" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>Imagick::remapImage</refname> + <refpurpose>Remaps image colors</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <modifier>public</modifier> <type>void</type><methodname>Imagick::remapImage</methodname> + <methodparam><type>Imagick</type><parameter>replacement</parameter></methodparam> + <methodparam><type>int</type><parameter>DITHER</parameter></methodparam> + </methodsynopsis> + <para> + Replaces colors an image with those defined by <parameter>replacement</parameter>. The colors + are replaced with the closest possible color. &imagick.method.available.0x645; + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>replacement</parameter></term> + <listitem> + <para> + An Imagick object containing the replacement colors + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>DITHER</parameter></term> + <listitem> + <para> + Refer to this list of <link linkend="imagick.constants.dithermethod">dither method constants</link> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + + </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 +--> Modified: phpdoc/en/trunk/reference/imagick/imagick/sparsecolorimage.xml =================================================================== --- phpdoc/en/trunk/reference/imagick/imagick/sparsecolorimage.xml 2009-10-31 11:55:17 UTC (rev 290099) +++ phpdoc/en/trunk/reference/imagick/imagick/sparsecolorimage.xml 2009-10-31 12:20:37 UTC (rev 290100) @@ -18,6 +18,7 @@ <para> Given the arguments array containing numeric values this method interpolates the colors found at those coordinates across the whole image using <parameter>sparse_method</parameter>. + &imagick.method.available.0x645; </para> </refsect1> @@ -37,7 +38,8 @@ <term><parameter>arguments</parameter></term> <listitem> <para> - An array containing the coordinates + An array containing the coordinates. + The array is in format <literal>array(1,1, 2,45)</literal> </para> </listitem> </varlistentry>

« previous php.doc.cvs (#5254) next »