<zoom-to-fit> resize an image to fit in new dimensions, with cropping

name
zoom-to-fit
xml namespace
http://moyaproject.com/image

Resize image to given dimensions, cropping if necessary.

attributes
name purpose type required? default choices
height New height integer Yes
image Image to show expression No image
resample Method for resampling text No "antialias" antialias
bicubic
bilinear
nearest
width New width integer Yes
inherited attributes
name purpose type required? default choices
if Conditional expression expression No yes