BMP icon shows up as black

Hello, Iā€™m new. I have a program, I put in on SD into a folder along with an icon in bmp format named icon.bmp, just like other programs do, but in the main menu my program is shown with a completely black icon. If I switch the icon for the one of the other programs, it shows up okay. I am exporting my icon from GIMP, have tried various formats including 565. How do you create these icons so that they work? Thanks for help!

1 Like

OK solved, had to hexdump both images and compare individual bytes. When exporting from GIMP, check ā€œdo not export color informationā€ under ā€œCompatibility optionsā€ and ā€œ24 bits R8 G8 B8ā€ under ā€œAdvanced optionsā€. This information should probably be somewhere in an official tutorial.

3 Likes