
This will produce a PNG with a name my_file.png
Simple export of a PNG: inkscape -export-type="png" my_file.svg. Only one of -export-area, -export-area-page, -export-area-drawing, -export-use-hints will be used to determine the export area. If both -export-filename and -export-type are given, the file name extension must match the type. All files listed on the command line will be opened, processed according to export options. Use of export options will suppress the GUI. Query the geometry of all objects: inkscape -query-all. Find the x position of a set of objects: inkscape -query-id="MyTriangle,MySquare" -query-x my_file.svg. List of available actions (very long): inkscape -action-list. List of available verbs (very long): inkscape -verb-list Verbs removed in 1.2. Extension directory: inkscape -extension-directory or inkscape -x. User data directory -user-data-directory. System data directory -system-data-directory. Debug information inskscape (library versions) -debug-info. Help (list of command line options): inkscape -help or inkscape -?. What can you do with the command line? Print out information
This is a long term process and it will be awhile before we see the full benefits.Īs a first step, we've started to use the latest Gtk 3 application code for Inkscape 1.0 which has resulted in some changes in how the command line works.įor the command line parameters for Inkscape versions up to 0.92.x, please check the corresponding output of inkscape -help on the command line. Starting after the release of the 0.92.x series, Inkscape's code is undergoing a major rewrite with the dual goals of making it more powerful and flexible for the user while making it easier for the developer.
2 What can you do with the command line?.