Description Usage Arguments Details Value Author(s)
This function creates a base64 string of a PNG (e.g. png) directly into HTML via the data function.
1 2 | png2base64(file, img.returnAsTag = FALSE, img.title = "image",
img.width = NULL)
|
file |
( |
img.returnAsTag |
( |
img.title |
( |
img.width |
( |
The input file is read and a base64 string encoded The returned file is the value of the
img
attribute src
.
See paramter img.returnAsTag
.
Matthias Pfeifer <matthias.pfeifer@roche.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.