ImageData
Stores the image data.
Attributes
Attribute | Type |
---|---|
bytes |
byte[] |
width |
int |
height |
int |
stride |
int |
format |
int |
orientation |
int |
bytes
The image data content in a byte array.
byte[] com.dynamsoft.dbr.ImageData.bytes
width
The width of the image in pixels.
int com.dynamsoft.dbr.ImageData.width
height
The height of the image in pixels.
int com.dynamsoft.dbr.ImageData.height
stride
The stride (or scan width) of the image.
int com.dynamsoft.dbr.ImageData.stride
format
The image pixel format used in the image byte array.
int com.dynamsoft.dbr.ImageData.format
orientation
The orientation of the image data. The value is the angle that the image needs to be rotated clockwise so it shows correctly on the display in its natural orientation. It can be 0, 90, 180, or 270.
int com.dynamsoft.dbr.ImageData.orientation