mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-11-23 18:15:34 +00:00
Updated Splash and other images (markdown)
parent
1f668e97f7
commit
599ef51834
@ -5,3 +5,13 @@ For converting back and forth between the image and source you can use `xxd`. In
|
|||||||
|
|
||||||
### From .hpp to .bmp
|
### 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`
|
||||||
|
Loading…
Reference in New Issue
Block a user