Size plugin

Changes the size of the image.

Example usage

Example 1

Size{200} example
Size{200}

Example 2

Size{100} example
Size{100}

Example 3

Size{50} example
Size{50}

Example 4

Size{200,50} example
Size{200,50}

Example 5

Size{RelativeSize{200}Mode{Stretch}} example
Size{RelativeSize{200}Mode{Stretch}}

Constructors

Constructor 1

Size{RelativeSize}

Constructor 2

Size{Width,Height}

Available properties

Width - Number
Width in pixels
Height - Number
Height in pixels
RelativeSize - Number
Optionally just specify the relative size; the plugin will then determine the best size whilst maintaining aspect ratio. By default, this will only shrink the image and not make it bigger.
Mode - SizeMode
The sizing mode
StretchMode - StretchMode
The stretching mode