Closed arun54321 closed 4 years ago
for i in {1..99} ; do convert ~/.local/share/TelegramDesktop/tdata/ticons/iconmute_22_0.png -page -4-4 -background none -flatten \ \( +page -fill "#ececec" -stroke gray -draw "circle 14,14, 14,21" \) \ \( +stroke -font Helvetica -pointsize 9 -gravity center -draw "fill black text 4,5 '$i' " \) \ icon_22_$i.png ; done
I made icons with numbers on them using imagemagick. Could you include this command as an optional feature?
for i in {1..99} ; do convert a.png -fill "#ececec" -draw "circle 16,16, 16,21" -font Hack-Regular -pointsize 7 -draw "fill black text 13,19 '$i' " icon_22_$i.png ; done