Default38693 commited on
Commit
904ec1b
·
1 Parent(s): 2a294db

Delete svg_convert.ps1

Browse files
Files changed (1) hide show
  1. svg_convert.ps1 +0 -17
svg_convert.ps1 DELETED
@@ -1,17 +0,0 @@
1
- $inputDirectory = "inPath"
2
- $outputDirectory = "outPath"
3
-
4
- if (-not (Test-Path -Path $outputDirectory)) {
5
- New-Item -ItemType Directory -Path $outputDirectory
6
- }
7
-
8
- Get-ChildItem -Path $inputDirectory -Filter *.svg | ForEach-Object {
9
- $inputFilePath = $_.FullName
10
- $outputFilePath = Join-Path -Path $outputDirectory -ChildPath ($_.BaseName + ".png")
11
-
12
- & 'C:\Program Files\Inkscape\bin\inkscape.exe' `
13
- --export-type="png" `
14
- --export-filename="$outputFilePath" `
15
- --export-dpi=800 `
16
- $inputFilePath
17
- }