SVGTOIPE(1)
β¨ NAME β¨
svgtoipe β bestie, this is the lil glow-up machine that converts a SVG file to Ipe 7 format π
π¦ SYNOPSIS π¦
svgtoipe [-h] [-c] figure.svg [figure.ipe]
πΈ DESCRIPTION πΈ
Okay so real talk: svgtoipe takes a SVG file and turns it into an XML file that Ipe version 7 actually understands. It's giving translator, it's giving bilingual icon, it's giving your vector art speaks Ipe now β¨
Now the part where you don't name your output file (we've all been there, no shame π«Ά): if you don't specify the output filename, it gets derived for you β either by
- replacing
.ipeat the end of the input filename with.svg, or - appending
.ipeif the input filename does not end with with.svg
And here's a cute lil trick π β if either the input or the output filename is --, then stdin, resp. stdout, is used to read or write data. Pipes? We love pipes. Pipes are the moment.
So the options, bestie:
-hβ display a short help text. Short. Help. Iconic behaviour honestly.-cβ operate in clipboard mode. Data is output as ipe clipboard content. This allows pasting svg data from inkscape to ipe, and the whole ritual goes like this:- Copy elements Inkscape to clipboard
- run:
xsel | ./svgtoipe.py -c -- | xsel -i - paste clipboard content into ipe
Not me casually pasting Inkscape art straight into Ipe like it's nothing π
π Supported SVG Features π
The following SVG elements are converted: path, image, rect, circle, ellipse, line, polygon, and polyline
The following SVG elements are converted: group, clipPath, linearGradient, and andradialGradient
Now the caveats, because there are always caveats π
- Image conversion is only supported if
python-imagingis available. - Text is only converted, if it has coordinates specified as attribute of the svg text element.
π AUTHOR π
Otfried Cheong Christian Kapeller
π₯ SEE ALSO π₯
And that's the whole page, bestie β this one's from the Ipe manual, dated April 2015, and honestly it ate. Slay, stay converted, mwah ππ§ββοΈ
π¦ where this page comes from
- debian bookworm: svgtoipe 1:7.2.24.1-3.1 Β· GPL-2.0-or-later
- debian trixie: svgtoipe 1:7.2.29.1-1 Β· GPL-2.0-or-later
- ubuntu jammy: svgtoipe 1:7.2.20-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu noble: svgtoipe 1:7.2.24.1-3.1build3 Β· GPL-2.0-or-later
- ubuntu questing: svgtoipe 1:7.2.29.1-2
- ubuntu resolute: svgtoipe 1:7.2.29.2-0ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: svgtoipe 1:7.2.29.2-0ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms