Add script to automatically rescale SVG images - important to export them to PNGs
This commit is contained in:
parent
d4f5e1d238
commit
8435fb883f
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ resizeFile(){
|
||||||
FILE="$(basename "${1}")"
|
FILE="$(basename "${1}")"
|
||||||
echo "Path is $PTH, name is $FILE"
|
echo "Path is $PTH, name is $FILE"
|
||||||
svg-resizer -f -x 500 -y 500 -o /tmp/resized $1
|
svg-resizer -f -x 500 -y 500 -o /tmp/resized $1
|
||||||
# mv "/tmp/resized/$FILE" "$PTH"
|
mv "/tmp/resized/$FILE" "$PTH"
|
||||||
}
|
}
|
||||||
|
|
||||||
export -f resizeFile
|
export -f resizeFile
|
||||||
|
|
Loading…
Reference in a new issue