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

img_to_binbase(file)

Arguments

file

path to an image file

Value

a base64-encoded string

Examples

if (FALSE) { img_encoded <- pdf_to_binbase("image.png") }