crop_white_margins | R Documentation |
This is taken with some slight modifications from here: https://github.com/statnmap/SDMSelect/blob/master/R/ToolFunctions.R
crop_white_margins(x, new_margin = 15, overwrite = FALSE)
x |
path to the PNG image |
new_margin |
number of white pixels lines to keep |
overwrite |
Logical, default FALSE, whether to overwrite the original file. If FALSE, a new file with _crop appended to the filename will be saved. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.