You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
888 B

  1. # Bitmaps
  2. The bitmapDecompress function in INAV is currently designed to work with RLE compressed monochrome bitmaps.
  3. ## Image format
  4. ![Armed RLE Bitmap](assets/armed128x32.bmp)
  5. 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.
  6. Example Photoshop new image settings:
  7. ![Photoshop](assets/photoshop.jpg)
  8. ## Compression and HEX conversion
  9. 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.
  10. The proper settings are shown in the screenshot below:
  11. ![Photoshop](assets/gabotronics.jpg)