1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-13 11:29:56 +03:00
inav/docs/development/Bitmap Creation.md
ChiggerPepi 4d27be41ff Update display.c
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
2016-03-23 22:25:23 +10:00

895 B

Bitmaps

The bitmapDecompress function in Cleanflight is currently designed to work with RLE compressed monochrome bitmaps.

Image format

Armed RLE Bitmap

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:

Photoshop

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 works very nicely for this. The proper settings are shown in the screenshot below:

Photoshop