Description Usage Arguments Value Examples
Resize image by a scale factor
1 | im_resize_scale(im, scale = 1, interpolation = 1)
|
im |
an image |
scale |
a scale factor |
interpolation |
Interpolation method. Either 0 (nearest-neighbor), 1 (linear), or 2 (cubic). |
an image
1 2 | dim(regatta)
dim(im_resize_scale(regatta, 0.5)) # half size
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.