pdf_to_binbase: PDF to base64 tiff

Description Usage Arguments Value Examples

View source: R/utils.R

Description

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

Usage

1

Arguments

file

path to a single-page pdf file

Value

a base64-encoded string

Examples

1
2
3
4
## Not run: 
doc_encoded <- pdf_to_binbase("document.pdf")

## End(Not run)

daiR documentation built on June 11, 2021, 5:16 p.m.