Responds to an HTTP request with PNG image data from a given PNG file
1 | respondPNG(pngFile, filename = "image.png", download = FALSE)
|
pngFile |
the name of a file containing the binary data |
filename |
the filename to be used in the HTTP header. Defaults to image.png |
download |
whether or not to treat this as a download. Defaults to FALSE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.