25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/bin/bash
-
- inputFiles=$1/*
- outDir=$2
-
- mkdir -p $outDir
-
- for inFile in $inputFiles
- do
- outFile=${inFile%.*}.png
- outFile="$outDir/$(basename $outFile)"
- echo "Converting $inFile ..."
- #convert -background none -density 600 $inFile $outFile
- /mnt/c/Program\ Files/Inkscape/inkscape.exe $inFile --export-png $outFile -d 600
- done
|