Name | save() |
||
---|---|---|---|
Examples | line(20, 20, 80, 80); // Saves a TIFF file named "diagonal.tif" save("diagonal.tif"); // Saves a TARGA file named "cross.tga" line(80, 20, 20, 80); save("cross.tga"); |
||
Description | Saves an image from the display window. Images are saved in the PNG format as a Data URI, which can be displayed in the browser in a new window. |
||
Syntax | save(filename) |
||
Parameters |
|
||
Returns | None | ||
Usage | Web & Application | ||
Related | saveFrame() createGraphics() |