4 Commits

Author SHA1 Message Date
Stefan Bodewig
60f7e5dff7 Lots of typos and spelling (was that misspelt/misspelled ;-) errors.
Submitted by:	Larry Shatzer


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277023 13f79535-47bb-0310-9956-ffa450edef68
2004-11-12 10:36:29 +00:00
Antoine Levy-Lambert
eda63287a3 Add example supplied by Rob Oxspring
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275140 13f79535-47bb-0310-9956-ffa450edef68
2003-08-25 15:58:38 +00:00
Antoine Levy-Lambert
a0406cafe6 Quoting Rob Oxspring :
I was using the image task to create thumbnails and couldn't figure out
how to keep proportions of an image but keep it within a fixed size.
My solution was to change the keepproportions attribute to be a little cleverer.
The keepproportions attribute is no more and has been replaced by the proportions
attribute, which has been added with the following features:

proportions="ignore" - treat the dimensions independently (==keepproportions="false" and is default)
proportions="width" - keep proportions based on the width (==keepproportions="true")
proportions="height" - keep proportions based on the height
proportions="fit" - keep proportions and fit in the supplied dimensions
proportions="cover" - keep proportions and cover the supplied dimensions

Submitted by: Rob Oxspring (roxspring at imapmail dot org)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275127 13f79535-47bb-0310-9956-ffa450edef68
2003-08-22 09:20:56 +00:00
Stefan Bodewig
3f56c62d15 Documentation for the image task.
PR: 19055
Submitted by:	Jan Mat�rne <jan at materne dot de>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274472 13f79535-47bb-0310-9956-ffa450edef68
2003-04-16 12:44:44 +00:00