respondPNG: Respond to HTTP request with PNG image data

Description Usage Arguments

Description

Responds to an HTTP request with PNG image data from a given PNG file

Usage

1
respondPNG(pngFile, filename = "image.png", download = FALSE)

Arguments

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


jweile/cgir documentation built on May 10, 2019, 10:02 a.m.