docs/ikteam: Delete most files.
[haiku.git] / 3rdparty / mmu_man / scripts / generate_icon_table.sh
blob680ee27ec21e5ed6b651564cc70a494fa99dbff1
1 #!/bin/sh
3 which montage > /dev/null 2>&1 || pkgman install imagemagick
5 tmpf=/tmp/$$_icon_
7 for f in data/artwork/icons/*; do
8 [ -d "$f" ] && continue
9 bn="$(basename "$f")"
10 translate "$f" "${tmpf}${bn}.png" 'PNG '
11 echo "-label"
12 echo "${bn}"
13 echo "${tmpf}${bn}.png"
14 done | xargs -d '\n' sh -c 'montage -frame 5 -background "#336699" -geometry +4+4 -font /system/data/fonts/ttfonts/NotoSans-Regular.ttf -pointsize 9 "$@" haiku_icons.png' --
16 rm /tmp/$$_icon_*