Difference between revisions of "Doc:Synfig CLI Syntax"

From Synfig Studio :: Documentation
Jump to: navigation, search
m (SYNFIG_ENABLE_POPUP_MENU_IN_ALL_TOOLS=1)
m (Environment Variables)
Line 31: Line 31:
 
</pre>
 
</pre>
 
<small>(copied from the output of <code>synfig --help</code> .)</small>
 
<small>(copied from the output of <code>synfig --help</code> .)</small>
== Environment Variables ==
+
''The [[Environment Variables]] text that used to be here has been moved.''
In addition to these command line options that Synfig understands, several environment variables can be set to affect the behaviour of Synfig Studio:-
+
 
+
The following affect the display of tools in the main dialog window:-<br>
+
<code>export SYNFIG_ENABLE_POLYGON=1<br>
+
export SYNFIG_ENABLE_DRAW=1<br>
+
export SYNFIG_ENABLE_SKETCH=1<br>
+
export SYNFIG_ENABLE_WIDTH=1</code>
+
 
+
These two allow you to tweak the height of the timetrack so that it aligns with the parameters dialog <br>
+
<code>export SYNFIG_TIMETRACK_ROW_HEIGHT=21<br>
+
export SYNFIG_TIMETRACK_HEADER_HEIGHT=25</code>
+
 
+
For the more recent SVN versions<br>
+
<code>export SYNFIG_DISABLE_POPUP_WINDOWS=1</code><br> to make splash screen etc. less obtrusive ...
+
 
+
Beginning with SVN version r1127 <br>
+
Addressing bug 1829182: the popup caret menu has been disabled for several
+
tools. There's no comment in the code saying why. Dooglus has added an environment variable which re-enables the popup menu when set. Export
+
SYNFIG_ENABLE_POPUP_MENU_IN_ALL_TOOLS=1 to try it, and report your findings back
+
to the bug report as to whether this should be the default or not.<br>
+

Revision as of 14:02, 29 January 2008

Languages Language: 

English • română


syntax: synfig [DEFAULT OPTIONS] ([SIF FILE] [SPECIFIC OPTIONS])...

 -t <output type>       Specify output target (Default:unknown)
 -w <pixel width>       Set the image width (Use zero for file default)
 -h <pixel height>      Set the image height (Use zero for file default)
 -s <image dist>        Set the diagonal size of image window (Span)
 -a <1...30>            Set antialias amount for parametric renderer.
 -Q <0...10>            Specify image quality for accelerated renderer (default=2)
 -g <amount>            Gamma (default=2.2)
 -v                     Verbose Output (add more for more verbosity)
 -q                     Quiet mode (No progress/time-remaining display)
 -c <canvas id>         Render the canvas with the given id instead of the root.
 -o <output file>       Specify output filename
 -T <# of threads>      Enable multithreaded renderer using specified # of threads
 -b                     Print Benchmarks
 --fps <framerate>      Set the frame rate
 --time <time>          Render a single frame at <seconds>
 --begin-time <time>    Set the starting time
 --end-time <time>      Set the ending time
 --dpi <res>            Set the dots-per-inch
 --append <filename>    Append layers in <filename> to composition
 --layer-info <layer>   Print out layer's description, parameter info, etc.
 --layers               Print out the list of available layers
 --targets              Print out the list of available targets
 --importers            Print out the list of available importers
 --valuenodes           Print out the list of available ValueNodes
 --modules              Print out the list of loaded modules
 --version              Print out version information
 --info                 Print out misc build information
 --license              Print out license information

(copied from the output of synfig --help .) The Environment Variables text that used to be here has been moved.


Languages Language: 

English • română