Notice: This documentation is archived. For the latest product features and documentation, please visit Dynamsoft Capture Vision Documentation.
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”.