1 .TH GRAP2GRAPH @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
3 grap2graph \- convert a grap diagram into a cropped bitmap image
6 .\" --------------------------------------------------------------------
8 .\" --------------------------------------------------------------------
15 .BI \-resolution\ M\fR\^|\^\fPMxN
22 .\" --------------------------------------------------------------------
24 .\" --------------------------------------------------------------------
26 Reads a grap program as input; produces an image file (by default in
27 Portable Network Graphics format) suitable for the Web as output.
29 For a description of the grap language, see
34 Your graph specification should \fInot\fR be wrapped with the \&.G1 and
35 \&.G2 macros that normally guard it within
41 The output image will be a black-on-white graphic clipped to the
42 smallest possible bounding box that contains all the black pixels.
44 By specifying command-line options to be passed to
46 you can give it a border, set the background transparent, set the
47 image's pixel density, or perform other useful transformations.
53 .BR @g@pic (@MAN1EXT@),
54 .BR groff (@MAN1EXT@),
59 These programs must be installed on your system and accessible on your
60 $PATH for \fBgrap2graph\fR to work.
63 .\" --------------------------------------------------------------------
65 .\" --------------------------------------------------------------------
70 .BR @g@pic (@MAN1EXT@)
73 in the `unsafe' mode enabling the PIC macro
75 to execute arbitrary commands.
77 The default is to forbid this.
81 Specify an output format; the default is PNG (Portable Network Graphics).
85 can emit is supported.
89 Command-line switches and arguments not listed above are passed to
93 .\" --------------------------------------------------------------------
95 .\" --------------------------------------------------------------------
99 The directory in which temporary files will be created.
103 searches the environment variables
110 Otherwise, temporary files will be created in
114 .\" --------------------------------------------------------------------
117 .\" --------------------------------------------------------------------
119 .BR pic2graph (@MAN1EXT@),
120 .BR eqn2graph (@MAN1EXT@),
121 .BR @g@pic (@MAN1EXT@),
122 .BR groff (@MAN1EXT@),
127 .\" --------------------------------------------------------------------
129 .\" --------------------------------------------------------------------
131 This documentation is released to the public domain.
133 .\" --------------------------------------------------------------------
135 .\" --------------------------------------------------------------------
137 This document was written by