Documentation
Table of contents

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

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 2.2.20
  • Version 2.0.0
  • Version 1.2.1
  • Version 1.2
  • Version 1.0
Change +
© 2003–2024 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support