trim_whitespace: Remove whitespace from around an image

Description Usage Arguments Note Examples

Description

trim_whitespace crops an image, removing any whitespace from around it.

Usage

1
trim_whitespace(filename, ...)

Arguments

filename

Image to be cropped

...

Optional arguments

Note

This function requires PDFCrop for PDFs and ImageMagick for other formats.

Examples

1
2
3
4
## Not run: 
trim_whitespace("my_figure.pdf")

## End(Not run)

briandconnelly/ggplot2bdc documentation built on May 13, 2019, 5:13 a.m.