View source: R/helpers_magick.R
| safe.image.trim | R Documentation |
Safe wrapper around magick::image_trim that handles blank images.
safe.image.trim(image)
image |
a magick image object. |
the trimmed magick image, or the original if trimming fails (e.g., uniform/blank image).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.