cvs: phpdoc(REF_STRUCT_DEV) /en/reference/imagick/imagick compareimages.xml distortimage.xml setlastiterator.xml

From: Date: Sun, 07 Oct 2007 20:51:18 +0000
Subject: cvs: phpdoc(REF_STRUCT_DEV) /en/reference/imagick/imagick compareimages.xml distortimage.xml setlastiterator.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-175@lists.php.net to get a copy of this message
bjori Sun Oct 7 20:51:18 2007 UTC Added files: (Branch: REF_STRUCT_DEV) /phpdoc/en/reference/imagick/imagick compareimages.xml distortimage.xml setlastiterator.xml Log: MFH

http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/imagick/compareimages.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/imagick/imagick/compareimages.xml +++ phpdoc/en/reference/imagick/imagick/compareimages.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.imagick-compareimages"> <refnamediv> <refname>Imagick::compareImages</refname> <refpurpose>Compares an image to a reconstructed image</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>array</type><methodname>Imagick::compareImages</methodname> <methodparam><type>Imagick</type><parameter>compare</parameter></methodparam> <methodparam><type>int</type><parameter>metric</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; &warn.experimental.func; <para> Returns an array containing a reconstructed image and the difference between images. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>compare</parameter></term> <listitem> <para> An image to compare to. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>metric</parameter></term> <listitem> <para> Provide a valid metric type constant. Refer to this list of <link linkend="imagick.constants.metric">metic constants</link>. </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::compareImages</function>:</title> <para> Compare images and display the reconstructed image </para> <programlisting role="php"> <![CDATA[ <?php $image1 = new imagick("image1.png"); $image2 = new imagick("image2.png"); $result = $image1->compareImage($image2, Imagick::METRIC_MEANSQUAREERROR); $result[0]->setImageFormat("png"); header("Content-Type: image/png"); echo $result[0]; ?> ]]> </programlisting> </example> </para> </refsect1> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></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 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/imagick/distortimage.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/imagick/imagick/distortimage.xml +++ phpdoc/en/reference/imagick/imagick/distortimage.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.imagick-distortimage"> <refnamediv> <refname>Imagick::distortImage</refname> <refpurpose>Distorts an image using various distortion methods</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>Imagick::distortImage</methodname> <methodparam><type>int</type><parameter>method</parameter></methodparam> <methodparam><type>array</type><parameter>arguments</parameter></methodparam> <methodparam><type>bool</type><parameter>bestfit</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> Distorts an image using various distortion methods, by mapping color lookups of the source image to a new destination image usally of the same size as the source image, unless 'bestfit' is set to true. If 'bestfit' is enabled, and distortion allows it, the destination image is adjusted to ensure the whole source 'image' will just fit within the final destination image, which will be sized and offset accordingly. Also in many cases the virtual offset of the source image will be taken into account in the mapping. This functionality is present if Imagick is compiled against ImageMagick 6.3.6 or later. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>method</parameter></term> <listitem> <para> The method of image distortion. See <link linkend="imagick.constants.distortion">distortion constants</link> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>arguments</parameter></term> <listitem> <para> The arguments for this distortion method </para> </listitem> </varlistentry> <varlistentry> <term><parameter>bestfit</parameter></term> <listitem> <para> Attempt to resize destination to fit distorted source </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &imagick.return.success; </para> </refsect1> <refsect1 role="errors"> &reftitle.errors; <para> &imagick.imagick.throws; </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::distortImage</function>:</title> <para> Distort an image and write it to the disk. </para> <programlisting role="php"> <![CDATA[ <?php $im = new imagick( "example.jpg" ); $im->distortImage( Imagick::DISTORTION_PERSPECTIVE, array( 7,40, 4,30, 4,124, 4,123, 85,122, 100,123, 85,2, 100,30 ), true ); $im->writeImage( "example_out.jpg" ); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>Imagick::blurImage</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 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/imagick/setlastiterator.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/imagick/imagick/setlastiterator.xml +++ phpdoc/en/reference/imagick/imagick/setlastiterator.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.imagick-setlastiterator"> <refnamediv> <refname>Imagick::setLastIterator</refname> <refpurpose>Sets the Imagick iterator to the last image</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>Imagick::setLastIterator</methodname> <void/> </methodsynopsis> &warn.undocumented.func; &warn.experimental.func; <para> Sets the Imagick iterator to the last image. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> </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> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>Imagick::setLastIterator</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></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 -->
« previous php.doc.cvs (#175) next »