pdf2jpg {cooltools} | R Documentation |
Convert pdf to jpg
Description
Calls the console "convert" function to convert a pdf-file into a jpeg-image. Requires "convert" to be installed already.
Usage
pdf2jpg(
pdf.filename,
jpg.filename,
quality = 100,
background = "white",
dim = c(1600, 1200),
remove.pdf = FALSE,
verbose = TRUE
)
Arguments
pdf.filename |
filename of pdf input file |
jpg.filename |
filename of jpeg output file |
quality |
quality of jpeg compression from 1 (worst) to 100 (best) |
background |
color of background |
dim |
size in pixels of the jpeg-image |
remove.pdf |
logical flag. If TRUE, the pdf file is deleted after the conversion. |
verbose |
logical flag to turn on/off console statements. |
Value
None
Author(s)
Danail Obreschkow
[Package cooltools version 2.4 Index]