NAME
xcmsdb − Xlib screen color characterization data utility.
SYNTAX
xcmsdb [options] [filename]
DESCRIPTION
xcmsdb is used to load, query, or remove Screen Color Characterization Data stored in properties on the root window of the screen. Screen Color Characterization Data is an integral part of Xlib, necessary for proper conversion between device-independent and device-dependent color specifications. Xlib uses the XDCCC_LINEAR_RGB_MATRICES and XDCCC_LINEAR_RGB_CORRECTION properties to store color characterization data for color monitors. It uses XDCCC_GRAY_SCREENWWHITEPOINT and XDCCC_GRAY_CORRECTION properties for gray scale monitors. Because Xlib allows the addition of Screen Color Characterization Function Sets, added function sets may place their Screen Color Characterization Data on other properties. This utility is unaware of these other properties; therefore, you will need to use a similar utility provided with the function set, or use the xprop utility.
The ASCII readable contents of filename (or the standard input if no input file is given) are appropriately transformed for storage in properties, provided the -query or -remove options are not specified.
OPTIONS
xcmsdb accepts the following options:
-querySpecifies that the XDCCC properties be read off of the screen’s root window. If successful, this transforms the data into a more readable format, then sends the data to standard output.
-removeAttempts to remove the XDCCC properties on the screen’s root window.
-colorSets the query and remove options to only check for the XDCCC_LINEAR_RGB_MATRICES and XDCCC_LINEAR_RGB_CORRECTION properties. If the -color option is not set then the query and remove options check for all the properties.
-format 32 | 16 | 8
Specifies the property format (32, 16, or 8 bits per entry) for the XDCCC_LINEAR_RGB_CORRECTION property. Precision of encoded floating point values increases with the increase in bits per entry. The default is 32 bits per entry.
SEE ALSO
xprop; Chapter 12, Specifying Color; Volume One, Xlib Programming Manual; Volume Two, Xlib Reference Manual.
COPYRIGHT
Copyright 1990, Tektronix Inc.
AUTHOR
Chuck Adams, Tektronix Inc.