Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 14 lines (12 sloc) 259 Bytes
#!/bin/bash
imgsize=800
#dest=public/img/gallery/
dest='./'
dpi=90
for path in "$@"
do
fname=$(basename "$path")
base="${fname%.*}"
#inkscape -z -e "${dest}${base}.png" -w $imgsize $path
inkscape -z -e "${dest}${base}.png" -d $dpi $path
done
You can’t perform that action at this time.