14 struct cmapent cmap[256];
15 unsigned char *pixels;
18 int alloc_image(struct image *img, int x, int y, int bpp);
19 int load_image(struct image *img, const char *fname);
20 int save_image(struct image *img, const char *fname);
22 int conv_image_rgb565(struct image *img16, struct image *img);
24 int cmp_image(struct image *a, struct image *b);
26 void blit_image(struct image *src, int sx, int sy, int w, int h, struct image *dst, int dx, int dy);
28 void image_color_offset(struct image *img, int offs);