imCrop | R Documentation |
A GUI for cropping an image
imCrop(im)
im |
a cimg object |
a cropped image
if (interactive()) { file_path <- system.file("img", "AFO1046.1200dpi.png", package = "xRing") im <- imRead(file_path) print(dim(im)) im_crop <- imCrop(im) print(dim(im_crop)) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.