Reference for save_image
Save an image file. This is part of the reference section.
Arc
Buffer
Data
Dialog
Ellipse
Geo Utils
Image
save_image
Joystick (future)
Keyboard
Line
Mouse / Touchscreen
Pixel
Rectangle
Renderers
Shape
Sound (future)
Style
System
Text
Transform
Purpose
Save the sketch as an image file, either directly to the file system or as a download.
Snippet
Save the sketch to test.png.
sketch.save_image('test.png')
Parameters
- path: The location at which the file should be written.
Examples
Availability
Available for all platforms. On static and app renderers, will interpret path as a local file path using the operating system's conventions. For web, it will interpret path as a filename to use when dowloading the result.