cvs: phpdoc /en/reference/imagick/imagick compareimages.xml
| From: | Felipe Pena | Date: | Tue, 12 Aug 2008 13:08:17 +0000 |
| Subject: | cvs: phpdoc /en/reference/imagick/imagick compareimages.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2021@lists.php.net to get a copy of this message | ||
felipe Tue Aug 12 13:08:17 2008 UTC
Modified files:
/phpdoc/en/reference/imagick/imagick compareimages.xml
Log:
- Fixed:
. Typo (metic -> metric)
. Example (reported by Anonymous :D)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/imagick/compareimages.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/imagick/imagick/compareimages.xml
diff -u phpdoc/en/reference/imagick/imagick/compareimages.xml:1.3
phpdoc/en/reference/imagick/imagick/compareimages.xml:1.4
--- phpdoc/en/reference/imagick/imagick/compareimages.xml:1.3 Mon Apr 7 20:44:30 2008
+++ phpdoc/en/reference/imagick/imagick/compareimages.xml Tue Aug 12 13:08:17 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.imagick-compareimages">
<refnamediv>
<refname>Imagick::compareImages</refname>
@@ -36,7 +36,7 @@
<listitem>
<para>
Provide a valid metric type constant. Refer to this
- list of <link linkend="imagick.constants.metric">metic
constants</link>.
+ list of <link linkend="imagick.constants.metric">metric
constants</link>.
</para>
</listitem>
</varlistentry>
@@ -73,7 +73,7 @@
$image1 = new imagick("image1.png");
$image2 = new imagick("image2.png");
-$result = $image1->compareImage($image2, Imagick::METRIC_MEANSQUAREERROR);
+$result = $image1->compareImages($image2, Imagick::METRIC_MEANSQUAREERROR);
$result[0]->setImageFormat("png");
header("Content-Type: image/png");