Description Usage Arguments Note Examples
trim_whitespace
crops an image, removing any whitespace from around
it.
1 | trim_whitespace(filename, ...)
|
filename |
Image to be cropped |
... |
Optional arguments |
This function requires PDFCrop for PDFs and ImageMagick for other formats.
1 2 3 4 | ## Not run:
trim_whitespace("my_figure.pdf")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.