Converts a PDF file to a base64-encoded binary .tiff file.

pdf_to_binbase(file)

Arguments

file

path to a single-page pdf file

Value

a base64-encoded string

Examples

if (FALSE) { doc_encoded <- pdf_to_binbase("document.pdf") }