image_shave | R Documentation |
Reverse operation to 'magick::image_border()' removing area aroud the image specified by area geometry
image_shave(image, geometry)
image |
original image |
geometry |
geometry specified by area format, for example "10x10". |
"shaved" image
attributes
,transform
## Not run: if(interactive()){ magick::rose %>% image_border() %>% image_shave("10x10") } ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.