Image2D
Represents a 2D image as raw byte data along with its dimensions and format.
Import
import ScriptingApi as api
# Access the class
# Image2D is available via api.Image2D
Properties
data
Raw image data stored as bytes.
Type: list
width
Width of the image in pixels.
Type: int
height
Height of the image in pixels.
Type: int
format
Image format (e.g., "PNG", "JPEG").
Type: str