6 typedef struct lbx_image LBXimg;
17 unsigned short width, height;
18 unsigned char nframes, loopstart, chunk;
19 int palettesz, looping;
22 LBXimg *lbximg_open(void *f, const struct lbx_file_ops *fops,
23 int (*destructor)(void *));
24 LBXimg *lbximg_fopen(const char *file);
25 int lbximg_close(LBXimg *img);
27 unsigned char **lbximg_getframe(LBXimg *img, int frame);
28 unsigned char **lbximg_getmask(LBXimg *img);
30 int lbximg_loadpalette(void *f, const struct lbx_file_ops *fops,
31 struct lbx_colour palette[static 256]);
32 int lbximg_getpalette(LBXimg *img, struct lbx_colour palette[static 256]);
34 void lbximg_getinfo(LBXimg *img, struct lbx_imginfo *info);