Image scaling.
Trait for scalable types.
Scale by the given factor.
Resize to the given width and height.
Scale to the given width and height, maintaining the aspect ratio.