Thanks for downloading Dynamsoft Label Recognizer Package!
Your download will start shortly. If your download does not begin, click here to retry.
ImageData
You are viewing a history document page of Dynamsoft Label Recognizer Android v2.2.20.
Stores the image data.
class com.dynamsoft.core.ImageData
Attributes
Attribute | Type |
---|---|
bytes |
byte[] |
width |
int |
height |
int |
stride |
int |
format |
EnumImagePixelFormat |
orientation |
int |
Methods
Methods | Type |
toBitmap |
Convert ImageData to android.graphics.Bitmap . |
bytes
The image data content in a byte array.
byte[] bytes
width
The width of the image in pixels.
int width
height
The height of the image in pixels.
int height
stride
The stride (or scan width) of the image.
int stride
format
The image pixel format used in the image byte array.
EnumImagePixelFormat format
orientation
The orientation of the image.
int orientation
toBitmap
Convert ImageData
to android.graphics.Bitmap
.
Bitmap toBitmap() throws CoreException