Add script to automatically rescale SVG images - important to export them to PNGs

This commit is contained in:
pietervdvn 2022-01-06 20:40:05 +01:00
parent d4f5e1d238
commit 8435fb883f

View file

@ -8,7 +8,7 @@ resizeFile(){
FILE="$(basename "${1}")"
echo "Path is $PTH, name is $FILE"
svg-resizer -f -x 500 -y 500 -o /tmp/resized $1
# mv "/tmp/resized/$FILE" "$PTH"
mv "/tmp/resized/$FILE" "$PTH"
}
export -f resizeFile