This is a simple tool to convert a Krita .kra
file into
a .svg
file.
In your terminal, run this command:
shell
cargo install krita-to-svg
This program takes a Krita file as its first argument, and takes an output SVG as its second optional argument.
If the second argument isn’t set, it will output to stdout
instead.
shell
krita-to-svg input.kra output.svg
is equivalent to
shell
krita-to-svg input.kra > output.svg
You can also use it as an Inkscape extension, for that copy the file
krita.inx
into your extensions folder, for instance on Linux:
shell
cp krita.inx "${XDG_CONFIG_HOME:-$HOME/.config}"/inkscape/extensions