Directory src/etc/testcases/taskdefs/optional/image/

Directory Created:
2002-08-29 17:13
Total Files:
Deleted Files:
Lines of Code:

Browse with ViewVC


                             src (2 files, 0 lines)

Lines of Code

src/etc/testcases/taskdefs/optional/image/ Lines of Code


Author Changes Lines of Code Lines per Change
Totals 2 (100.0%) 58 (100.0%) 29.0
ehatcher 1 (50.0%) 53 (91.4%) 53.0
antoine 1 (50.0%) 5 (8.6%) 5.0

Most Recent Commits

antoine 2003-08-22 09:20

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)

5 lines of code changed in:

  • src/etc/testcases/taskdefs/optional/image: image.xml (+5 -5)
ehatcher 2002-08-29 17:13

More patches (+ test cases!) from Eric Pugh on the <image> task.

53 lines of code changed in:

  • src/etc/testcases/taskdefs/optional/image: image.xml (new 53)
Generated by StatSVN 0.3.2-SNAPSHOT