R/strings.R
to_datauri.Rd
Convert file to 'base64' format
to_datauri(file, mime = "")
file path
'mime' type, default is blank
a 'base64' data string looks like 'data:;base64,AEF6986...'
'data:;base64,AEF6986...'