I cannot get the hex dump to work for a BMP file.
I am not going to waste my time explaining the 100 different ways I tried to do this.
How can i get the hex map from a BMP to show it using the drawBitmap_kbg example in mcufriend library?
In the example, he creates an array of 64x64 radixes, for a 64x64 dimension bmp file. But when I dump my 64x64 icon bmp file, it gives me a ridiculous amount of radixes, 0x308 rows of 8 radixes = 6208 total. Is there supposed to be 2000 radixes worth of headers??? How am I supposed to figured out where the 4096 I need are?
The format of a Microsoft .BMP file is clearly explained in several documents and on many websites.
I used the online converter website mentioned in the header file and it worked just fine.
jremington:
The format of a Microsoft .BMP file is clearly explained in several documents and on many websites.
Yes. It was my mistake for not looking at the file type before having a mental breakdown trying to figure out what was wrong. Anyways, when I do a hex dump and copy and paste the last 4096 radixes, the output is in a format that doesn't have '0x' in front of the radixes as it needs to be in the example. PLEASE tell me there is a way to get this output correctly. I think I can write a script to do this, but something is fked up with my java compiler and I don't have the mental stability to do this right now.
Ok.. it seems unavoidable. I need to write a script since there will be commas inbetween (emoji of death and pain)
Must it be a BMP? This online converter works with png, gif or jpeg.
http://www.rinkydinkelectronics.com/t_imageconverter565.php
GypsumFantastic:
Must it be a BMP? This online converter works with png, gif or jpeg.
Rinky-Dink Electronics
Tried that, seems like it isn't working correctly at the moment
WOW. IT WORKS but he never changes "processing..." to "processed"