screen: Show lane types
This commit is contained in:
parent
2b9e50c16c
commit
7bbdae9243
8 changed files with 172 additions and 40 deletions
13
Readme.md
13
Readme.md
|
|
@ -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
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue