I need to convert some images (mostly jpg, a few other formats) into raw RGB colormaps, and ultimately into a .h file that I can compile into a C program. The .h is something like I need RGB 565, 666, ...