12 lines
358 B
Bash
Executable file
12 lines
358 B
Bash
Executable file
#!/usr/bin/bash
|
|
cd icons
|
|
for old in *; do
|
|
new="$(echo "$old" | sed -e 's/.svg$/-large.svg/')"
|
|
echo $new
|
|
rsvg-convert "$old" -h 1440 -f svg -o "$new"
|
|
done
|
|
cd ..
|
|
montage -background white icons/*-large.svg -geometry 720x720 -tile 5x5 -border 30 -bordercolor transparent montage.png
|
|
convert montage.png -resize 50% montage.webp
|
|
rm icons/*-large.svg
|