Description Usage Arguments Value Examples
Create a new image cropped by a circle mask and leave a margin
1 | circropper(input_path, margin, output_path = NULL)
|
input_path |
character the image file path |
margin |
double the distance between circle boundary and the original image boundary |
output_path |
character if not NULL, the modified image will be saved in the provided folder path and name |
a cropped image
1 2 | path <- system.file("tmp_image", "mandrill.jpg", package = "rimager")
circropper(path, 0, "new.png")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.