1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-12 19:10:27 +03:00
inav/docs/development/Bitmap Creation.md
Pawel Spychalski (DzikuVx) a588ee08b9 docs update fixes#282
2016-06-14 21:38:51 +02:00

888 B

Bitmaps

The bitmapDecompress function in INAV 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