Resize by width, preserving the aspect ratio.
Resize by height, preserving the aspect ratio.
Resize by the given dimensions, using a specified method of resizing: fill, crop, pad, etc.
Resize the image so that its area is less than or equal to the specified area.
Scale the image by a percentage.