Saves an image from the display window. Append a file extension to the name of the file, to indicate the file format to be used: either TIFF (.tif), TARGA (.tga), JPEG (.jpg), or PNG (.png). If no extension is included in the filename, the image will save in TIFF format and .tif will be added
(String filename)
| 3538 | * @see PApplet#createGraphics(int, int, String) |
| 3539 | */ |
| 3540 | public void save(String filename) { |
| 3541 | g.save(savePath(filename)); |
| 3542 | } |
| 3543 | |
| 3544 | |
| 3545 | /** |
no test coverage detected