typedef struct { GR_IMAGE_ID id; int width; int height; int planes; int bpp; int pitch; int bytesperpixel; int compression; int palsize; GR_PALENTRY palette[256]; } GR_IMAGE_INFO; |
A GR_IMAGE_INFO structure contains properties of a nano-X image. The image properties are filled in by the function GrGetImageInfo().
Type | Name | Description |
---|---|---|
GR_IMAGE_ID | id | The image ID. |
int | width | The width of the image in pixels. |
int | height | The height of the image in pixels. |
int | planes | The number of color planes in the image. |
int | bpp | The number if bits per pixel in the image. |
int | pitch | The number of bytes per line in the image. |
int | bytesperpixel | The number of bytes per pixel in the image. |
int | compression | The compression algorithm used in the image. |
int | palsize | The number pallete entries used by the image. |
GR_PALENTRY | palette[256] | The image's color palette. |