2006-11-25 13:07:29 -07:00
|
|
|
.\" $Xorg: xcmsdb.man,v 1.4 2001/02/09 02:05:39 xorgcvs Exp $
|
|
|
|
.\" Copyright 1990, Tektronix Inc.
|
|
|
|
.\" Copyright 1993, 1998 The Open Group
|
2012-02-18 02:29:41 -07:00
|
|
|
.\"
|
2006-11-25 13:07:29 -07:00
|
|
|
.\" Permission to use, copy, modify, distribute, and sell this software and its
|
|
|
|
.\" documentation for any purpose is hereby granted without fee, provided that
|
|
|
|
.\" the above copyright notice appear in all copies and that both that
|
|
|
|
.\" copyright notice and this permission notice appear in supporting
|
|
|
|
.\" documentation.
|
2012-02-18 02:29:41 -07:00
|
|
|
.\"
|
2006-11-25 13:07:29 -07:00
|
|
|
.\" The above copyright notice and this permission notice shall be included in
|
|
|
|
.\" all copies or substantial portions of the Software.
|
2012-02-18 02:29:41 -07:00
|
|
|
.\"
|
2006-11-25 13:07:29 -07:00
|
|
|
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
2012-02-18 02:29:41 -07:00
|
|
|
.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
|
|
.\" THE OPEN GROUP 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
|
2006-11-25 13:07:29 -07:00
|
|
|
.\" SOFTWARE.
|
2012-02-18 02:29:41 -07:00
|
|
|
.\"
|
|
|
|
.\" Except as contained in this notice, the name of The Open Group 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
|
2006-11-25 13:07:29 -07:00
|
|
|
.\" The Open Group.
|
|
|
|
.\"
|
|
|
|
.\" $XFree86: xc/programs/xcmsdb/xcmsdb.man,v 1.6 2001/01/27 18:21:09 dawes Exp $
|
|
|
|
.\"
|
|
|
|
.TH XCMSDB 1 __xorgversion__
|
|
|
|
.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
|
2012-02-18 02:29:41 -07:00
|
|
|
is used to load, query, or remove Device Color Characterization data
|
2006-11-25 13:07:29 -07:00
|
|
|
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
|
2012-02-18 02:29:41 -07:00
|
|
|
.B \-query
|
|
|
|
or
|
|
|
|
.B \-remove
|
2006-11-25 13:07:29 -07:00
|
|
|
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
|
2012-02-18 02:29:41 -07:00
|
|
|
sends the data to standard out.
|
2006-11-25 13:07:29 -07:00
|
|
|
.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"
|
2012-02-18 02:29:41 -07:00
|
|
|
xprop(__appmansuffix__), Xlib documentation
|
2006-11-25 13:07:29 -07:00
|
|
|
.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)
|