NAME
grap2graph - convert a grap diagram into a cropped bitmap image
SYNOPSIS
grap2graph [ -unsafe ] [ -resolution M|MxN ] [ -format 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 grap(1). Your graph specification should not be wrapped with the .G1 and .G2 macros that normally guard it within groff(1) macros. The output image will be a black-on-white graphic clipped to the smallest possible bounding box that contains all the black pixels. By specifying command-line options to be passed to convert(1) you can give it a border, set the background transparent, set the image's pixel density, or perform other useful transformations. This program uses grap(1), pic(1), groff(1), and the ImageMagick convert(1) program. These programs must be installed on your system and accessible on your $PATH for grap2graph to work.
OPTIONS
-unsafe Run pic(1) and groff(1) in the `unsafe' mode enabling the PIC macro sh to execute arbitrary commands. The default is to forbid this. -format fmt Specify an output format; the default is PNG (Portable Network Graphics). Any format that convert(1) can emit is supported. Command-line switches and arguments not listed above are passed to convert(1).
ENVIRONMENT
GROFF_TMPDIR The directory in which temporary files will be created. If this is not set grap2graph searches the environment variables TMPDIR, TMP, and TEMP (in that order). Otherwise, temporary files will be created in /tmp.
SEE ALSO
pic2graph(1), eqn2graph(1), pic(1), groff(1), gs(1), convert(1).
COPYING
This documentation is released to the public domain.
AUTHORS
This document was written by Eric S. Raymond esr@thyrsus.com.
More Linux Commands
manpages/acl_extended_fd.3.html
acl_extended_fd(3) - test for information in the ACL by file
The acl_extended_fd() function returns 1 if the file identified by the argument fd is associated with an extended access ACL. The function returns 0 if the file
manpages/fminf.3.html
fminf(3) - determine minimum of two floating-point numbers
These functions return the lesser value of x and y. RETURN VALUE These functions return the minimum of x and y. If one argument is a NaN, the other argument is
manpages/putwchar_unlocked.3.html
putwchar_unlocked(3) - nonlocking stdio functions (ManPage)
Each of these functions has the same behavior as its counterpart without the _unlocked suffix, except that they do not use locking (they do not set locks themse
manpages/menu_post.3menu.html
menu_post(3menu) - write or erase menus from associated subw
The function post_menu displays a menu to its associated subwindow. To trigger physical display of the subwindow, use refresh or some equivalent curses routine
manpages/XSetWindowBorderPixmap.3.html
XSetWindowBorderPixmap(3) - change window attributes........
Depending on the valuemask, the XChangeWindowAttributes function uses the window attributes in the XSetWindowAttributes structure to change the specified window
manpages/wodim.1.html
wodim(1) - write data to optical disk media - Linux man page
wodim is used to record data or audio Compact Discs on an Orange Book CD-Recorder or to write DVD media on a DVD-Recorder. The device is the device file or labe
manpages/libtmpfile.3.html
libtmpfile(3) - create a temporary unnamed file (Man Page)
This library function is part of Netpbm(1) pm_tmpfile() creates and opens an unnamed temporary file. It is basically the same thing as the standard C library tm
manpages/gnutls_pkcs12_bag_get_count.3.html
gnutls_pkcs12_bag_get_count(3) - API function (Man Page)....
This function will return the number of the elements withing the bag. RETURNS Number of elements in bag, or an negative error code on error. REPORTING BUGS Repo
manpages/DPMSInfo.3.html
DPMSInfo(3) - returns information about the current DPMS sta
The DPMSInfo function returns information about the current Display Power Management Signaling (DPMS) state. The state return parameter indicates whether or not
manpages/Net::LDAP::RFC.3pm.html
Net::LDAP::RFC(3pm) - List of related RFC's - Linux man page
The LDAP protocol is defined in the following RFC s Core LDAP Specification RFC-4510 Lightweight Directory Access Protocol ( LDAP ): Technical Specification Roa
manpages/tpool.n.html
tpool(n) Part of the Tcl threading extension implementing po
This package creates and manages pools of worker threads. It allows you to post jobs to worker threads and wait for their completion. The threadpool implementat
manpages/rt_sigsuspend.html
rt_sigsuspend.html
rt_sigsuspend.html
