Notice: This documentation is archived. For the latest product features and documentation, please visit Dynamsoft Capture Vision Documentation.
CImageData
Stores the image data.
class dynamsoft::core::CImageData
Method | Description |
---|---|
CImageData |
Constructor of CImageData class. |
CImageData |
Constructor of CImageData class. |
~CImageData |
Destructor of CImageData class. |
GetBytes |
Get the image data content in a byte array. |
GetBytesLength |
Get the length of the image data byte array. |
GetWidth |
Get the width of the image in pixels. |
GetHeight |
Get the height of the image in pixels. |
GetStride |
Get the stride (or scan width) of the image. |
GetImagePixelFormat |
Get the image pixel format used in the image byte array. |
CImageData()
Constructor of a CCImageData
class.
dynamsoft::core::CImageData::CImageData()
dynamsoft::core::CImageData::CImageData(int bytesLength, unsigned char* bytes, int width, int height, int stride, ImagePixelFormat format)
Parameters
[in] bytesLength
The length of the image data byte array.
[in] bytes
The image data content in a byte array.
[in] width
The the width of the image in pixels.
[in] height
The the height of the image in pixels.
[in] stride
The stride (or scan width) of the image.
[in] format
The image pixel format used in the image byte array.
~CImageData()
Destructor of a CCImageData
class.
dynamsoft::core::CImageData::~CImageData()
GetBytes
Get the image data content in a byte array.
const unsigned char* GetBytes()
GetBytesLength
Get the length of the image data byte array.
int GetBytesLength()
GetWidth
Get the width of the image in pixels.
int GetWidth()
GetHeight
Get the height of the image in pixels.
int GetHeight()
GetStride
Get the stride (or scan width) of the image.
int GetStride()
GetImagePixelFormat
Get the image pixel format used in the image byte array.
ImagePixelFormat GetImagePixelFormat()
See Also