1 .\" Id: grap2graph.man,v 1.3 2003/10/28 07:46:23 wlemb Exp
2 .\" This documentation is released to the public domain.
5 .TH GRAP2GRAPH @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
8 grap2graph \- convert a grap diagram into a cropped bitmap image
17 .BI \-resolution\ M\fR|\fPMxN
25 Reads a grap program as input; produces an image file (by default in
26 Portable Network Graphics format) suitable for the Web as output.
27 For a description of the grap language, see
30 Your graph specification should \fInot\fR be wrapped with the \&.G1 and
31 \&.G2 macros that normally guard it within
35 The output image will be a black-on-white graphic clipped to the
36 smallest possible bounding box that contains all the black pixels.
37 By specifying command-line options to be passed to
39 you can give it a border, set the background transparent, set the
40 image's pixel density, or perform other useful transformations.
44 .BR @g@pic (@MAN1EXT@),
45 .BR groff (@MAN1EXT@),
49 These programs must be installed on your system and accessible on your
50 $PATH for \fBgrap2graph\fR to work.
57 .BR @g@pic (@MAN1EXT@)
60 in the `unsafe' mode enabling the PIC macro
62 to execute arbitrary commands.
63 The default is to forbid this.
66 Specify an output format; the default is PNG (Portable Network Graphics).
69 can emit is supported.
71 Command-line switches and arguments not listed above are passed to
78 The directory in which temporary files will be created.
81 searches the environment variables
87 Otherwise, temporary files will be created in
92 .BR pic2graph (@MAN1EXT@),
93 .BR eqn2graph (@MAN1EXT@),
94 .BR @g@pic (@MAN1EXT@),
95 .BR groff (@MAN1EXT@),
101 Eric S. Raymond <esr@thyrsus.com>