encodePNG: base64 Encoding of a .png File

Description Usage Arguments Examples

View source: R/makeDisplay_internals.R

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)

trelliscope documentation built on May 29, 2017, 11:43 p.m.

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