Updated Splash and other images (markdown)

Erwin Ried 2020-06-03 19:49:15 +02:00
parent 1f668e97f7
commit 599ef51834

@ -4,4 +4,14 @@ For converting back and forth between the image and source you can use `xxd`. In
`xxd -i input_image.bmp output.hpp`
### From .hpp to .bmp
`xxd -r -p input.hpp output_image.bmp `
`xxd -r -p input.hpp output_image.bmp `
# Firmware icons
There is a special file that contains all the firmware icons `firmware\application\bitmap.hpp` but this file should not be edited directly, instead, new icons should be created in `firmware\graphics` and then run `firmware\tools\make_bitmap.py <DIRECTORY>` to create `bitmap.hpp`.
For operating that Python3 script, `Pillow` library is required: `pip install pillow`
From bash, the command that creates and moves the bitmap file is:
`python3 make_bitmap.py ../graphics/ && mv bitmap.hpp ../application/bitmap.hpp`