Interface ImageDataLike

Minimal interface for an ImageData compatible object.

interface ImageDataLike {
    data: Uint8Array | Uint8ClampedArray;
    height: number;
    width: number;
}

Properties

Properties

data: Uint8Array | Uint8ClampedArray

The RGBA pixel data.

height: number

The height in pixels.

width: number

The width in pixels.