Image format details


#include <aoi.h>

typedef struct AOImageFormat_t;


The AOImageFormat_t structure is a private data type that describes an image format. The structure contains at least the following members:
uint32_t width
The width of the image, in pixels.
uint32_t height
The height of the image, in pixels.
uint16_t depth
The color depth of the image, in bits.
int16_t transparent
If the image is transparent, this value is the transparency index + 1. If the image isn't transparent, this value is 0.
uint8_t pal[256][3]
The image palette.


QNX Neutrino