Documentation
Table of contents

DSImage

Interface that defines an image acquired by an Image Source.

Attributes

Attribute Type
data Uint8Array
width number
height number
pixelFormat string

data

The image data.

width

The width of the image.

height

The height of the image.

pixelFormat

The pixel format of the image. Allowed values are “grey”, “rgb”, “bgr”, “rgba”, “bgra”.

This page is compatible for:

Is this page helpful?

YesYes NoNo