EnglishFrenchSpanish

Ad


OnWorks favicon

cfdg - Online in the Cloud

Run cfdg in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command cfdg that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


cfdg - image generator based on context-free grammars

SYNOPSIS


cfdg [options] input.cfdg [output.png/svg]

DESCRIPTION


Context Free is a system that produces images based on context-free grammars. cfdg is the
command-line program to generate the actual images (in PNG or SVG format) from the
input.cfdg file containing these grammars. If - is specified instead of an input file,
the grammar is read from standard input. The output filename can be left out if the -o
option is used. Note that the output mode (PNG or SVG) is not detected depending on the
specified extension, but must be explicitly set using the -V option.

OPTIONS


All command-line options consist of a single letter, and an optional argument. A summary
of options supported by cfdg is included below.

-w width
Set width of the output image in pixels (for PNG) or millimeters (for SVG)
(default: 500).

-h height
Set height of the output image in pixels (for PNG) or millimeters (for SVG)
(default: 500).

-s size
Set both width and height of the output image in pixels (for PNG) or millimeters
(for SVG) to the same value.

-s widthxheight
Set both width and height of the output image in pixels (for PNG) or millimeters
(for SVG).

-T size
Multiply both width and height of the tiled output image by the same amount.

-T widthxheight
Multiply both width and height of the tiled output image by the given amounts.

-m maximum shapes amount
Set the maximum number of shapes rendered (default: no maximum).

-x minimum shape size
Set the minimum size for a shape to be rendered in pixels/mm (default: 0.3).

-b border size
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.

-v variation code
Set the variation code (default: random). This code determines what the final
image will look like when the input contains non-deterministic rules.

-o filename
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 %.

-a num Generate num animation frames at 15 fps (only possible using PNG output).

-a timexfps
Generate time x fps animation frames at the specified fps (only possible using PNG
output).

-z Zoom out during animation, when producing an animation using -a.

-V Generate SVG (vector) output.

-Q Generate Quicktime movie output (not available in this Debian package).

-c Crop image output.

-q Quiet mode; suppress non-error output.

-C Check the syntax of the cfdg file, then exit.

-t Time output; output the time taken to render the cfdg file.

-? Show summary of options.

Use cfdg online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 2
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 3
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • More »

Linux commands

Ad