im_crop | R Documentation |
Image cropping
im_crop(im, margin)
im |
an image |
margin |
a numeric vector. |
an image
plot(im_crop(regatta, 100)) # crop all four sides with the same value plot(im_crop(regatta, c(100, 50))) # vertical, horizontal plot(im_crop(regatta, c(0, 50, 50, 200))) # top, right, bottom, left
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.