pdf_overlay_stamp: Overlay a pdf file into another pdf file

View source: R/qpdf.R

pdf_overlay_stampR Documentation

Overlay a pdf file into another pdf file

Description

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, "")

cpp11qpdf documentation built on April 4, 2025, 4:39 a.m.