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

20 lines
888 B
Markdown

# Bitmaps
The bitmapDecompress function in INAV is currently designed to work with RLE compressed monochrome bitmaps.
## Image format
![Armed RLE Bitmap](assets/armed128x32.bmp)
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](assets/photoshop.jpg)
## 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:
![Photoshop](assets/gabotronics.jpg)