Learn R Programming

daiR (version 1.0.0)

pdf_to_binbase: PDF to base64 tiff

Description

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

Usage

pdf_to_binbase(file)

Value

a base64-encoded string

Arguments

file

path to a single-page pdf file

Examples

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

Run the code above in your browser using DataLab