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