ImageData Struct
Stores the image data.
Definition
typedef struct tagImageData
{
int bytesLength;
unsigned char* bytes;
int width;
int height;
int stride;
ImagePixelFormat format;
int orientation;
}ImageData;
bytesLength
The length of the image data byte array.
bytes
The image data content in a byte array.
width
The width of the image in pixels.
height
The height of the image in pixels.
stride
The stride (or scan width) of the image.
format
The image pixel format used in the image byte array.
See Also
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.