Optional
border'constant'
Optional
borderValue of the border if BorderType is 'constant'.
0
Optional
heightHeight of the output image.
Optional
interpolationMethod to use to interpolate the new pixels.
'bilinear'
Optional
preserveWhether the aspect ratio of the image should be preserved.
true
Optional
widthWidth of the output image.
Optional
xFactor by which to scale the width.
Optional
yFactor by which to scale the width.
Specify how the borders should be handled.