Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cfdg(1) [debian man page]

CONTEXTFREE(1)							   Context Free 						    CONTEXTFREE(1)

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). -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 %. -L Previous versions of cfdg created different designs for the same variation code depending on whether a big- or little-endian machine was used; now the little-endian variation is created on all machines. Use this option to get the old behaviour on a big-endian machine. -a number of frames Generate num animation frames (only possible using PNG output). -z Zoom out during animation, when producing an animation using -a. -V Generate SVG (vector) output. -c Crop image output. -q Quiet mode; suppress non-error output. -? Show summary of options. SEE ALSO
More information can be found on the Context Free website, at http://contextfreeart.org/. AUTHOR
Context Free was written by Chris Coyne, John Horigan and Mark Lentczner. This manual page was written by Bram Senders <bram@luon.net>, for the Debian project (but may be used by others). 2.2 2009-02-08 CONTEXTFREE(1)

Check Out this Related Man Page

rsvg(1) 							   User Commands							   rsvg(1)

NAME
rsvg - convert SVG files into raster images SYNOPSIS
rsvg [--dpi-x=number] [--dpi-y=number] [--format png|jpeg] [--height=integer] [--quality=integer] [--version] [--width integer] [--x-zoom number] [--y-zoom number] infile.svg outfile.png | outfile.jpeg DESCRIPTION
rsvg converts SVG images into PNG and JPEG raster images. OPTIONS
The following options are supported: -d --dpi-x=number Set the X resolution of the image in pixels per inch. The default value is 90dpi. -p --dpi-y=number Set the Y resolution of the image in pixels per inch. The default value is 90dpi. -f, --format png|jpeg Specify the output format for the converted image. The default value is png. -h, --height=integer Specify the height of the converted image. The default value is the height of the original image. -h, --quality=integer JPEG quality value -v --version Display rsvg version information. -w, --width integer Specify the width of the converted image. The default value is the width of the original image. -x, --x-zoom number X Zoom factor, as a percentage. The default value is 1.0. -y, --y-zoom number Y Zoom factor, as a percentage. The default value is 1.0. OPERANDS
The following operands are supported: infile.svg The name of the input SVG file. outfile.png The name of the converted PNG file. outfile.jpeg The name of the converted JPEG file. EXAMPLES
Example 1: Converting an SVG Image to PNG example% rsvg myfile.svg myfile.png Example 2: Converting an SVG Image to JPEG at 300dpi Resolution example% rsvg -f jpeg -d 300 myfile.svg myfile.jpg EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/rsvg Executable to convert SVG files into raster images ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWlibrsvg | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
http://librsvg.sourceforge.net/ http://www.w3.org/TR/SVG11/ librsvg-2(3), attributes(5) NOTES
Original man page written by Dom Lachowicz (cinamod@hotmail.com), Alex Larsson (alex@redhat.com), and others. Updated by Laszlo Peter, Sun Microsystems Inc., 2004. SunOS 5.11 7 Sep 2004 rsvg(1)
Man Page