manual/Tasks/image.html [403:511]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - overwrite Boolean value. Sets whether or not to overwrite a file if there is naming conflict. No; defaults to false gc Boolean value. Enables garbage collection after each image processed. No; defaults to false destdir Directory where the result images are stored. No; defaults to value of srcdir includes comma- or space-separated list of patterns of files that must be included. No; defaults to all (**) includesfile name of a file. Each line of this file is taken to be an include pattern No excludes comma- or space-separated list of patterns of files that must be excluded. No; defaults to default excludes or none if defaultexcludes is no excludesfile name of a file. Each line of this file is taken to be an exclude pattern No defaultexcludes indicates whether default excludes should be used or not (yes|no). No; defaults to yes caseSensitive Boolean value. Sets case sensitivity of the file system. No; defaults to false followSymlinks Boolean value. Sets whether or not symbolic links should be followed. No; defaults to true

Parameters specified as nested elements

This task forms an implicit FileSet and supports most attributes of <fileset> as well as the nested <include>, <exclude> and <patternset> elements.

The following ImageOperation objects can be specified as nested elements: Rotate, Scale and Draw.

Rotate

Adds a Rotate ImageOperation to chain.

Parameters
Attribute Description Required
angle Float value. Sets the angle of rotation in degrees. No; defaults to 0.0F

Scale

Adds a Scale ImageOperation to chain.

Parameters
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - manual/Tasks/imageio.html [405:513]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Attribute Description Required
proportions Sets which dimension to control proportions from. Valid values are:
  • ignore—treat the dimensions independently.
  • height—keep proportions based on the width.
  • width—keep proportions based on the height.
  • cover—keep proportions and fit in the supplied dimensions.
  • fit—keep proportions and cover the supplied dimensions.
No; defaults to ignore
width Sets the width of the image, either as an integer (pixels) or a %. No; defaults to 100%
height Sets the height of the image, either as an integer (pixels) or a %. No; defaults to 100%
overwrite Boolean value. Sets whether or not to overwrite a file if there is naming conflict. No; defaults to false
gc Boolean value. Enables garbage collection after each image processed. No; defaults to false
destdir Directory where the result images are stored. No; defaults to value of srcdir
includes comma- or space-separated list of patterns of files that must be included. No; defaults to all (**)
includesfile name of a file. Each line of this file is taken to be an include pattern No
excludes comma- or space-separated list of patterns of files that must be excluded. No; defaults to default excludes or none if defaultexcludes is no
excludesfile name of a file. Each line of this file is taken to be an exclude pattern No
defaultexcludes indicates whether default excludes should be used or not (yes|no). No; defaults to yes
caseSensitive Boolean value. Sets case sensitivity of the file system. No; defaults to false
followSymlinks Boolean value. Sets whether or not symbolic links should be followed. No; defaults to true

Parameters specified as nested elements

This task forms an implicit FileSet and supports most attributes of <fileset> as well as the nested <include>, <exclude> and <patternset> elements.

The following ImageOperation objects can be specified as nested elements: Rotate, Scale and Draw.

Rotate

Adds a Rotate ImageOperation to chain.

Parameters
Attribute Description Required
angle Float value. Sets the angle of rotation in degrees. No; defaults to 0.0F

Scale

Adds a Scale ImageOperation to chain.

Parameters
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Attribute Description Required
proportions Sets which dimension to control proportions from. Valid values are:
  • ignore—treat the dimensions independently.
  • height—keep proportions based on the width.
  • width—keep proportions based on the height.
  • cover—keep proportions and fit in the supplied dimensions.
  • fit—keep proportions and cover the supplied dimensions.
No; defaults to ignore
width Sets the width of the image, either as an integer (pixels) or a %. No; defaults to 100%
height Sets the height of the image, either as an integer (pixels) or a %. No; defaults to 100%