Doc:Synfig CLI Syntax
From Synfig Studio :: Documentation
Revision as of 23:08, 3 November 2007 by Pxegeek (Talk | contribs) (Added secret environment variable settings)
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
.)
Environment Variables
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:-
export SYNFIG_ENABLE_POLYGON=1
export SYNFIG_ENABLE_DRAW=1
export SYNFIG_ENABLE_SKETCH=1
export SYNFIG_ENABLE_WIDTH=1
These two allow you to tweak the height of the timetrack so that it aligns with the parameters dialog
export SYNFIG_TIMETRACK_ROW_HEIGHT=21
export SYNFIG_TIMETRACK_HEADER_HEIGHT=25
For the more recent SVN versions
export SYNFIG_DISABLE_POPUP_WINDOWS=1
to make splash screen etc. less obtrusive ...