intro-outro-generator/make-overlay.sh
2014-07-24 21:33:39 +02:00

10 lines
344 B
Bash
Executable file

#!/bin/bash
if ! pushd "$1/artwork/" >/dev/null 2>&1; then
echo "call with a project-name, eg. './make-snapshots sotmeu14'"
exit 1
fi
inkscape --export-width=1024 --export-height=576 --export-png=overlay-1024x576.png overlay.svg
inkscape --export-width=720 --export-height=576 --export-png=overlay-720x576.png overlay.svg
popd >/dev/null