ImageData
Stores the image data.
Typedefs
typedef struct tagImageData ImageData
Attributes
Attribute | Type |
---|---|
bytesLength |
int |
bytes |
unsigned char* |
width |
int |
height |
int |
stride |
int |
format |
ImagePixelFormat |
orientation |
int |
bytesLength
The length of the image data byte array.
int tagImageData::bytesLength
bytes
The image data content in a byte array.
unsigned char* tagImageData::bytes
width
The width of the image in pixels.
int tagImageData::width
height
The height of the image in pixels.
int tagImageData::height
stride
The stride (or scan width) of the image.
int tagImageData::stride
format
The image pixel format used in the image byte array.
ImagePixelFormat tagImageData::format
orientation
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