Add montage script

This commit is contained in:
Anthony Wang 2021-07-28 12:11:01 -05:00
parent 1a5d313014
commit c4234cfba9
Signed by: a
GPG key ID: BC96B00AEC5F2D76
3 changed files with 9 additions and 1 deletions

View file

@ -1 +0,0 @@
montage icons/* -geometry 480x480 -tile 6x5 -border 20 -bordercolor white montage.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 MiB

After

Width:  |  Height:  |  Size: 3.7 MiB

9
about/montage.sh Executable file
View file

@ -0,0 +1,9 @@
cd icons
for old in *; do
new="$(echo "$old" | sed -e 's/.svg$/-large.svg/')"
echo $new
rsvg-convert "$old" -h 1080 -f svg -o "$new"
done
cd ..
montage icons/*-large.svg -geometry 480x480 -tile 8x4 -border 20 -bordercolor white montage.png
gio trash icons/*-large.svg