.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.43)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings.  \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
.    ds -- \(*W-
.    ds PI pi
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
.    ds L" ""
.    ds R" ""
.    ds C` ""
.    ds C' ""
'br\}
.el\{\
.    ds -- \|\(em\|
.    ds PI \(*p
.    ds L" ``
.    ds R" ''
.    ds C`
.    ds C'
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\"
.\" If the F register is >0, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD.  Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.\"
.\" Avoid warning from groff about undefined register 'F'.
.de IX
..
.nr rF 0
.if \n(.g .if rF .nr rF 1
.if (\n(rF:(\n(.g==0)) \{\
.    if \nF \{\
.        de IX
.        tm Index:\\$1\t\\n%\t"\\$2"
..
.        if !\nF==2 \{\
.            nr % 0
.            nr F 2
.        \}
.    \}
.\}
.rr rF
.\" ========================================================================
.\"
.IX Title "INKSCAPE 1"
.TH INKSCAPE 1 "2023\-08\-27" "1.3" "Inkscape\ Commands\ Manual"
.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
Inkscape \- an SVG (Scalable Vector Graphics) editing program.
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
\&\f(CW\*(C`inkscape [options] [filename_1 filename_2 ...]\*(C'\fR
.PP
options:
.PP
.Vb 4
\&    \-?, \-\-help
\&        \-\-help\-all
\&        \-\-help\-gapplication
\&        \-\-help\-gtk
\&
\&    \-V, \-\-version
\&        \-\-debug\-info
\&        \-\-system\-data\-directory
\&        \-\-user\-data\-directory
\&
\&    \-p, \-\-pipe
\&        \-\-pdf\-page=PAGE
\&        \-\-pdf\-poppler
\&        \-\-convert\-dpi\-method=METHOD
\&        \-\-no\-convert\-text\-baseline\-spacing
\&
\&    \-o, \-\-export\-filename=FILENAME
\&        \-\-export\-overwrite
\&        \-\-export\-type=TYPE[,TYPE]*
\&        \-\-export\-extension=EXTENSION-ID
\&
\&    \-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=WIDTH
\&    \-h, \-\-export\-height=HEIGHT
\&        \-\-export\-margin=MARGIN
\&
\&    \-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=OBJECT-ID[,OBJECT-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
.Ve
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
\&\fBInkscape\fR is a Free and open source vector graphics editor. It offers a rich
set of features and is widely used for both artistic and technical
illustrations such as cartoons, clip art, logos, typography, diagramming and
flowcharting.
It uses vector graphics to allow for sharp printouts and renderings at
unlimited resolution and is not bound to a fixed number of pixels like raster
graphics. Inkscape uses the standardized \fB\s-1SVG\s0\fR file format as its main format,
which is supported by many other applications including web browsers.
.PP
The interface is designed to be comfortable and efficient for skilled users,
while remaining conformant to \fB\s-1GNOME\s0\fR standards so that users familiar with
other \s-1GNOME\s0 applications can learn its interface rapidly.
.PP
\&\fB\s-1SVG\s0\fR is a W3C standard \s-1XML\s0 format for 2D vector drawing. It allows
defining objects in the drawing using points, paths, and primitive
shapes.  Colors, fonts, stroke width, and so forth are specified as
`style' attributes to these objects.  The intent is that since \s-1SVG\s0 is a
standard, and since its files are text/xml, it will be possible to use
\&\s-1SVG\s0 files in a sizeable number of programs and for a wide range of uses.
.PP
\&\fBInkscape\fR uses \s-1SVG\s0 as its native document format, and has the goal of
becoming the most fully compliant drawing program for \s-1SVG\s0 files
available in the Open Source community.
.SH "OPTIONS"
.IX Header "OPTIONS"
.IP "\fB\-?\fR, \fB\-\-help\fR" 8
.IX Item "-?, --help"
Shows a help message.
.IP "\fB\-\-help\-all\fR" 8
.IX Item "--help-all"
Shows all help options.
.IP "\fB\-\-help\-gapplication\fR" 8
.IX Item "--help-gapplication"
Shows the GApplication options.
.IP "\fB\-\-help\-gtk\fR" 8
.IX Item "--help-gtk"
Shows the \s-1GTK+\s0 options.
.IP "\fB\-V\fR, \fB\-\-version\fR" 8
.IX Item "-V, --version"
Shows the Inkscape version and build date.
.IP "\fB\-\-debug\-info\fR" 8
.IX Item "--debug-info"
Prints technical information including Inkscape version, dependency versions and operating system.
This Information is useful when debugging issues with Inkscape and should be included whenever
filing a bug report.
.IP "\fB\-\-system\-data\-directory\fR" 8
.IX Item "--system-data-directory"
Prints the system data directory where data files that ship with Inkscape are stored. This includes
files which Inkscape requires to run (like unit definitions, built-in key maps, files describing \s-1UI\s0
layout, icon themes, etc.), core extensions, stock resources (filters, fonts, markers, color
palettes, symbols, templates) and documentation (\s-1SVG\s0 example files, tutorials).
.Sp
The location in which Inkscape expects the system data directory can be overridden with the
\&\s-1INKSCAPE_DATADIR\s0 environment variable.
.IP "\fB\-\-user\-data\-directory\fR" 8
.IX Item "--user-data-directory"
Prints the user profile directory where user-specific data files and preferences are stored.
Custom extensions and resources (filters, fonts, markers, color palettes, symbols, templates)
should be installed into their respective subdirectories in this directory. In addition placing a
file with a name identical to one in the system data directory here allows to override most presets
from the system data directory (e.g. default templates, \s-1UI\s0 files, etc.).
.Sp
The default location of the profile directory can be overridden with the \s-1INKSCAPE_PROFILE_DIR\s0
environment variable.
.IP "\fB\-p\fR, \fB\-\-pipe\fR" 8
.IX Item "-p, --pipe"
Reads input file from standard input (stdin).
.IP "\fB\-\-pdf\-page\fR=\fI\s-1PAGE\s0\fR" 8
.IX Item "--pdf-page=PAGE"
Imports the given page of a pdf file. Numbering starts with 1.
.IP "\fB\-\-pdf\-poppler\fR" 8
.IX Item "--pdf-poppler"
By default Inkscape imports \s-1PDF\s0 files via an internal (poppler-derived) library.
Text is stored as text. Meshes are converted to tiles.
Use \-\-pdf\-poppler to import via an external (poppler with cairo backend) library
instead. Text consists of groups containing cloned glyphs where each glyph is a path.
Images are stored internally. Meshes cause entire document to be rendered as a raster image.
.IP "\fB\-\-convert\-dpi\-method\fR=\fI\s-1METHOD\s0\fR" 8
.IX Item "--convert-dpi-method=METHOD"
Choose method used to rescale legacy (pre\-0.92) files which render
slightly smaller due to the switch from 90 \s-1DPI\s0 to 96 \s-1DPI\s0 when interpreting
lengths expressed in units of pixels. Possible values are \*(L"none\*(R" (no
change, document will render at 94% of its original size), \*(L"scale-viewbox\*(R"
(document will be rescaled globally, individual lengths will stay
untouched) and \*(L"scale-document\*(R" (each length will be re-scaled
individually).
.IP "\fB\-\-no\-convert\-text\-baseline\-spacing\fR" 8
.IX Item "--no-convert-text-baseline-spacing"
Do not automatically fix text baselines in legacy (pre\-0.92) files on
opening.  Inkscape 0.92 adopts the \s-1CSS\s0 standard definition for the
\&'line-height' property, which differs from past versions.  By default,
the line height values in files created prior to Inkscape 0.92 will be
adjusted on loading to preserve the intended text layout.  This command
line option will skip that adjustment.
.IP "\fB\-o\fR, \fB\-\-export\-filename\fR=\fI\s-1FILENAME\s0\fR" 8
.IX Item "-o, --export-filename=FILENAME"
Sets the name of the output file. The default is to re-use the name of the input file.
If \-\-export\-type is also used, the file extension will be adjusted (or added) as appropriate.
Otherwise the file type to export will be inferred from the extension of the specified filename.
.Sp
Usage of the special filename \*(L"\-\*(R" makes Inkscape write the image data to standard output (stdout).
.IP "\fB\-\-export\-overwrite\fR" 8
.IX Item "--export-overwrite"
Overwrites input file.
.IP "\fB\-\-export\-type\fR=\fITYPE[,TYPE]*\fR" 8
.IX Item "--export-type=TYPE[,TYPE]*"
Specify the file type to export. Possible values: svg, png, ps, eps, pdf, emf, wmf 
and every file type for which an export extension exists. It is possible to export 
more than one file type at a time.
.Sp
Note that PostScript does not support transparency, so any transparent
objects in the original \s-1SVG\s0 will be automatically rasterized. Used fonts
are subset and embedded. The default export area is page; you can set it
to drawing by \-\-export\-area\-drawing.
.Sp
Note that \s-1PDF\s0 format preserves the transparency in the original \s-1SVG.\s0
.IP "\fB\-\-export\-extension\fR=\fIEXTENSION\-ID\fR" 8
.IX Item "--export-extension=EXTENSION-ID"
Allows to specify an output extension that will be used for exporting, which
is especially relevant if there is more than one export option for a 
given file type. If set, the file extension in \-\-export\-filename and 
\&\-\-export\-type may be omitted. Additionally, if set, only one file type 
may be given in \-\-export\-type.
.IP "\fB\-C\fR, \fB\-\-export\-area\-page\fR" 8
.IX Item "-C, --export-area-page"
In \s-1SVG, PNG, PDF, PS\s0 exported area is the page. This is the
default for \s-1SVG, PNG, PDF,\s0 and \s-1PS,\s0 so you don't need to specify this unless
you are using \-\-export\-id to export a specific object. For \s-1EPS\s0 this option
is currently not supported.
.IP "\fB\-D\fR, \fB\-\-export\-area\-drawing\fR" 8
.IX Item "-D, --export-area-drawing"
In \s-1SVG, PNG, PDF, PS,\s0 and \s-1EPS\s0 export, exported area is the drawing (not
page), i.e. the bounding box of all objects of the document (or of the
exported object if \-\-export\-id is used).  With this option, the exported
image will display all the visible objects of the document without
margins or cropping. This is the default export area for \s-1EPS.\s0 For \s-1PNG,\s0
it can be used in combination with \-\-export\-use\-hints.
.IP "\fB\-a\fR \fIx0:y0:x1:y1\fR, \fB\-\-export\-area\fR=\fIx0:y0:x1:y1\fR" 8
.IX Item "-a x0:y0:x1:y1, --export-area=x0:y0:x1:y1"
In \s-1PNG\s0 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.
.IP "\fB\-\-export\-area\-snap\fR" 8
.IX Item "--export-area-snap"
For \s-1PNG\s0 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.
.IP "\fB\-d\fR \fI\s-1DPI\s0\fR, \fB\-\-export\-dpi\fR=\fI\s-1DPI\s0\fR" 8
.IX Item "-d DPI, --export-dpi=DPI"
The resolution used for \s-1PNG\s0 export.  It is also used for fallback
rasterization of filtered objects when exporting to \s-1PS, EPS,\s0 or \s-1PDF\s0
(unless you specify \-\-export\-ignore\-filters to suppress
rasterization). The default is 96 dpi, which corresponds to 1 \s-1SVG\s0 user
unit (px, also called \*(L"user unit\*(R") exporting to 1 bitmap pixel.  This
value overrides the \s-1DPI\s0 hint if used with \-\-export\-use\-hints.
.IP "\fB\-w\fR \fI\s-1WIDTH\s0\fR, \fB\-\-export\-width\fR=\fI\s-1WIDTH\s0\fR" 8
.IX Item "-w WIDTH, --export-width=WIDTH"
The width of generated bitmap in pixels.  This value overrides
the \-\-export\-dpi setting (or the \s-1DPI\s0 hint if used
with \-\-export\-use\-hints).
.IP "\fB\-h\fR \fI\s-1HEIGHT\s0\fR, \fB\-\-export\-height\fR=\fI\s-1HEIGHT\s0\fR" 8
.IX Item "-h HEIGHT, --export-height=HEIGHT"
The height of generated bitmap in pixels.  This value overrides the
\&\-\-export\-dpi setting (or the \s-1DPI\s0 hint if used with \-\-export\-use\-hints).
.IP "\fB\-\-export\-margin\fR=\fI\s-1MARGIN\s0\fR" 8
.IX Item "--export-margin=MARGIN"
Adds a margin around the exported area. The size of the margin is
specified in units of page size (for \s-1SVG\s0) or millimeters (for \s-1PS/PDF\s0).
The option currently has no effect for other export formats.
.IP "\fB\-i\fR \fI\s-1ID\s0\fR, \fB\-\-export\-id\fR=\fIOBJECT\-ID[;OBJECT\-ID]*\fR" 8
.IX Item "-i ID, --export-id=OBJECT-ID[;OBJECT-ID]*"
For \s-1PNG, PS, EPS, PDF\s0 and plain \s-1SVG\s0 export, the id attribute value of
the object(s) that you want to export from the document; all other objects
are not exported.  By default the exported area is the bounding box of
the object; you can override this using \-\-export\-area (\s-1PNG\s0 only)
or \-\-export\-area\-page.
.Sp
If you specify many values with a semicolon separated list of objects,
each one will be exported separately. In this case the exported files will
be named this way: [input_filename]_[\s-1ID\s0].[export_type]
.IP "\fB\-j\fR, \fB\-\-export\-id\-only\fR" 8
.IX Item "-j, --export-id-only"
For \s-1PNG, PS, EPS, PDF\s0 and plain \s-1SVG\s0 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.
.IP "\fB\-l\fR, \fB\-\-export\-plain\-svg\fR" 8
.IX Item "-l, --export-plain-svg"
Export document(s) to plain \s-1SVG\s0 format, without sodipodi: or inkscape:
namespaces and without \s-1RDF\s0 metadata. Use the \-\-export\-filename option
to specify the filename.
.IP "\fB\-\-export\-png\-color\-mode\fR=\fI\s-1COLORMODE\s0\fR" 8
.IX Item "--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)
.IP "\fB\-\-export\-png\-use\-dithering\fR=\fIfalse|true\fR" 8
.IX Item "--export-png-use-dithering=false|true"
Forces dithering or disables it (the Inkscape build must support dithering for this).
.IP "\fB\-\-export\-ps\-level\fR=\fI\s-1LEVEL\s0\fR" 8
.IX Item "--export-ps-level=LEVEL"
Set language version for \s-1PS\s0 and \s-1EPS\s0 export. PostScript level 2 or 3 is supported. Default is 3.
.IP "\fB\-\-export\-pdf\-version\fR=\fI\s-1VERSION\s0\fR" 8
.IX Item "--export-pdf-version=VERSION"
Select the \s-1PDF\s0 version of the exported \s-1PDF\s0 file. This option basically
exposes the \s-1PDF\s0 version selector found in the PDF-export dialog of the
\&\s-1GUI.\s0 You must provide one of the versions from that combo-box,
e.g. \*(L"1.4\*(R". The default pdf export version is \*(L"1.4\*(R".
.IP "\fB\-T\fR, \fB\-\-export\-text\-to\-path\fR" 8
.IX Item "-T, --export-text-to-path"
Convert text objects to paths on export, where applicable (for \s-1PS, EPS,
PDF\s0 and \s-1SVG\s0 export).
.IP "\fB\-\-export\-latex\fR" 8
.IX Item "--export-latex"
(for \s-1PS, EPS,\s0 and \s-1PDF\s0 export) Used for creating images for LaTeX
documents, where the image's text is typeset by LaTeX.  When exporting
to \s-1PDF/PS/EPS\s0 format, this option splits the output into a \s-1PDF/PS/EPS\s0
file (e.g. as specified by \-\-export\-type) and a LaTeX file. Text will not
be output in the \s-1PDF/PS/EPS\s0 file, but instead will appear in the LaTeX
file. This LaTeX file includes the \s-1PDF/PS/EPS.\s0 Inputting
(\einput{image.tex}) the LaTeX file in your LaTeX document will show the
image and all text will be typeset by LaTeX. See the resulting LaTeX
file for more information.  Also see GNUPlot's `epslatex' output
terminal.
.IP "\fB\-\-export\-ignore\-filters\fR" 8
.IX Item "--export-ignore-filters"
Export filtered objects (e.g. those with blur) as vectors, ignoring the
filters (for \s-1PS, EPS,\s0 and \s-1PDF\s0 export).  By default, all filtered objects
are rasterized at \-\-export\-dpi (default 96 dpi), preserving the
appearance.
.IP "\fB\-t\fR, \fB\-\-export\-use\-hints\fR" 8
.IX Item "-t, --export-use-hints"
While exporting to \s-1PNG,\s0 use export filename and \s-1DPI\s0 hints stored in the exported object (only
with \-\-export\-id).  These hints are set automatically when you export
selection from within Inkscape.  So, for example, if you export a shape
with id=\*(L"path231\*(R" as /home/me/shape.png at 300 dpi from document.svg
using Inkscape \s-1GUI,\s0 and save the document, then later you will be able
to reexport that shape to the same file with the same resolution simply
with
.Sp
.Vb 1
\&    inkscape \-i path231 \-t document.svg
.Ve
.Sp
If you use \-\-export\-dpi, \-\-export\-width, or \-\-export\-height
with this option, then the \s-1DPI\s0 hint will be ignored and the value from
the command line will be used.  If you use \-\-export\-filename with this
option, then the filename hint will be ignored and the filename from the
command line will be used.
.IP "\fB\-b\fR \fI\s-1COLOR\s0\fR, \fB\-\-export\-background\fR=\fI\s-1COLOR\s0\fR" 8
.IX Item "-b COLOR, --export-background=COLOR"
Background color of exported \s-1PNG.\s0  This may be any \s-1SVG\s0 supported color
string, for example \*(L"#ff007f\*(R" or \*(L"rgb(255, 0, 128)\*(R".  If not set, then
the page color set in Inkscape in the Document Properties dialog will be
used (stored in the pagecolor= attribute of sodipodi:namedview).
.IP "\fB\-y\fR \fI\s-1VALUE\s0\fR, \fB\-\-export\-background\-opacity\fR=\fI\s-1VALUE\s0\fR" 8
.IX Item "-y VALUE, --export-background-opacity=VALUE"
Opacity of the background of exported \s-1PNG.\s0  This may be a value either
between 0.0 and 1.0 (0.0 meaning full transparency, 1.0 full opacity) or
greater than 1 up to 255 (255 meaning full opacity).  If not set and
the \-b option is not used, then the page opacity set in Inkscape in the
Document Properties dialog will be used (stored in the
inkscape:pageopacity= attribute of sodipodi:namedview).  If not set but
the \-b option is used, then the value of 255 (full opacity) will be
used.
.IP "\fB\-I\fR, \fB\-\-query\-id\fR=\fIOBJECT\-ID[,OBJECT\-ID]*\fR" 8
.IX Item "-I, --query-id=OBJECT-ID[,OBJECT-ID]*"
Set the \s-1ID\s0(s) of the object(s) whose dimensions are queried in a
comma-separated list. If not set, query options will return the
dimensions of the drawing (i.e. all document objects), not the page or
viewbox.
.Sp
If you specify many values with a comma separated list of objects, any
geometry query (e.g. \-\-query\-x) will return a comma separated list
of values corresponding to the list of objects in \fI\-\-query\-id\fR.
.IP "\fB\-S\fR, \fB\-\-query\-all\fR" 8
.IX Item "-S, --query-all"
Prints a comma delimited listing of all objects in the \s-1SVG\s0 document with
IDs defined, along with their x, y, width, and height values.
.IP "\fB\-X\fR, \fB\-\-query\-x\fR" 8
.IX Item "-X, --query-x"
Query the X coordinate of the drawing or, if specified, of the object
with \-\-query\-id. The returned value is in px (\s-1SVG\s0 user units).
.IP "\fB\-Y\fR, \fB\-\-query\-y\fR" 8
.IX Item "-Y, --query-y"
Query the Y coordinate of the drawing or, if specified, of the object
with \-\-query\-id. The returned value is in px (\s-1SVG\s0 user units).
.IP "\fB\-W\fR, \fB\-\-query\-width\fR" 8
.IX Item "-W, --query-width"
Query the width of the drawing or, if specified, of the object with
\&\-\-query\-id. The returned value is in px (\s-1SVG\s0 user units).
.IP "\fB\-H\fR, \fB\-\-query\-height\fR" 8
.IX Item "-H, --query-height"
Query the height of the drawing or, if specified, of the object
with \-\-query\-id. The returned value is in px (\s-1SVG\s0 user units).
.IP "\fB\-\-vacuum\-defs\fR" 8
.IX Item "--vacuum-defs"
Remove all unused items from the \f(CW\*(C`<defs>\*(C'\fR section of the \s-1SVG\s0 file.
If this option is invoked in conjunction with \-\-export\-plain\-svg,
only the exported file will be affected.  If it is used alone, the
specified file will be modified in place.
.IP "\fB\-\-select\fR=\fIOBJECT\-ID[,OBJECT\-ID]*\fR" 8
.IX Item "--select=OBJECT-ID[,OBJECT-ID]*"
The \-\-select command will cause objects that have the \s-1ID\s0 specified to be
selected.  You can select many objects width a comma separated list.  This
allows various verbs to act upon them.  To remove all the selections use
\&\f(CW\*(C`\-\-verb=EditDeselect\*(C'\fR.  The object IDs available are dependent on the
document specified to load.
.IP "\fB\-\-actions\fR=\fI\s-1ACTION\s0(:ARG)[;ACTION(:ARG)]*\fR" 8
.IX Item "--actions=ACTION(:ARG)[;ACTION(:ARG)]*"
Actions are a new method to call functions with an optional single parameter.
To get a list of the action IDs available, use the \-\-action\-list command line option.
Eventually all verbs will be replaced by actions.   Temporarily, any verb can be
used as an action (without a parameter).  Note, most verbs require a \s-1GUI\s0 (even
if they don't use it). To close the \s-1GUI\s0 automatically at the end of processing,
use \-\-batch\-process.  In addition all export options have matching actions
(remove the '\-\-' in front of the option and replace '=' with ':').
.Sp
If only actions are used \-\-batch\-process must be used.
.Sp
Export can be forced at any point with the export-do action. This allows one to do
multiple exports on a single file.
.IP "\fB\-\-action\-list\fR" 8
.IX Item "--action-list"
Prints a list of all available actions.
.IP "\fB\-\-actions\-file\fR=\fI\s-1FILENAME\s0\fR" 8
.IX Item "--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.
.IP "\fB\-g\fR, \fB\-\-with\-gui\fR" 8
.IX Item "-g, --with-gui"
Try to use the \s-1GUI\s0 (on Unix, use the X server even if \f(CW$DISPLAY\fR is not
set).
.IP "\fB\-q\fR, \fB\-\-active\-window\fR" 8
.IX Item "-q, --active-window"
Instead of launching a new Inkscape process, this will run the command in the most recently focused Inkscape document.
.IP "\fB\-\-display\fR=\fI\s-1DISPLAY\s0\fR" 8
.IX Item "--display=DISPLAY"
Sets the X display to use for the Inkscape window.
.IP "\fB\-\-app\-id\-tag\fR=\fI\s-1TAG\s0\fR" 8
.IX Item "--app-id-tag=TAG"
Creates a unique instance of Inkscape with the application \s-1ID\s0 'org.inkscape.Inkscape.TAG'. 
This is useful to separate the Inkscape instances when running different Inkscape versions 
or using different preferences files concurrently.
.IP "\fB\-\-batch\-process\fR" 8
.IX Item "--batch-process"
Close \s-1GUI\s0 after executing all actions or verbs.
.IP "\fB\-\-shell\fR" 8
.IX Item "--shell"
With this parameter, Inkscape will enter an interactive command line
shell mode. In this mode, you type in commands at the prompt and
Inkscape executes them, without you having to run a new copy of Inkscape
for each command. This feature is mostly useful for scripting and server
uses: it adds no new capabilities but allows you to improve the speed
and memory requirements of any script that repeatedly calls Inkscape to
perform command line tasks (such as export or conversions).
.Sp
In shell mode Inkscape expects a sequence of actions (or verbs) as input.
They will be processed line by line, that means typically when pressing enter.
It is possible (but not necessary) to put all actions on a single line.
.Sp
This option can be combined with the \-\-active\-window parameter, to execute the 
shell commands in an already opened Inkscape document.
.Sp
The following example opens a file and exports it into two different formats,
then opens another file and exports a single object:
.Sp
.Vb 2
\&    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
.Ve
.SH "CONFIGURATION"
.IX Header "CONFIGURATION"
The main configuration file is located in
~/.config/inkscape/preferences.xml; it stores a variety of customization
settings that you can change in Inkscape (mostly in the Inkscape
Preferences dialog).  Also in the subdirectories there, you can place
your own:
.PP
\&\fB\f(CB$HOME\fB\fR/.config/inkscape/extensions/ \- extensions.
.PP
\&\fB\f(CB$HOME\fB\fR/.config/inkscape/fonts/ \- fonts.
.PP
\&\fB\f(CB$HOME\fB\fR/.config/inkscape/icons/ \- icon sets.
.PP
\&\fB\f(CB$HOME\fB\fR/.config/inkscape/keys/ \- keyboard maps.
.PP
\&\fB\f(CB$HOME\fB\fR/.config/inkscape/paint/ \- patterns and hatches.
.PP
\&\fB\f(CB$HOME\fB\fR/.config/inkscape/palettes/ \- palettes.
.PP
\&\fB\f(CB$HOME\fB\fR/.config/inkscape/symbols/ \- symbol files.
.PP
\&\fB\f(CB$HOME\fB\fR/.config/inkscape/templates/ \- new file templates.
.PP
\&\fB\f(CB$HOME\fB\fR/.config/inkscape/ui/ \- user interface files.
.SH "DIAGNOSTICS"
.IX Header "DIAGNOSTICS"
The program returns zero on success or non-zero on failure.
.PP
A variety of error messages and warnings may be printed to \s-1STDERR\s0 or
\&\s-1STDOUT.\s0  If the program behaves erratically with a particular \s-1SVG\s0 file
or crashes, it is useful to look at this output for clues.
.SH "EXAMPLES"
.IX Header "EXAMPLES"
While obviously \fBInkscape\fR is primarily intended as a \s-1GUI\s0 application,
it can be used for doing \s-1SVG\s0 processing on the command line as well.
.PP
Open an \s-1SVG\s0 file in the \s-1GUI:\s0
.PP
.Vb 1
\&    inkscape filename.svg
.Ve
.PP
Export an \s-1SVG\s0 file into \s-1PNG\s0 with the default resolution of 96 dpi (one
\&\s-1SVG\s0 user unit translates to one bitmap pixel):
.PP
.Vb 1
\&    inkscape \-\-export\-filename=filename.png filename.svg
.Ve
.PP
Same, but force the \s-1PNG\s0 file to be 600x400 pixels:
.PP
.Vb 1
\&    inkscape \-\-export\-filename=filename.png \-w 600 \-h 400 filename.svg
.Ve
.PP
Same, but export the drawing (bounding box of all objects), not the
page:
.PP
.Vb 1
\&    inkscape \-\-export\-filename=filename.png \-\-export\-area\-drawing filename.svg
.Ve
.PP
Export two different files into four distinct file formats each:
.PP
.Vb 1
\&    inkscape \-\-export\-type=png,ps,eps,pdf filename1.svg filename2.svg
.Ve
.PP
Export to \s-1PNG\s0 the object with id=\*(L"text1555\*(R", using the output filename
and the resolution that were used for that object last time when it was
exported from the \s-1GUI:\s0
.PP
.Vb 1
\&    inkscape \-\-export\-id=text1555 \-\-export\-use\-hints filename.svg
.Ve
.PP
Same, but use the default 96 dpi resolution, specify the filename, and
snap the exported area outwards to the nearest whole \s-1SVG\s0 user unit
values (to preserve pixel-alignment of objects and thus minimize
aliasing):
.PP
.Vb 1
\&    inkscape \-\-export\-id=text1555 \-\-export\-filename=text.png \-\-export\-area\-snap filename.svg
.Ve
.PP
Convert an Inkscape \s-1SVG\s0 document to plain \s-1SVG:\s0
.PP
.Vb 1
\&    inkscape \-\-export\-plain\-svg \-\-export\-filename=filename2.svg filename1.svg
.Ve
.PP
Convert an \s-1SVG\s0 document to \s-1EPS,\s0 converting all texts to paths:
.PP
.Vb 1
\&    inkscape \-\-export\-filename=filename.eps \-\-export\-text\-to\-path filename.svg
.Ve
.PP
Query the width of the object with id=\*(L"text1555\*(R":
.PP
.Vb 1
\&    inkscape \-\-query\-width \-\-query\-id=text1555 filename.svg
.Ve
.PP
Duplicate the objects with id=\*(L"path1555\*(R" and id=\*(L"rect835\*(R", rotate the duplicates 90
degrees, save \s-1SVG,\s0 and quit:
.PP
.Vb 1
\&    inkscape \-\-select=path1555,rect835 \-\-actions="duplicate;object\-rotate\-90\-cw" \-\-export\-overwrite filename.svg
.Ve
.PP
Select all objects with ellipse tag, rotate them 30 degrees, save the file, and quit.
.PP
.Vb 1
\&    inkscape \-\-actions="select-by-element:ellipse;transform-rotate:30" \-\-export\-overwrite filename.svg
.Ve
.PP
Export the object with the \s-1ID\s0 MyTriangle with a semi transparent purple background
to the file triangle_purple.png and with a red background to the file triangle_red.png.
.PP
.Vb 1
\&    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
.Ve
.PP
Read an \s-1SVG\s0 from standard input (stdin) and export it to \s-1PDF\s0 format:
.PP
.Vb 1
\&    cat filename.svg | inkscape \-\-pipe \-\-export\-filename=filename.pdf
.Ve
.PP
Export an \s-1SVG\s0 to \s-1PNG\s0 format and write it to standard output (stdout), then convert it 
to \s-1JPG\s0 format with ImageMagick's convert program:
.PP
.Vb 1
\&    inkscape \-\-export\-type=png \-\-export\-filename=\- filename.svg | convert \- filename.jpg
.Ve
.PP
Same as above, but also reading from a pipe (\-\-export\-filename can be omitted in this case)
.PP
.Vb 1
\&    cat filename.svg | inkscape \-\-pipe \-\-export\-type=png | convert \- filename.jpg
.Ve
.SH "ENVIRONMENT VARIABLES"
.IX Header "ENVIRONMENT VARIABLES"
.IP "\fB\s-1INKSCAPE_PROFILE_DIR\s0\fR" 8
.IX Item "INKSCAPE_PROFILE_DIR"
Set a custom location for the user profile directory.
.IP "\fB\s-1INKSCAPE_DATADIR\s0\fR" 8
.IX Item "INKSCAPE_DATADIR"
Set a custom location for the Inkscape data directory (e.g. \fB\f(CB$PREFIX\fB\fR/share
if Inkscape's shared files are in \fB\f(CB$PREFIX\fB\fR/share/inkscape).
.IP "\fB\s-1INKSCAPE_LOCALEDIR\s0\fR" 8
.IX Item "INKSCAPE_LOCALEDIR"
Set a custom location for the translation catalog.
.PP
For more details see also
<http://wiki.inkscape.org/wiki/index.php/Environment_variables>
.SH "OTHER INFO"
.IX Header "OTHER INFO"
The canonical place to find \fBInkscape\fR info is at
<https://www.inkscape.org/>.  The website has news, documentation,
tutorials, examples, mailing list archives, the latest released version
of the program, bugs and feature requests databases, forums, and more.
.SH "SEE ALSO"
.IX Header "SEE ALSO"
potrace, cairo, rsvg, batik, ghostscript, pstoedit.
.PP
\&\s-1SVG\s0 compliance test suite:
<https://www.w3.org/Graphics/SVG/WG/wiki/Test_Suite_Overview>
.PP
\&\s-1SVG\s0 validator:
<https://validator.w3.org/>
.PP
\&\fIScalable Vector Graphics (\s-1SVG\s0) 1.1 Specification\fR
\&\fIW3C Recommendation 16 August 2011\fR
<https://www.w3.org/TR/SVG11/>
.PP
\&\fIScalable Vector Graphics (\s-1SVG\s0) 1.2 Specification\fR
\&\fIW3C Working Draft 13 April 2005\fR
<https://www.w3.org/TR/SVG12/>
.PP
\&\fIScalable Vector Graphics (\s-1SVG\s0) 2 Specification\fR
\&\fIW3C Candidate Recommendation 15 September 2016\fR
<https://www.w3.org/TR/SVG2/>
.PP
\&\fIDocument Object Model (\s-1DOM\s0): Level 2 Core\fR
\&\fIW3C Recommendation 13 November 2000\fR
<https://www.w3.org/TR/DOM\-Level\-2\-Core/>
.SH "GUI NOTES"
.IX Header "GUI NOTES"
To learn Inkscape's \s-1GUI\s0 operation, read the manual in Help > Inkscape
manual, and the tutorials in Help > Tutorials.
.PP
Apart from \s-1SVG,\s0 Inkscape can import (File > Import) most bitmap formats
(\s-1PNG, BMP, JPG, XPM, GIF,\s0 etc.), plain text (requires Perl), \s-1PS\s0 and \s-1EPS\s0
(requires Ghostscript), \s-1PDF\s0 and \s-1AI\s0 format (\s-1AI\s0 version 9.0 or newer).
.PP
Inkscape exports 32\-bit \s-1PNG\s0 images (File > Export \s-1PNG\s0 Image) as well as
\&\s-1AI, PS, EPS, PDF, DXF,\s0 and several other formats via File > Save as.
.PP
Inkscape can use the pressure and tilt of a graphic tablet pen for
width, angle, and force of action of several tools, including the
Calligraphic pen.
.PP
Inkscape includes a \s-1GUI\s0 front-end to the Potrace bitmap tracing engine
(<http://potrace.sf.net>) which is embedded into Inkscape.
.PP
Inkscape can use external scripts (stdin-to-stdout filters) that are
represented by commands in the Extensions menu. A script can have a \s-1GUI\s0
dialog for setting various parameters and can get the IDs of the
selected objects on which to act via the command line. Inkscape comes
with an assortment of effects written in Python.
.SH "KEYBINDINGS"
.IX Header "KEYBINDINGS"
To get a complete list of keyboard and mouse shortcuts, view
doc/keys.html, or use the Keys and Mouse command in Help menu.
.SH "BUGS"
.IX Header "BUGS"
Many bugs are known; please refer to the website
(<https://www.inkscape.org/>) for reviewing the reported ones and to
report newly found issues.  See also the Known Issues section in the
Release Notes for your version (file `\s-1NEWS\s0').
.SH "HISTORY"
.IX Header "HISTORY"
The codebase that would become Inkscape began life in 1999 as the
program Gill, the \s-1GNOME\s0 Illustrator application, created by Raph Levien.
The stated objective for Gill was to eventually support all of \s-1SVG.\s0
Raph implemented the PostScript bezier imaging model, including stroking
and filling, line cap style, line join style, text, etc.  Raph's Gill
page is at <http://www.levien.com/svg/>.  Work on Gill appears to have
slowed or ceased in 2000.
.PP
The next incarnation of the codebase was to become the highly popular
program Sodipodi, led by Lauris Kaplinski.  The codebase was turned into
a powerful illustration program over the course of several year's work,
adding several new features, multi-lingual support, porting to Windows
and other operating systems, and eliminating dependencies.
.PP
Inkscape was formed in 2003 by four active Sodipodi developers, Bryce
Harrington, MenTaLguY, Nathan Hurst, and Ted Gould, wanting to take a
different direction with the codebase in terms of focus on \s-1SVG\s0
compliance, interface look-and-feel, and a desire to open development
opportunities to more participants.  The project progressed rapidly,
gaining a number of very active contributors and features.
.PP
Much work in the early days of the project focused on code stabilization
and internationalization.  The original renderer inherited from Sodipodi
was laced with a number of mathematical corner cases which led to
unexpected crashes when the program was pushed beyond routine uses; this
renderer was replaced with Livarot which, while not perfect either, was
significantly less error prone.  The project also adopted a practice of
committing code frequently, and encouraging users to run developmental
snapshots of the program; this helped identify new bugs swiftly, and
ensure it was easy for users to verify the fixes.  As a result, Inkscape
releases have generally earned a reputation for being robust and
reliable.
.PP
Similarly, efforts were taken to internationalize and localize the
interface, which has helped the program gain contributors worldwide.
.PP
Inkscape has had a beneficial impact on the visual attractiveness of
Open Source in general, by providing a tool for creating and sharing
icons, splash screens, website art, and so on.  In a way, despite being
\&\*(L"just an drawing program\*(R", Inkscape has played an important role in
making Open Source more visually stimulating to larger audiences.
.SH "AUTHORS"
.IX Header "AUTHORS"
This codebase owes its existence to a large number of contributors
throughout its various incarnations.  The following list is certainly
incomplete, but serves to recognize the many shoulders on which this
application sits:
.PP
Maximilian Albert,
Joshua A. Andler,
Tavmjong Bah,
Pierre Barbry-Blot,
Jean-François Barraud,
Campbell Barton,
Bill Baxter,
John Beard,
John Bintz,
Arpad Biro,
Nicholas Bishop,
Joshua L. Blocher,
Hanno Böck,
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,
Aurélie De-Cooman,
Kris De Gussem,
Milosz Derezynski,
Daniel Díaz,
Bruno Dilly,
Larry Doolittle,
Nicolas Dufour,
Tim Dwyer,
Maxim V. Dziumanenko,
Moritz Eberl,
Johan Engelen,
Miklos Erdelyi,
Ulf Erikson,
Noé 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,
Aurélio Adnauer Heckert,
René 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 Kosiński,
Petr Kovar,
Michael Kowalski,
Benoît Lavorata,
Alex Leone,
Julien Leray,
Raph Levien,
Diederik van Lierop,
Nicklas Lindgren,
Vitaly Lipatov,
Ivan Louette,
Fernando Lucchesi Bastos Jurema,
Pierre-Antoine Marc,
Aurel-Aimé Marmion,
Colin Marquardt,
Craig Marshall,
Ivan Masár,
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,
Jörg Müller,
Yukihiro Nakai,
Victor Navez,
Jonathan Neuhauser,
Christian Neumair,
Nick,
Andreas Nilsson,
Mitsuru Oka,
Vinícius dos Santos Oliveira,
Martin Owens,
\&\s-1PBS,\s0
Alvin Penner,
Matthew Petroff,
Jon Phillips,
Zdenko Podobny,
Alexandre Prokoudine,
Jean-René Reinhard,
Alexey Remizov,
Frederic Rodrigo,
Hugo Rodrigues,
Jean Franco Amoni Rodríguez,
Juarez Rudsatz,
Xavier Conde Rueda,
Felipe Corrêa da Silva Sanches,
Christian Schaller,
Marco Scholten,
Tom von Schwerdtner,
Markus Schwienbacher,
Danilo Šegan,
Abhishek Sharma,
Tim Sheridan,
Shivaken,
Rafał Siejakowski,
Michael Sloan,
John Smith,
Sandra Snan,
Boštjan Špetič,
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 Urošević,
Alex Valavanis,
Joakim Verona,
Lucas Vieites,
Daniel Wagenaar,
Liam P. White,
Sebastian Wüst,
Michael Wybrow,
Gellule Xg,
Daniel Yacob,
Masatake Yamato,
David Yip
.SH "COPYRIGHT AND LICENSE"
.IX Header "COPYRIGHT AND LICENSE"
\&\fBCopyright (C)\fR 1999\-2023 by Authors.
.PP
\&\fBInkscape\fR is free software; you can redistribute it and/or modify it
under the terms of the \s-1GPL\s0 version 2 or later.
