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 <- img_to_binbase("image.png")

## End(Not run)

Hegghammer/daiR documentation built on Nov. 15, 2024, 10:34 p.m.