Wiki » Historie » Revision 7
Revision 6 (Maximilian Seesslen, 31.08.2022 16:28) → Revision 7/9 (Maximilian Seesslen, 31.08.2022 17:53)
h1. Wiki
[[Bringup]]
[[UI]]
h2. Screens
* CANMon
** Static list with target-Values, delta
** Home-Button
** Color depending on delta
** Timeout for values to be invalidated
h2. How to write flash
h2. Icons
https://www.iconfinder.com/search/icons?q=pretzel
https://www.iconfinder.com/search/icons?q=pretzel&price=free
git clone https://github.com/google/material-design-icons/
imagemagick (graphicsmagic provides GIF)
<pre><code class="shell">
#!/bin/bash
set -e -u
mkdir -p 32
for ifile in *.png; do
convert $ifile -define h:format=a -depth 1 -background white -alpha off -resize 32x32 32/${ifile%.*}.h
convert $ifile -define h:format=rgb -depth 1 -background white -alpha off -resize 32x32 32/${ifile%.*}.png
# convert $ifile -define h:format=rgb -depth 1 -background white -alpha deactivate -resize 32x32 32/${ifile%.*}.png
convert $ifile -background white -alpha remove -flatten -alpha off -depth 1 -resize 32x32 32/${ifile%.*}.png
convert 32/${ifile%.*}.png -monochrome 32/${ifile%.*}_1.png
done
</code></pre>
[[Bringup]]
[[UI]]
h2. Screens
* CANMon
** Static list with target-Values, delta
** Home-Button
** Color depending on delta
** Timeout for values to be invalidated
h2. How to write flash
h2. Icons
https://www.iconfinder.com/search/icons?q=pretzel
https://www.iconfinder.com/search/icons?q=pretzel&price=free
git clone https://github.com/google/material-design-icons/
imagemagick (graphicsmagic provides GIF)
<pre><code class="shell">
#!/bin/bash
set -e -u
mkdir -p 32
for ifile in *.png; do
convert $ifile -define h:format=a -depth 1 -background white -alpha off -resize 32x32 32/${ifile%.*}.h
convert $ifile -define h:format=rgb -depth 1 -background white -alpha off -resize 32x32 32/${ifile%.*}.png
# convert $ifile -define h:format=rgb -depth 1 -background white -alpha deactivate -resize 32x32 32/${ifile%.*}.png
convert $ifile -background white -alpha remove -flatten -alpha off -depth 1 -resize 32x32 32/${ifile%.*}.png
convert 32/${ifile%.*}.png -monochrome 32/${ifile%.*}_1.png
done
</code></pre>