image_crop: Remove border from image

image_shaveR Documentation

Remove border from image

Description

Reverse operation to 'magick::image_border()' removing area aroud the image specified by area geometry

Usage

image_shave(image, geometry)

Arguments

image

original image

geometry

geometry specified by area format, for example "10x10".

Value

"shaved" image

See Also

attributes,transform

Examples

## Not run: 
if(interactive()){
 magick::rose %>%
 image_border() %>%
 image_shave("10x10")
 }

## End(Not run)

dmi3kno/bunny documentation built on Dec. 7, 2022, 7:22 p.m.