Name

knotter — Celtic knot editor

Synopsis

knotter [Qt generic options] [--no-gui] [ OPTION... INFILE...]

knotter [ --help | --version | --list-formats ]

DESCRIPTION

Knotter is an editor for interlace patterns. Knots drawn with Knotter can be exported as SVG or raster images.

OPTIONS

Information

--help, -h

Show help message and exit

--version, -v

Show version info and exit

--list-formats

Display a list of available export formats and exit

Load and export

--output=file, -o file

Export last loaded knot to file

--antialias, --no-antialias

Toggle antialias for raster export (default enabled)

--mode-normal, --mode-minimal, --mode-loops

If the mode is set to normal (the default) the full shape is exported.

minimal mode exports line-only, with the same style as the knot. In raster exports this results in having no outline, in vector exports this results in a path that is only stroked.

In loops mode, the export result is similar to minimal but a random color is applied to every loop within the knot.

--background=color, -b color

Set the background color for raster export.

color can be a color name (eg: red), in hex notation (eg: #ff0000) or function-like notation (eg: rgb(255,0,0) rgba(255,0,0,0) ).

--format=format, -fformat

Set export format. See --list-formats for full list of accepted values

format is not case sensitive.

If format is auto the correct format will be deduced from the file name.

Other

--no-gui

Don't start the gui after parsing the command line

EXAMPLES

knotter --no-gui file.knot -b "rgba(0,255,0,150)" -fpng -o file.png

Export file.knot to file.png with a slightly transparent blue background and exit.

knotter file.knot

Open the GUI with file.knot.

SEE ALSO

Knotter website http://www.knotdraw.org/

qtoptions(7), X(7)