Sif2svg
From Synfig Studio :: Documentation
m (Text replace - "{{Category|NewTerminology}}" to "{{NewTerminology}}") |
Link Mauve (Talk | contribs) (Add a note that this project is abandoned, and use the correct link for the sources.) |
||
Line 6: | Line 6: | ||
== What is it? == | == What is it? == | ||
This uses an XSLT 2.0 stylesheet to transform Synfig XML to SVG XML. | This uses an XSLT 2.0 stylesheet to transform Synfig XML to SVG XML. | ||
+ | |||
+ | Note: this project is abandoned, but feel free to get in contact if you want to restart it. :) | ||
=== Objective === | === Objective === | ||
Line 12: | Line 14: | ||
=== Prerequisites === | === Prerequisites === | ||
# Be sure that you have an XSLT processor (xsltproc, Firefox, etc.) | # Be sure that you have an XSLT processor (xsltproc, Firefox, etc.) | ||
− | # Download sif2svg.xsl from [ | + | # Download sif2svg.xsl from [https://linkmauve.fr/dev/synfig/sif2svg/ here] |
=== Transforming a Synfig file into a SVG === | === Transforming a Synfig file into a SVG === |
Revision as of 05:43, 22 January 2016
Contents
What is it?
This uses an XSLT 2.0 stylesheet to transform Synfig XML to SVG XML.
Note: this project is abandoned, but feel free to get in contact if you want to restart it. :)
Objective
Turn an Synfig animation into a SVG file for export.
Prerequisites
- Be sure that you have an XSLT processor (xsltproc, Firefox, etc.)
- Download sif2svg.xsl from here
Transforming a Synfig file into a SVG
Enter the following command (replace your_output.svg by the path of the SVG file):
xsltproc sif2svg.xsl your_input.sif > your_output.svg
Result
If the conversion has been successful, the result will be written to the file your_input.svg, in the current folder. You can open this file in Inkscape, or Firefox, or Whatever.
Limitations
- Compressed Synfig files (sifz) must be gunzipped first.
- All sif elements aren’t supported, so it may have a lot of glitchs.