61 const char *path,
int offset,
int size);
73 const char *path, uint16_t *x, uint16_t *y, uint8_t *bpp);
int fosgra_is_image(fosfat_t *fosfat, const char *path)
Test if the file is a .IMAGE|.COLOR.
void fosgra_get_info(fosfat_t *fosfat, const char *path, uint16_t *x, uint16_t *y, uint8_t *bpp)
Get informations on the .IMAGE|.COLOR.
uint32_t fosgra_color_get(fosfat_t *fosfat, const char *path, uint8_t idx)
Get the color RGB24 from a .COLOR index.
uint8_t * fosgra_get_buffer(fosfat_t *fosfat, const char *path, int offset, int size)
Get decoded .IMAGE|.COLOR buffer.