Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- param ($dpi = 90)
- set-alias inkscape "C:\Program Files\Inkscape\inkscape.exe"
- Get-ChildItem -Filter *.svg | % {
- $src = $_.FullName
- $dst = $src -replace "\.svg$", ".png"
- "inkscape -f $($src) -e $($dst) -d $($dpi)"
- inkscape -f "$($src)" -e "$($dst)" -d "$($dpi)"
- }
- Write-Host "done !"
- $x = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement