WebImage webPNG(Image img, [Pair<String, String> ] extraheaders)
Arguments
img: The imageextraheaders: Any additional HTTP headers to send with the image
Usage
Returns a PNG image suitable for returning from a webapp's webmain function.
img: The imageextraheaders: Any additional HTTP headers to send with the imageReturns a PNG image suitable for returning from a webapp's webmain function.