# krita-to-svg This is a simple tool to convert a [Krita](https://krita.org/) [`.kra` file](https://docs.krita.org/general_concepts/file_formats/file_kra.html) into a [`.svg` file](https://en.wikipedia.org/wiki/Scalable_Vector_Graphics). ## How to install? In your terminal, run this command: ```shell cargo install krita-to-svg ``` ## How to use it? 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 ```