Add border around termshot screenshots

This commit is contained in:
Christian Muehlhaeuser
2019-12-14 01:14:11 +01:00
parent 1bfbd599d1
commit 10a8b1f3cd
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -9,6 +9,12 @@ for style in ./styles/*.json; do
light="-l"
fi
# take screenshot
./termshot ${light} -o ./styles/gallery/ -f "$filename" ./cmd/gold/gold -s ${style} ./cmd/gold
# add border
convert -bordercolor black -border 16x16 "./styles/gallery/$filename" "./styles/gallery/$filename"
# optimize filesize
pngcrush -ow "./styles/gallery/$filename"
done