Calls the console "convert" function to convert a pdf-file into a jpeg-image. Requires "convert" to be installed already.
pdf2jpg(
pdf.filename,
jpg.filename,
quality = 100,
background = "white",
dim = c(1600, 1200),
remove.pdf = FALSE,
verbose = TRUE
)
filename of pdf input file
filename of jpeg output file
quality of jpeg compression from 1 (worst) to 100 (best)
color of background
size in pixels of the jpeg-image
logical flag. If TRUE, the pdf file is deleted after the conversion.
logical flag to turn on/off console statements.
None