MCPcopy Index your code
hub / github.com/benfry/processing4 / save

Method save

core/src/processing/core/PApplet.java:3540–3542  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

3538 * @see PApplet#createGraphics(int, int, String)
3539 */
3540 public void save(String filename) {
3541 g.save(savePath(filename));
3542 }
3543
3544
3545 /**

Callers 5

saveFrameMethod · 0.45
saveXMLMethod · 0.45
saveJSONObjectMethod · 0.45
saveJSONArrayMethod · 0.45
saveTableMethod · 0.45

Calls 1

savePathMethod · 0.95

Tested by

no test coverage detected