AbstractProtectedconstructorCheck if the image is valid
True if the image is valid, false otherwise
Get the image unique ID
The image ID
AbstractgetGet the image as a RenderableImg
Optionalsize: { height: number; width: number }The optional size as { width, height }
Optionalformat: ImageFileFormatThe image format (default: png)
The renderable image or undefined if not valid
Get the image data as a Uint8Array
Optionalsize: { height: number; width: number }The optional size as { width, height }
The image format (default: png)
The image data or undefined if not valid
ProtectedregisterRegisters an object for auto release. When the object is not used anymore, it will be released automatically from C++.
The pointer ID to register
Base class for images
Represents the image in an abstract way, providing metadata and access to the RenderableImg.