im_resize_scale | R Documentation |
Resize image by a scale factor
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
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.