img_to_binbase: Image to base64 tiff

View source: R/utils.R

img_to_binbaseR Documentation

Image to base64 tiff

Description

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

Usage

img_to_binbase(file)

Arguments

file

path to an image file

Value

a base64-encoded string

Examples

## Not run: 
img_encoded <- pdf_to_binbase("image.png")

## End(Not run)

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