resize — Resize current image
Resizes current image based on given width and/or height. To constraint the resize command, pass an optional Closure callback as third parameter.
The new width of the image
Closure callback defining constraints on the resize. It’s possible to constraint the aspect-ratio and/or a unwanted upsizing of the image. See examples below.
aspectRatio
upsize
Keep image from being upsized.