img_to_binbase: Image to base64 tiff

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Converts an image file to a base64-encoded binary .tiff file.

Usage

1

Arguments

file

path to an image file

Value

a base64-encoded string

Examples

1
2
3
4
## Not run: 
img_encoded <- pdf_to_binbase("image.png")

## End(Not run)

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