Skip to content

Instantly share code, notes, and snippets.

@micahpearlman
Created March 8, 2012 23:32
Show Gist options
  • Save micahpearlman/2004122 to your computer and use it in GitHub Desktop.
Save micahpearlman/2004122 to your computer and use it in GitHub Desktop.
Inkscape Command Line on OSX
/Applications/Inkscape.app/Contents/Resources/script "/path/to/myfile.svg" --export-png="/path/to/outputfile.png"
to export the image area (i.e., the image is off screen):
Applications/Inkscape.app/Contents/Resources/script "/Users/micahpearlman/killme/2.svg" --export-png="/Users/micahpearlman/killme/2.png" --export-area-drawing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment