Dev Center
Table of contents

Thanks for downloading Dynamsoft Barcode Reader Package!

Your download will start shortly. If your download does not begin, click here to retry.


Stores the image data.


typedef struct tagImageData  ImageData


Attribute Type
bytesLength int
bytes unsigned char*
width int
height int
stride int
format ImagePixelFormat
orientation int


The length of the image data byte array.

int tagImageData::bytesLength


The image data content in a byte array.

unsigned char* tagImageData::bytes


The width of the image in pixels.

int tagImageData::width


The height of the image in pixels.

int tagImageData::height


The stride (or scan width) of the image.

int tagImageData::stride


The image pixel format used in the image byte array.

ImagePixelFormat tagImageData::format


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 tagImageData::orientation

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

latest version

  • Latest version
  • Version 10.x
    • Version 10.0.20
    • Version 10.0.10
    • Version 10.0.0
  • Version 9.x
    • Version 9.6.30
    • Version 9.6.20
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.0
    • Version 9.0.0
  • Version 8.x
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
  • Version 7.x
    • Version 7.6.0
    • Version 7.5.0
Change +