bm_create_pdf() creates a pdf from a list of images (each representing a page).
Arguments
- pages
A list of images (each representing a page).
- output
Output pdf filename.
NULLdefaults totempfile(fileext = ".pdf").- ...
Ignored.
- paper
Paper size. Usually either "letter" or "a4" but in certain circumstances can be one of "letter", "a4", "poker", "bridge", "legal", "a5", "a3", "special".
- orientation
Either "portrait" or "landscape". Ignored if
widthandheightare not missing.- width, height
Paper size in inches. Ignored if both are missing (in favor of
paperandorientation).- bg
outputpdf background color.
Examples
f1 <- pdf_create_blank(paper = "a4", orientation = "landscape")
f2 <- pdf_create_blank(length = 4L)
unlink(f1)
unlink(f2)