Created
November 24, 2023 13:22
-
-
Save pwab/8f10bfe352b2310c74ec4d1f294cb7be to your computer and use it in GitHub Desktop.
Convert SVG to PNG with a batch script using Inkscape on Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:treeProcess | |
rem Do whatever you want here over the files of this subdir, for example: | |
FOR %%A IN (*.svg) DO "C:\Program Files\Inkscape\bin\inkscape.com" %%A --export-filename=%%A.png --export-width=128 --export-height=128 | |
for /D %%d in (*) do ( | |
cd %%d | |
call :treeProcess | |
cd .. | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment