mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-15 04:15:38 +03:00
Added "CLEANFLIGHT ARMED" bitmap,. Changed showTitle to not show default "armed" text when armed. Added showArmedPage Update display_ug2864hsweg01.c Added i2c_OLED_send_bitmap Update display_ug2864hsweg01.h Changed armed bitmap version to RLE compressed. Added bitmap decompression. Added Bitmap Creation.md and related images Changed bitmap to show cleanflight font
20 lines
No EOL
895 B
Markdown
20 lines
No EOL
895 B
Markdown
# Bitmaps
|
|
|
|
The bitmapDecompress function in Cleanflight is currently designed to work with RLE compressed monochrome bitmaps.
|
|
|
|
## Image format
|
|
|
|

|
|
|
|
Images supported by this function are required to be 128 pixels wide, with the exception being an image only 8 pixels in height. The image height should be divisible by 8, but not be larger than the display height of 64. The bitmap image should be monochrome, 1-bit.
|
|
|
|
Example Photoshop new image settings:
|
|
|
|

|
|
|
|
## Compression and HEX conversion
|
|
|
|
Your new bitmap file will need to be converted to run-length encoding compressed hexidecimal. The [Gabotronics Image to HEX Converter v1.03](http://www.gabotronics.com/download/resources/bmp-converter.zip) works very nicely for this.
|
|
The proper settings are shown in the screenshot below:
|
|
|
|
 |