IImageInfo script interface

The IImageInfo interface represents an image in the project. It is also the base class of IAnimationFrame.

IImageInfo APIs

width
height
getSize()
Read-only numbers specifying the dimensions of the image in pixels. The method returns both values at the same time.
async toCanvas()
Extract the image content for this image to either a HTMLCanvasElement (in DOM mode) or OffscreenCanvas (in worker mode). The method is async and so returns a Promise that resolves with the canvas.
Construct 3 Manual 2026-07-22

On this page