Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xcms2kcms(1) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xcmsdb(1)

dcc(7)

kcms_configure(1)

kcms_calibrate(1)

xcms2kcms(1)

NAME

xcms2kcms − a utility to convert Xlib Screen Color Characterization Data to Kcms profiles

SYNOPSIS

xcms2kcms [−option ...] [filename]

DESCRIPTION

xcms2kcms reads Device Color Characterization data stored in properties on the root window of the screen (i.e. as specified in section 7, Device Color Characterization, of the ICCCM) and creates International Color Consortium (ICC) format device profiles.  It alternatively creates these profiles directly from Device Color Characterization (.dcc) files.  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.  This program requires KCMS packages be loaded onto your system..  Kcms is  the Kodak Color Management System framework which manipulates device profiles to provide color correction accross scanner/monitor/printer devices.  xcms2kcms reads Xcms’s 3x3 matrices stored in the XDCCC_LINEAR_RGB_MATRICES property and creates Kcms profile white points and rgb primaries.  xcms2kcms then reads display gamma information stored in the XDCCC_LINEAR_RGB_CORRECTION property to create rgb lookup tables (like gamma tables) for the profile.  A profile is created for each visual and contains all the ICC profile format required information.  If the visualid is known, the profile output file names will consist of the class name, visualid, display, and screen number (i.e. DirectColor0x23:0.0.mon).  If the visualID is 0 then the profile file name will be rootwindow:0.0.mon, with the screen number changing for each screen on which the program is run.. 

If the .dcc file, filename , is provided, its ASCII readable contents are converted to ICC profiles.  One profile will be created for each set of intensities in the .dcc file. 

OPTIONS

xcms2kcms program accepts the following options:

−root This option reads the root window properties and creates ICC profile data from them - one for each visual containing the required data.  If all the data does not exist to create a profile from a visual, the error message will inform the user of the missing data.  The data which is normally missing are the matrices due to never having been loaded originally. 

−display host:display.screennumber
This option allows the root window properties to be read from other displays and screen than the default 0:0 for multi-headed workstations

 filename
This option instructs the program to read its data from the named .dcc file and create a visual ICC profile for each set of intensities provided.

EXAMPLES

To read from the root window properties and create profiles:

xcms2kcms -root

To read from a dcc file and create profiles:

xcms2kcms multi.dcc

To specify a different display’s root window properties:

xcms2kcms -display solar:0.1 -root

SEE ALSO

Xlib documentation, xcmsdb(1), dcc(7), kcms_configure(1), kcms, kcms_calibrate(1)

ENVIRONMENT

BUGS

Unknown

COPYRIGHT

Code borrowed from xcmsdb, Copyright 1990, Tektronix Inc. and enhanced by SunSoft, 1994. 

AUTHOR

xcmsdb base code: Chuck Adams, Tektronix Inc.  Al Tabayoyon, SynChromatics Inc. (added multi-visual support).  Sunsoft enhanced to interface with KCMS. 

SunOS 5.6  —  Last change:

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026