Overlay a pdf file into another pdf file
Usage
pdf_overlay_stamp(input, stamp, output = NULL, password = "")
Arguments
- input
path or url to the input pdf file
- stamp
pdf file of which the first page is overlayed into each page of
input
- output
base path of the output file(s)
- password
string with password to open pdf file
Value
a character vector with the path of the stamped pdf file
Examples
pdf_file <- system.file("examples", "sufganiyot.pdf", package = "cpp11qpdf")
stamp_file <- system.file("examples", "header.pdf", package = "cpp11qpdf")
fout <- tempfile()
pdf_overlay_stamp(pdf_file, stamp_file, fout, "")
#> [1] "/tmp/RtmpOgvruH/file27fb4ebe7b17.pdf"