cvs: phpdoc /en/reference/imagick/imagick thumbnailimage.xml

From: Date: Wed, 19 Sep 2007 11:00:41 +0000
Subject: cvs: phpdoc /en/reference/imagick/imagick thumbnailimage.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-36@lists.php.net to get a copy of this message
mkoppanen Wed Sep 19 11:00:41 2007 UTC Modified files: /phpdoc/en/reference/imagick/imagick thumbnailimage.xml Log: Added documentation for the third parameter. http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/imagick/thumbnailimage.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/imagick/imagick/thumbnailimage.xml diff -u phpdoc/en/reference/imagick/imagick/thumbnailimage.xml:1.5 phpdoc/en/reference/imagick/imagick/thumbnailimage.xml:1.6 --- phpdoc/en/reference/imagick/imagick/thumbnailimage.xml:1.5 Tue Aug 28 02:02:52 2007 +++ phpdoc/en/reference/imagick/imagick/thumbnailimage.xml Wed Sep 19 11:00:41 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.imagick-thumbnailimage"> <refnamediv> <refname>Imagick::thumbnailImage</refname> @@ -12,13 +12,18 @@ <type>bool</type><methodname>Imagick::thumbnailImage</methodname> <methodparam><type>int</type><parameter>columns</parameter></methodparam> <methodparam><type>int</type><parameter>rows</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>below</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; &warn.experimental.func; <para> Changes the size of an image to the given dimensions and removes any associated profiles. The goal is to produce small low cost thumbnail - images suited for display on the Web. + images suited for display on the Web. + + If true is given as a third parameter then columns and rows parameters + are used as maximums for each side. Both sides will be scaled down until + the match or are smaller than the parameter given for the side. </para> </refsect1> @@ -30,6 +35,7 @@ <term><parameter>columns</parameter></term> <listitem> <para> + Image width </para> </listitem> </varlistentry> @@ -37,6 +43,15 @@ <term><parameter>rows</parameter></term> <listitem> <para> + Image height + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>below</parameter></term> + <listitem> + <para> + Whether to force maximum values </para> </listitem> </varlistentry>

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