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)


Search within the trelliscope package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.