@@ -146,7 +146,7 @@ ImageOperation can handle nested Rotate, Draw, Rectangle, Text and Scale objects
<li>"cover" - keep proportions and fit in the supplied dimensions.</li>
<li>"cover" - keep proportions and fit in the supplied dimensions.</li>
<li>"fit" - keep proportions and cover the supplied dimensions.</li>
<li>"fit" - keep proportions and cover the supplied dimensions.</li>
</ul></td>
</ul></td>
+ <td align="center"> no (defaults to <i>ignore</i>) </td>
<td align="center"> no (defaults to <i>ignore</i>) </td>
<tr>
<tr>
<td valign="top"> width </td>
<td valign="top"> width </td>
<td valign="top"> Sets the width of the image, either as an integer or a %. </td>
<td valign="top"> Sets the width of the image, either as an integer or a %. </td>
@@ -185,9 +185,20 @@ nested inside the Draw object.</p>
<h3>Examples</h3>
<h3>Examples</h3>
<blockquote><pre>
<image destdir="samples/low" overwrite="yes">
<fileset dir="samples/full">
<include name="**/*.jpg"/>
</fileset>
<scale width="160" height="160" proportions="fit"/>
</image>
</pre></blockquote>
<p>Create thumbnails of my images and make sure they all fit within the 160x160 size whether the
image is portrait or landscape.</p>
<blockquote><pre>
<blockquote><pre>
<image srcdir="src" includes="*.png">
<image srcdir="src" includes="*.png">
<scale keepproportions="true" width="40"/>
<scale proportions="width " width="40"/>
</image>
</image>
</pre></blockquote>
</pre></blockquote>
<p>Creates a thumbnail for all PNG-files in <i>src</i> in the size of 40 pixel keeping the proportions
<p>Creates a thumbnail for all PNG-files in <i>src</i> in the size of 40 pixel keeping the proportions
@@ -195,7 +206,7 @@ and stores the <i>src</i>.</p>
<blockquote><pre>
<blockquote><pre>
<image srcdir="src" destdir="dest" includes="*.png">
<image srcdir="src" destdir="dest" includes="*.png">
<scale keepproportions="true " width="40"/>
<scale proportions="width " width="40"/>
</image>
</image>
</pre></blockquote>
</pre></blockquote>
<p>Same as above but stores the result in <i>dest</i>.</p>
<p>Same as above but stores the result in <i>dest</i>.</p>