DSImageData
The DSImageData
interface defines the structure of an object that represents an image.
export interface DSImageData {
bytes: Uint8Array;
format: Core.EnumImagePixelFormat;
height: number;
imageTag?: ImageTag;
stride: number;
width: number;
}
bytes
The raw bytes of the image, of type Uint8Array.
See Also
format
The pixel format of the image.
See Also
height
The height of the image in pixels.
imageTag
An optional tag associated with the image data.
See Also
stride
The stride (or row width) of the image in bytes.
width
The width of the image in pixels.