I hope the two can be separated,to create two arrays. Can reduce the size of the palette array。
It can even support BMP Rle8 to further reduce FLASH occupation
To save space you can use the indexed options with less bits. They will have smaller palettes.
index 16?no~no~no,The number of colors is not enough
Can you share the image?
On the screenshot ~50 pixels can be seen almost all of them has 0x00
value.
The last color of the palette if 0xffffffff
. So it seems the image is not that color rich.