Fandom

How To Wiki

How to use Inkscape in commandline mode

1,795pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.


Inkscape is a great GUI Vector graphic editors, but can also be used in command line mode.

A command in inkscape is called a 'verb'

Basic usageEdit

List available commands, verbs
List all command line options
  • inkscape --usage
Load file
  • inkscape -f FILENAME

Displaying file infoEdit

Performing OperationsEdit

--verb (Then the Action)

ex.

--verb EditSelectAll

--verb SelectionUnGroup

--verb EditSelectAll

--verb ObjectToPath

--verb FileSave

--verb FileQuit

Exporting SVG to different formatsEdit

export to bitmap (png)
  • inkscape -f FILENAME.svg -e FILENAME.png
    loads FILENAME.svg and exports it to FILENAME.png
  • inkscape -f FILENAME.svg -w WIDTH -h HEIGHT -e FILENAME.png
    loads FILENAME.svg and exports it to FILENAME.png with width size, WIDTH, and height size, HEIGHT, in pixels
export to pdf
  • inkscape -f FILENAME.svg -A FILENAME.pdf
    loads FILENAME.svg and exports it to FILENAME.pdf
export to ps
  • inkscape -f FILENAME.svg -P FILENAME.ps
    loads FILENAME.svg and exports it to FILENAME.ps
export to eps
  • inkscape -f FILENAME.svg -E FILENAME.eps
    loads FILENAME.svg and exports it to FILENAME.eps

External linksEdit

Also on Fandom

Random Wiki