.\" $XConsortium: xcmsdb.man /main/10 1995/12/15 14:02:17 gildea $ .\" Copyright 1990, Tektronix Inc. .\" Copyright (c) 1993 X Consortium .\" .\" Permission is hereby granted, free of charge, to any person obtaining a .\" copy of this software and associated documentation files (the "Software"), .\" to deal in the Software without restriction, including without limitation .\" the rights to use, copy, modify, merge, publish, distribute, sublicense, .\" and/or sell copies of the Software, and to permit persons to whom the .\" Software furnished to do so, subject to the following conditions: .\" .\" The above copyright notice and this permission notice shall be included in .\" all copies or substantial portions of the Software. .\" .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR .\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, .\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL .\" THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, .\" WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF .\" OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE .\" SOFTWARE. .\" .\" Except as contained in this notice, the name of the X Consortium shall not .\" be used in advertising or otherwise to promote the sale, use or other .\" dealing in this Software without prior written authorization from the .\" X Consortium. .TH XCMSDB 1 "Release 6.1" "X Version 11" .SH NAME xcmsdb \- Device Color Characterization utility for X Color Management System .SH SYNOPSIS .B xcmsdb [ \fB\-query\fP ] [ \fB\-remove\fP ] [ \fB\-format\032\fP|\fB16\fP|\fB8\fP ] [ \fIfilename\fP ] .SH DESCRIPTION .I xcmsdb is used to load, query, or remove Device Color Characterization data stored in properties on the root window of the screen as specified in section 7, Device Color Characterization, of the ICCCM. Device Color Characterization data (also called the Device Profile) is an integral part of Xlib's X Color Management System (Xcms), necessary for proper conversion of color specification between device-independent and device-dependent forms. Xcms uses 3x3 matrices stored in the XDCCC_LINEAR_RGB_MATRICES property to convert color specifications between CIEXYZ and RGB Intensity (XcmsRGBi, also referred to as linear RGB). Xcms then uses display gamma information stored in the XDCCC_LINEAR_RGB_CORRECTION property to convert color specifications between RGBi and RGB device (XcmsRGB, also referred to as device RGB). .LP Note that Xcms allows clients to register \fIfunction sets\fP in addition to its built-in function set for CRT color monitors. Additional function sets may store their device profile information in other properties in function set specific format. This utility is unaware of these non-standard properties. .LP The ASCII readable contents of .I filename (or the standard input if no input file is given) are appropriately transformed for storage in properties, provided the .B \-query or .B \-remove options are not specified. .SH "OPTIONS" .I xcmsdb program accepts the following options: .TP 8 .B \-query This option attempts to read the XDCCC properties off the screen's root window. If successful, it transforms the data into a more readable format, then sends the data to standard out. .TP 8 .B \-remove This option attempts to remove the XDCCC properties on the screen's root window. .TP 8 \fB\-format\032\fP|\fB16\fP|\fB8\fP 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. .SH "SEE ALSO" xprop(1), Xlib documentation .SH ENVIRONMENT .TP 8 .B DISPLAY to figure out which display and screen to use. .SH AUTHOR Chuck Adams, Tektronix Inc. Al Tabayoyon, SynChromatics Inc. (added multi-visual support)