Reference for get_image
Load an image file. This is part of the reference section.
Arc
Buffer
Data
Dialog
Ellipse
Geo Utils
Image
get_image
Joystick (future)
Keyboard
Line
Mouse / Touchscreen
Pixel
Rectangle
Renderers
Shape
Sound (future)
Style
System
Text
Transform
Purpose
Load an image from the local file system or URL.
Snippet
Load an image from the file reference.png.
image = sketch.get_image('reference.png')
Parameters
- path: The location from which the file should be read.
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 URL. Filenames like "example.png" will assume the same directory.