Skip to content

Interface: ImageData ​

Defined in: types/desktop-engine.d.ts:1434

Pixel data: from createImageData / getImageData, or new ImageData(width, height) (API 5)

Properties ​

data ​

ts
readonly data: Uint8ClampedArray;

Defined in: types/desktop-engine.d.ts:1436

RGBA pixels (not premultiplied), generated on first read


height ​

ts
readonly height: number;

Defined in: types/desktop-engine.d.ts:1440

Height


width ​

ts
readonly width: number;

Defined in: types/desktop-engine.d.ts:1438

Width

The SDK is released under the Apache License 2.0