up | Inhaltsverzeichniss | Kommentar

Manual page for COL2RGB(1.0)

col2rgb - convert Xcms colors to RGB:0/0/0 or RGB.TXT format

SYNOPSIS

col2rgb [-help] [-version] [-debug] [-xcmsdb] [-rgbtxt] [<XtOptions>...]

DESCRIPTION

The col2rgb program allows the user to convert a sequence of

colorname colorspec

pairs to either the Xcms RGB format, such as

colorname RGB:255/255/255

or to the archaic RGB.TXT format used by many X servers, where each line is

255 255 255 colorname

on a workstation display running X.

OPTIONS

The various options are as follows:
-help
Print a usage message and exit.
-version
Print a version summary and exit.
-debug
Enable debugging.
-xcmsdb
The input is expected to be an Xcms Database for use through the XCMSDB environment variable. The usual header and trailer for an XcmsDB are discarded on input.
-rgbtxt
The output is expected to be formatted as an rgb.txt file, for use as an X server's primary color database, generally specified as a startup option on the X server command line. Note that it is common for this file to be further processed into files such as rgb.dir rgb.pag by additional software, see rgb(1).
<XtOptions>
The -display to specify an alternate server for executions where no server is on the local machine.

FILES

*.col          Xcms color file.
*.rgb          Color file in rgb.txt format.
*.xcmsdb       Xcms Database file.
rgb.txt        The canonical rgb.txt file.
rgb.pag        Postprocessed rgb.txt file, section 1.
rgb.dir        Postprocessed rgb.txt file, seciont 2.

SEE ALSO

X(1) rgb(1) xcmsdb(1) xcolors(1) XcmsLookupColor(3) XcmsConvertColors(3)

ENVIRONMENT

DISPLAY to figure out which display and screen to use.

COPYRIGHT

Copyright (c) 1993, 1994 Christopher Alexander North-Keys

The X Consortium, and any party obtaining a copy of these files from the X Consortium, directly or indirectly, is granted, free of charge, a full and unrestricted irrevocable, world-wide, paid up, royalty-free, nonexclusive right and license to deal in this software and documentation files (the "Software"), including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons who receive copies from any such party to do so. This license includes without limitation a license to do the foregoing actions under any patents of the party supplying this software to the X Consortium.

AUTHOR

Christopher Alexander North-Keys, Group Talisman

erlkonig@gnu.ai.mit.edu


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).

Last modified 21/April/97