image_resize
Resize an image at specified dimension. If new width or height is 0 then preserve aspect ratio
image_resize(
img,
width,
height,
[resampling=quality]
)
Resize an image at specified dimension. If new width or height is 0 then preserve aspect ratio
Syntaxe
image(img, 10, 20, resampling="pixel");
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
img | yes | - | Image object | |
width | yes | - | Width of new image | |
height | yes | - | Height of new image | |
resampling | - | quality | quality, sharp, smooth or pixel (string) |