encodePNG: base64 Encoding of a .png File

Description Usage Arguments Examples

Description

base64 Encoding of a .png File

Usage

1
encodePNG(plotLoc)

Arguments

plotLoc

location of a png file on disk to encode as a base64 string

Examples

1
2
3
4
5
f <- tempfile(fileext = ".png")
png(f)
plot(1:10)
dev.off()
encodePNG(f)

tesseradata/trelliscope documentation built on May 31, 2019, 8:58 a.m.