Add a helper script for converting svg to png with inkscape

This commit is contained in:
mattmcw 2021-03-26 20:17:48 -04:00
parent 830777a280
commit 26fda5e05a
1 changed files with 8 additions and 0 deletions

8
svg2png.sh Normal file
View File

@ -0,0 +1,8 @@
#!/bin/bash
INPUT="${1}"
OUTPUT="${4}"
WIDTH=${2}
HEIGHT=${3}
inkscape -z -w ${WIDTH} -h ${HEIGHT} "${INPUT}" -e "${OUTPUT}"