Learn R Programming

daiR (version 1.0.0)

img_to_binbase: Image to base64 tiff

Description

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

Usage

img_to_binbase(file)

Value

a base64-encoded string

Arguments

file

path to an image file

Examples

Run this code
if (FALSE) {
img_encoded <- img_to_binbase("image.png")
}

Run the code above in your browser using DataLab