pdf2jpg: Convert pdf to jpg

Description Usage Arguments Value Author(s)

View source: R/pdf2jpg.R

Description

Calls the console "convert" function to convert a pdf-file into a jpeg-image. Requires "convert" to be installed already.

Usage

1
2
3
4
5
6
7
8
9
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


graphx documentation built on Feb. 3, 2022, 5:07 p.m.

Related to pdf2jpg in graphx...