Skip to content

Latest commit

 

History

History
104 lines (69 loc) · 1.68 KB

File metadata and controls

104 lines (69 loc) · 1.68 KB
layout title description keywords needAutoGenerateSidebar needGenerateH3Content noTitleIndex permalink
default-layout
Dynamsoft Core Android Class - ImageData
This page shows the ImageData Class of Dynamsoft Core for Android Language.
ImageData, android
true
true
true
/programming/android/api-reference/image-data.html

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]({{ site.enumerations }}image-pixel-format.html?src=android)
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