All command-line options consist of a single letter, and an optional argument. Longer "GNU-style" options
exist as well. A summary of options supported by cfdg is included below.
-wWIDTH,--width=WIDTH
Set width of the output image in pixels (for PNG) or millimeters (for SVG) (default: 500).
-hHEIGHT,--height=HEIGHT
Set height of the output image in pixels (for PNG) or millimeters (for SVG) (default: 500).
-sSIZE,--size=SIZE
Set both width and height of the output image in pixels (for PNG) or millimeters (for SVG) to the
same value.
-sWIDTHxHEIGHT,--size=WIDTHxHEIGHT
Set both width and height of the output image in pixels (for PNG) or millimeters (for SVG).
-TSIZE,--tile=SIZE
Multiply both width and height of the tiled output image by the same amount.
-TWIDTHxHEIGHT,--tile=WIDTHxHEIGHT
Multiply both width and height of the tiled output image by the given amounts.
-mMAXSHAPES,--maxshapes=MAXSHAPES
Set the maximum number of shapes rendered (default: no maximum).
-xMINIMUMSIZE,--minimumsize=MINIMUMSIZE
Set the minimum size for a shape to be rendered in pixels/mm (default: 0.3).
-bBORDERSIZE,--bordersize=BORDERSIZE
Set the border size: -1 for a -8 pixel border, 0 for no border, 1 for an 8 pixel border, or 2 for
a variable-sized border.
-vVARIATION,--variation=VARIATION
Set the variation code (default: random). This code determines what the final image will look
like when the input contains non-deterministic rules.
-DNAME=VALUE
Declare a variable, configuration, or function. Any declaration that can be made at global scope
can be entered at the command line with this option. Command line declarations override any
global-scope declarations in the cfdg file with the same name. Note that function declarations
require a space-delimited type identifier in front, so quotes would be required to force the shell
to group the function declaration parts as one entity.
-oNAMETEMPLATE,--outputtemplate=NAMETEMPLATE
Set the output filename. In this filename, %f is replaced by the animation frame number (if any),
%v and %V are replaced by the variation code (in lower or upper case, respectively), and %% is
replaced by a literal %.
-aNUM,--animate=NUM
Generate NUM animation frames at 15 fps.
-aTIMExFPS,--animate=TIMExFPS
Generate TIME x FPS animation frames at the specified fps.
-fFRAME,--frame=FRAME
Generate animation FRAME only.
-z,--zoom
Zoom out during animation, when producing an animation using -a.
-V,--svg
Generate SVG (vector) output.
-Q,--quicktime
Generate Quicktime movie output.
--prores
Generate Quicktime movie output using the ProRes codec instead of the H.264 codec.
--display=DISPLAYEXECUTABLE
Display output with specified program.
-c,--crop
Crop image output.
-q,--quiet
Quiet mode; suppress non-error output.
-C,--check
Check the syntax of the cfdg file, then exit.
-t,--time
Time output; output the time taken to render the cfdg file.
-d,--cleanup
Delete old temporary files.
-P,--paramdebug
Enable debug mode to test if all parameter blocks are deallocated.
-?,--help
Show summary of options.