#94740 - Turambar - Wed Jul 26, 2006 12:21 am
I have this code to load a pcx image from the filesystem
I'm working with 8bit colors, how can I get the palette this image uses?
Code: |
const char *pcx_file = gbfs_get_obj(&data_gbfs, "img.pcx", NULL); loadPCX((u8*)pcx_file, &pcx); |
I'm working with 8bit colors, how can I get the palette this image uses?