Sif2svg

From Synfig Studio :: Documentation
Jump to: navigation, search
m (+= here)
m (Terminology Updated)
Line 1: Line 1:
 +
<!-- Page info -->
 +
{{Title|Sif2svg}}
 +
{{Category|NewTerminology}}
 +
<!-- Page info end -->
 +
 
== 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.

Revision as of 09:11, 13 February 2013

Languages Language: 

English


What is it?

This uses an XSLT 2.0 stylesheet to transform Synfig XML to SVG XML.

Objective

Turn an Synfig animation into a SVG file for export.

Prerequisites

  1. Be sure that you have an XSLT processor (xsltproc, Firefox, etc.)
  2. 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.


Languages Language: 

English