I'm trying to export a graphic to a .xbm file. I convert it to a .C file to get it into the code....so far so good.
...but, it's not quite right. id displays garbled (though there is some semblance of the image)
I think it might be a padding issue....or something. also, don't know what these mean or how to generate the values....
0x01, // Version: 1 ?????
0x02, // BitDepth: 2 OK, I think I get what this means..... in this case a monochrome image?
0x00, 0x32, // Width: 50
0x00, 0x33, // Height: 51 OK, these are easy enough.
// Round width to next byte: 56 I think this might be my problem?
how do I specify the pallette?