INKSCAPE(1) Inkscape Commands Manual INKSCAPE(1) Inkscape - SVG (Scalable Vector Graphics) "inkscape [] [_1 _2 ...]" : -?, --help --help-all --help-gapplication --help-gtk -V, --version --debug-info --system-data-directory --user-data-directory -p, --pipe -n, --pages=PAGE[,PAGE] --pdf-poppler --convert-dpi-method=METHOD --no-convert-text-baseline-spacing -o, --export-filename= --export-overwrite --export-type=[,]* --export-extension= -C, --export-area-page -D, --export-area-drawing -a, --export-area=x0:y0:x1:y1 --export-area-snap -d, --export-dpi=DPI -w, --export-width= -h, --export-height= --export-margin= --export-page=all|n[,a-b] -i, --export-id=OBJECT-ID[;OBJECT-ID]* -j, --export-id-only -l, --export-plain-svg --export-png-color-mode=COLORMODE --export-png-use-dithering=BOOLEAN --export-ps-level=LEVEL --export-pdf-version=VERSION -T, --export-text-to-path --export-latex --export-ignore-filters -t, --export-use-hints -b, --export-background=COLOR -y, --export-background-opacity=VALUE -I, --query-id=[,]* -S, --query-all -X, --query-x -Y, --query-y -W, --query-width -H, --query-height --vacuum-defs --select=OBJECT-ID[,OBJECT-ID]* --actions=ACTION(:ARG)[;ACTION(:ARG)]* --action-list --actions-file=FILENAME -g, --with-gui -q, --active-window --display=DISPLAY --app-id-tag=TAG --batch-process --shell Inkscape Inkscape SVG GNOME GNOME SVG W3C 2D XML SVG ... SVG SVG /xml SVG Inkscape SVG SVG -?, --help --help-all Shows all help options. --help-gapplication Shows the GApplication options. --help-gtk Shows the GTK+ options. -V, --version Inkscape --debug-info Inkscape Inkscape (bug) --system-data-directory Inkscape Inkscape ( UI ) () (SVG ) Inkscape INKSCAPE_DATADIR --user-data-directory () (UI ) INKSCAPE_PROFILE_DIR -p, --pipe (stdin) --pages=PAGE Imports the given comma separated list of pages from a PDF, or multi page SVG file. This replaces the --pdf-page from previous Inkscape versions. --pdf-poppler Inkscape (poppler-derived) PDF --pdf-poppler ( cairo poppler) PDF (glyphs) (glyphs) --convert-dpi-method= (pre-0.92) 90 DPI 96 DPInone( 94%)scale- viewbox() scale-document() --no-convert-text-baseline-spacing (pre-0.92) Inkscape 0.92 line-height CSS Inkscape 0.92 -o, --export-filename= --export-type () "-" Inkscape (stdout) --export-overwrite --export-type=[,]* svg, png, ps, eps, pdf, emf, wmf PostScript SVG --export-area-drawing PDF SVG --export-extension= --export-filename --export-filename --export-type -C, --export-area-page SVGPNGPDFPS EPS SVGPNGPDF PS --export-id EPS -D, --export-area-drawing SVGPNGPDFPS EPS () ( --export -id ) EPS PNG --export-use-hints -a x0:y0:x1:y1, --export-area=x0:y0:x1:y1 In PNG export, set the exported area of the document, specified in px (1/96 in). The default is to export the entire document page. The point (0,0) is the lower-left corner. --export-area-snap For PNG export, snap the export area outwards to the nearest integer px values. If you are using the default export resolution of 96 dpi and your graphics are pixel-snapped to minimize antialiasing, this switch allows you to preserve this alignment even if you are exporting some object's bounding box (with --export-id or --export-area-drawing) which is itself not pixel-aligned. -d DPI, --export-dpi=DPI PNG PSEPS PDF ( --export-ignore-filters ) 96 dpi 1 SVG (px, ) 1 --export-use-hints DPI -w , --export-width= --export-dpi ( --export-use-hints DPI ) -h , --export-height= --export-dpi ( --export-use-hints DPI ) --export-margin= (SVG) (PS/PDF) -i ID, --export-page=all|n[,a-b]* Exports the selected pages only. If more than one page is specified then the resulting document may contain multiple pages if the format supports it. Value can be a comma separated list of page numbers, or page ranges of two numbers separated by a dash. The keyword 'all' can be used to indicate all pages would be exported. -i ID, --export-id=[;]* PNGPSEPSPDF SVG , ID --export-area ( PNG) --export-area-page : [input_filename]_[ID].[export_type] -j, --export-id-only For PNG, PS, EPS, PDF and plain SVG export, only export the object whose id is given in --export-id. All other objects are hidden and won't show in export even if they overlay the exported object. Without --export-id, this option is ignored. -l, --export-plain-svg SVG SVG sodipodi: inkscape: RDF --export-filename --export-png-color-mode=COLORMODE Sets the color mode (bit depth and color type) for exported bitmaps (Gray_1/Gray_2/Gray_4/Gray_8/Gray_16/RGB_8/RGB_16/GrayAlpha_8/GrayAlpha_16/RGBA_8/RGBA_16) --export-png-use-dithering=false|true Forces dithering or disables it (the Inkscape build must support dithering for this). --export-ps-level= PS EPS PostScript 2 3 3 --export-pdf-version= PDF PDF PDF-export 1.4 pdf 1.4 -T, --export-text-to-path ( PSEPS PDF) --export-latex LaTeX ( PSEPS PDF ) LaTeX PDF/PS/EPS PDF/PS/EPS ( --export-type ) LaTeX PDF/PS/EPS LaTeX LaTeX PDF/PS/EPS (\input{image.tex}) LaTeX LaTeX LaTeX LaTeX GNUPlot epslatex --export-ignore-filters () ( PSEPS PDF ) --export-dpi ( 96 dpi) -t, --export-use-hints PNG DPI ( --export-id ) Inkscape Inkscape document.svg id="path231" 300 dpi /home/me/shape.png inkscape -i path231 -t .svg --export-dpi--export-width --export-height DPI --export-filename -b , --export-background= PNG SVG "#ff007f" "rgb(255, 0, 128)" Inkscape ( pagecolor= sodipodi:namedview ) -y , --export-background-opacity= PNG 0.0 1.0 (0.0 1.0 ) 1 255 (255 ) -b Inkscape ( inkscape:pageopacity= sodipodi:namedview ) -b 255 () -I, --query-id=[,]* (ID) () --query-id ( (e.g. --query-x)) -S, --query-all SVG ID xy -X, --query-x X --query-id X px (SVG ) -Y, --query-y Y --query-id Y px (SVG ) -W, --query-width --query-id px (SVG ) -H, --query-height --query-id px (SVG ) --vacuum-defs SVG "" --export-plain-svg --select=[,]* --select ID "--verb=EditDeselect" ID --actions=(:)[;(:)]* --action-list (ID) (verb) () GUI () --batch-process GUI ( '--' ':' '=') --batch-process export-do --action-list --actions-file=FILENAME Execute all actions listed in the file. The file contents must be formatted using the syntax of --actions. This option overrides the --actions argument when both are given. -g, --with-gui ( Unix $DISPLAY X server) -q, --active-window Instead of launching a new Inkscape process, this will run the command in the most recently focused Inkscape document. --display=DISPLAY Sets the X display to use for the Inkscape window. --app-id-tag=TAG Creates a unique instance of Inkscape with the application ID 'org.inkscape.Inkscape.TAG'. This is useful to separate the Inkscape instances when running different Inkscape versions or using different preferences files concurrently. --batch-process GUI --shell Inkscape (shell) Inkscape Inkscape Inkscape () (shell) Inkscape () Enter () This option can be combined with the --active-window parameter, to execute the shell commands in an already opened Inkscape document. : file-open:file1.svg; export-type:pdf; export-do; export-type:png; export-do file-open:file2.svg; export-id:rect2; export-id-only; export-filename:rect_only.svg; export-do ~/.config/inkscape/preferences.xml Inkscape ( Inkscape ) $HOME/.config/inkscape/extensions/ - extensions. $HOME/.config/inkscape/fonts/ - fonts. $HOME/.config/inkscape/icons/ - icon sets. $HOME/.config/inkscape/keys/ - $HOME/.config/inkscape/paint/ - patterns and hatches. $HOME/.config/inkscape/palettes/ - palettes. $HOME/.config/inkscape/symbols/ - symbol files. $HOME/.config/inkscape/templates/ - $HOME/.config/inkscape/ui/ - user interface files. STDERR STDOUT SVG Inkscape SVG SVG inkscape .svg SVG 96 dpi PNG (1 SVG 1 ) inkscape --export-filename=filename.png filename.svg PNG 600x400 inkscape --export-filename=filename.png -w 600 -h 400 filename.svg () inkscape --export-filename=filename.png --export-area-drawing filename.svg : inkscape --export-type=png,ps,eps,pdf filename1.svg filename2.svg id="text1555" PNG inkscape --export-id=text1555 --export-use-hints filename.svg 96 dpi SVG () inkscape --export-id=text1555 --export-filename=text.png --export-area-snap filename.svg Inkscape SVG SVG inkscape --export-plain-svg --export-filename=filename2.svg filename1.svg SVG EPS inkscape --export-filename=filename.eps --export-text-to-path filename.svg id="text1555" inkscape --query-width --query-id=text1555 filename.svg id="path1555" id="rect835" 90 SVG : inkscape --select=path1555,rect835 --actions="duplicate;object-rotate-90-cw" --export-overwrite filename.svg 30 inkscape --actions="select-by-element:ellipse;transform-rotate:30" --export-overwrite filename.svg ID MyTriangle triangle_purple.png triangle_red.png inkscape --actions="export-id:MyTriangle; export-id-only; export-background:purple; export-background-opacity:0.5;export-filename:triangle_purple.png; export-do; export-background:red; export-background-opacity:1; export-filename:triangle_red.png; export-do" filename.svg (stdin) SVG PDF : cat filename.svg | inkscape --pipe --export-filename=filename.pdf SVG PNG (stdout) ImageMagick JPG : inkscape --export-type=png --export-filename=- filename.svg | convert - filename.jpg ( --export-filename) cat filename.svg | inkscape --pipe --export-type=png | convert - filename.jpg INKSCAPE_PROFILE_DIR INKSCAPE_DATADIR Inkscape ( $PREFIX/share Inkscape $PREFIX/share/inkscape) INKSCAPE_LOCALEDIR Inkscape ... potrace, cairo, rsvg, batik, ghostscript, pstoedit. SVG : SVG : Scalable Vector Graphics (SVG) 1.1 W3C (Recommendation) 2011 8 16 Scalable Vector Graphics (SVG) 1.2 W3C (Working Draft) 2005 4 13 Scalable Vector Graphics (SVG) 2 W3C (Candidate Recommendation) 2016 9 15 Document Object Model (DOM): 2 W3C (Recommendation) 2000 11 13 GUI > > Inkscape Inkscape SVG Inkscape ( > ) (PNGBMPJPGXPMGIF ) ( Perl)PS EPS ( Ghostscript)PDF AI (AI 9.0 ) Inkscape 32- PNG ( > PNG ) > AIPSEPSPDF DXF Inkscape Inkscape Potrace () Inkscape (stdin-to-stdout ) IDInkscape Python doc/keys.html () (NEWS) Inkscape 1999 Gill ( Raph Levien GNOME ) Gill SVGRaph PostScript ...Raph Gill Gill 2000 Sodipodi Lauris Kaplinski Windows 2003 Sodipodi Bryce HarringtonMenTaLguYNathan Hurst Ted Gould Inkscape SVG Sodipodi Livarot Inkscape Inkscape Inkscape Maximilian Albert, Joshua A. Andler, Tavmjong Bah, Pierre Barbry-Blot, Jean-Francois Barraud, Campbell Barton, Bill Baxter, John Beard, John Bintz, Arpad Biro, Nicholas Bishop, Joshua L. Blocher, Hanno Bock, Tomasz Boczkowski, Adrian Boguszewski, Henrik Bohre, Boldewyn, Daniel Borgmann, Bastien Bouclet, Hans Breuer, Gustav Broberg, Christopher Brown, Marcus Brubaker, Luca Bruno, Brynn, Nicu Buculei, Bulia Byak, Pierre Caclin, Ian Caldwell, Gail Carmichael, Ed Catmur, Chema Celorio, Jabiertxo Arraiza Cenoz, Johan Ceuppens, Zbigniew Chyla, Alexander Clausen, John Cliff, Kees Cook, Ben Cromwell, Jon Cruz, Aurelie De- Cooman, Kris De Gussem, Milosz Derezynski, Daniel Diaz, Bruno Dilly, Larry Doolittle, Nicolas Dufour, Tim Dwyer, Maxim V. Dziumanenko, Moritz Eberl, Johan Engelen, Miklos Erdelyi, Ulf Erikson, Noe Falzon, Sebastian Faubel, Frank Felfe, Andrew Fitzsimon, Edward Flick, Marcin Floryan, Fred, Ben Fowler, Cedric Gemy, Steren Giannini, Olivier Gondouin, Ted Gould, Toine de Greef, Michael Grosberg, Bryce Harrington, Dale Harvey, Aurelio Adnauer Heckert, Rene de Hesselle, Carl Hetherington, Jos Hirth, Hannes Hochreiner, Thomas Holder, Joel Holdsworth, Christoffer Holmstedt, Alan Horkan, Karl Ove Hufthammer, Richard Hughes, Nathan Hurst, inductiveload, Thomas Ingham, Jean- Olivier Irisson, Bob Jamison, Ted Janeczko, Marc Jeanmougin, jEsuSdA, Lauris Kaplinski, Lynn Kerby, Niko Kiirala, James Kilfiger, Nikita Kitaev, Jason Kivlighn, Adrian Knoth, Krzysztof Kosinski, Petr Kovar, Michael Kowalski, Benoit Lavorata, Alex Leone, Julien Leray, Raph Levien, Diederik van Lierop, Nicklas Lindgren, Vitaly Lipatov, Ivan Louette, Fernando Lucchesi Bastos Jurema, Pierre-Antoine Marc, Aurel- Aime Marmion, Colin Marquardt, Craig Marshall, Ivan Masar, Dmitry G. Mastrukov, David Mathog, Matiphas, Patrick McDermott, Michael Meeks, Federico Mena, MenTaLguY, Aubanel Monnier, Vincent Montagne, Tim Mooney, Derek P. Moore, Chris Morgan, Peter Moulder, Jorg Muller, Yukihiro Nakai, Victor Navez, Jonathan Neuhauser, Christian Neumair, Nick, Andreas Nilsson, Mitsuru Oka, Vinicius dos Santos Oliveira, Martin Owens, PBS, Alvin Penner, Matthew Petroff, Jon Phillips, Zdenko Podobny, Alexandre Prokoudine, Jean-Rene Reinhard, Alexey Remizov, Frederic Rodrigo, Hugo Rodrigues, Jean Franco Amoni Rodriguez, Juarez Rudsatz, Xavier Conde Rueda, Felipe Correa da Silva Sanches, Christian Schaller, Marco Scholten, Tom von Schwerdtner, Markus Schwienbacher, Danilo Segan, Abhishek Sharma, Tim Sheridan, Shivaken, Rafal Siejakowski, Michael Sloan, John Smith, Sandra Snan, Bostjan Spetic, Aaron Spike, Kaushik Sridharan, Ralf Stephan, Dariusz Stojek, Patrick Storz, Martin Sucha, Sushant A.A., ~suv, Pat Suwalski, Adib Taraben, Parcly Taxel, Hugh Tebby, Jonas Termeau, David Turner, Andre Twupack, Aleksandar Urosevic, Alex Valavanis, Joakim Verona, Lucas Vieites, Daniel Wagenaar, Liam P. White, Sebastian Wust, Michael Wybrow, Gellule Xg, Daniel Yacob, Masatake Yamato, David Yip Copyright (C) 1999-2023 by Authors. Inkscape is free software; you can redistribute it and/or modify it under the terms of the GPL version 2 or later. 1.3.2 2024-05-07 INKSCAPE(1)