How to save an image from sketch windows

please format code with </> button * homework policy * asking questions

PArdon my beginnereness!!!
When I have a Sketch window and want to save it as a single figure (image) in .png or .jpg, what do I have to do??. Again: I make some art which I like hw it looks on the sketch windows, then I want to save it as an image (.png and/or .jpg). what do I have to do?? Thank you in advance.

just write save(“test.jpg”); at end of draw ()

1 Like

or at the end of setup(), unless you intend to capture 60 png’s a second

1 Like

yeah or at the end of draw() with a key press:

if(keyPressed) 
    save(“test.jpg”);
1 Like

THank you very much to all of you. will try!!!

1 Like