]> mj.ucw.cz Git - libucw.git/blob - images/images.h
- removed alpha channel
[libucw.git] / images / images.h
1 #ifndef _IMAGES_IMAGES_H
2 #define _IMAGES_IMAGES_H
3
4 enum image_flag {
5   IMAGE_GRAYSCALE = 0x1,        /* grayscale image */
6 };
7
8 struct image {
9   uns flags;                    /* enum image_flag */
10   uns width;                    /* number of columns */
11   uns height;                   /* number of rows */
12   byte *pixels;                 /* RGB */
13 };
14
15 #endif
16