Manual Pages for UNIX Darwin command on man grap2graph
MyWebUniversity

Manual Pages for UNIX Darwin command on man grap2graph

GRAP2GRAPH(1) GRAP2GRAPH(1)

NAME

grap2graph - convert a grap diagram into a cropped bitmap image

SYNOPSIS

ggrraapp22ggrraapphh [ -uunnssaaffee ] [ -rreessoolluuttiioonn M|MxN ] [ -ffoorrmmaatt fmt ]

DESCRIPTION

Reads a grap program as input; produces an image file (by default in Portable Network Graphics format) suitable for the Web as output. For a description of the grap language, see ggrraapp(1). Your graph specification should not be wrapped with the .G1 and .G2 macros that normally guard it within ggrrooffff(1) macros.

The output image will be a black-on-white graphic clipped to the small-

est possible bounding box that contains all the black pixels. By spec-

ifying command-line options to be passed to ccoonnvveerrtt(1) you can give it

a border, set the background transparent, set the image's pixel den-

sity, or perform other useful transformations.

This program uses ggrraapp(1), ppiicc(1), ggrrooffff(1), and the ImageMagick ccoonn-

vveerrtt(1) program. These programs must be installed on your system and

accessible on your $PATH for ggrraapp22ggrraapphh to work.

OOPPTTIIOONNSS

-uunnssaaffee

Run ppiicc(1) and ggrrooffff(1) in the `unsafe' mode enabling the PIC

macro sshh to execute arbitrary commands. The default is to for-

bid this.

-ffoorrmmaatt fmt

Specify an output format; the default is PNG (Portable Network Graphics). Any format that ccoonnvveerrtt(1) can emit is supported.

Command-line switches and arguments not listed above are passed to ccoonn-

vveerrtt(1). ENVIRONMENT GGRROOFFFFTTMMPPDDIIRR The directory in which temporary files will be created. If this is not set ggrraapp22ggrraapphh searches the environment variables TTMMPPDDIIRR, TTMMPP, and TTEEMMPP (in that order). Otherwise, temporary files will be created in //ttmmpp.

SEE ALSO

ppiicc22ggrraapphh(1), eeqqnn22ggrraapphh(1), ppiicc(1), ggrrooffff(1), ggss(1), ccoonnvveerrtt(1). AUTHOR Eric S. Raymond Groff Version 1.19.1 27 October 2003 GRAP2GRAPH(1)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™