Watch
0
0
Fork
You've already forked esp32-c_its-companion
0

screen: Show lane types

This commit is contained in:
Jannik Beyerstedt 2026-08-28 21:23:06 +02:00 committed by Jannik Beyerstedt
commit 7bbdae9243
8 changed files with 172 additions and 40 deletions

View file

@ -119,3 +119,16 @@ The unit tests in this project are meant to be run on the host:
```
cargo test --target host-tuple --bin test --no-default-features -F std,spat
```
## Tips and Tricks
### Create TGA Assets
Images are loaded as TGA assets, but shall not have an alpha channel.
You can convert them using [ImageMagick](https://imagemagick.org) like this:
```shell
# resize to 25px height, adding a black background to the white symbol and vice versa
magick Sinnbild_Radfahrer_StVO_1992-200px-white.png -resize x25 -background black -alpha background -flatten -alpha off -verbose Sinnbild_Radfahrer_StVO_1992-25px-white.tga
magick Sinnbild_Radfahrer_StVO_1992-200px-black.png -resize x25 -background white -alpha background -flatten -alpha off -verbose Sinnbild_Radfahrer_StVO_1992-25px-black.tga
```