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.

CImageData

Stores the image data.

class dynamsoft::core::CImageData;
Method Description
CImageData Constructor function.
~CImageData Destructor function.
GetBytes Gets the bytes of the image data.
GetBytesLength Gets the bytes length of the image data.
GetWidth Gets the width of the image data (measured in pixels).
GetHeight Gets the height of the image data (measured in pixels).
GetStride Gets the stride length of the image data (measured in bytes).
GetImagePixelFormat Gets the pixel format of the image data.

 

CImageData Constructor

The length of the image data byte array.

CImageData();
CImageData(int bytesLength, unsigned char* bytes, int width, int height, int stride, ImagePixelFormat format);

 

CImageData Destructor

~CImageData();

 

GetBytes

Gets the bytes of the image data.

const unsigned char* const GetBytes() const;

 

GetBytesLength

Gets the bytes length of the image data.

int GetBytesLength() const;

 

GetWidth

Gets the width of the image data (measured in pixels).

int GetWidth() const;

 

GetHeight

Gets the height of the image data (measured in pixels).

int GetHeight() const;

 

GetStride

Gets the stride length of the image data (measured in bytes).

int GetStride() const;

 

GetImagePixelFormat

Gets the pixel format of the image data.

ImagePixelFormat GetImagePixelFormat() const;

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version(3.2.20)
    • Version 3.x
      • Version 3.2.10
      • Version 3.2.0
      • Version 3.0.30
      • Version 3.0.20
      • Version 3.0.10
      • Version 3.0.0
    • Version 2.x
      • Version 2.2.20
      • Version 2.2.11
      • Version 2.2.10
      • Version 2.2.0
      • Version 2.0.0
      • Version 2.2.20
      • Version 2.2.11
      • Version 2.2.10
      • Version 2.2.0
      • Version 2.0.0
      • Version 2.0.0
      • Version 2.0.0
    • Version 1.x
      • Version 1.2.1
      • Version 1.2
      • Version 1.0
      • Version 1.2.1
      • Version 1.2
      • Version 1.0
      • Version 1.2.1
      • Version 1.2
      • Version 1.0
      • Version 1.2.1
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support