This Python script exports all vector layers from a given Krita document (*.kra
file) into a single SVG file.
This script requires the path of the Krita file as the first parameter:
cks.py example.kra
It will finally create a SVG file in the same directory, including all vector layers of the Krita file.
Some gradients with transparent parts might not rendered properly. Maybe it will become improved with the development of Krita.
- Souce code documentation: reStructuredText
- XML parsing: xml.etree.ElementTree implementation of the ElementTree API
This script is free software under the terms of the GNU General Public License v3 as published by the Free Software Foundation. It is distributed WITHOUT ANY WARRANTY (without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE). For more details please see the LICENSE file or: http://www.gnu.org/licenses
- 2020 by Vivien Richter vivien-richter@outlook.de
- Git repository: https://github.com/vivi90/cks.git