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;