Description Usage Arguments Value Note Author(s) See Also Examples
resize
returns a resized version of an Image
.
1 2 |
image |
An |
height |
A positive integer representing the new height in pixels of the image (default: NULL). |
width |
A positive integer representing the new width in pixels of the image (default: NULL). |
fx |
A positive numeric representing the ratio by which the width of
the image must be resized (default: NULL). Ignored if |
fy |
A positive numeric representing the ratio by which the height of
the image must be resized (default: NULL). Ignored if |
interpolation |
A character string representing the type of interpolation to use during resizing (default: "linear"). See notes for all accepted interpolation methods. |
An Image
object.
The following interpolation methods are supported:
"nearest": nearest neighbor interpolation.
"linear": bilinear interpolation.
"cubic": bicubic interpolation.
"area": resampling using pixel area relation.
"Lanczos": Lanczos interpolation over 8x8 neighborhood.
"exact": bit exact bilinear interpolation.
Simon Garnier, garnier@njit.edu
1 | # TODO
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.