pdf_to_binbase: PDF to base64 tiff

View source: R/utils.R

pdf_to_binbaseR Documentation

PDF to base64 tiff

Description

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

Usage

pdf_to_binbase(file)

Arguments

file

path to a single-page pdf file

Value

a base64-encoded string

Examples

## Not run: 
doc_encoded <- pdf_to_binbase("document.pdf")

## End(Not run)

daiR documentation built on Sept. 8, 2023, 5:43 p.m.