print_montbls(6)
NAME
print_montbls − prints out the monitor calibration tables present in a profile
SYNOPSIS
print_montbls profile_name [curve_file]
AVAILABILITY
SUNWkcspg
DESCRIPTION
print_montbls prints out monitor calibration tables in a profile.
The user must supply the full path name for the monitor profile which is to be accessed. The program will open(2) the file and pass the file descriptor to the KCMS library.
OPTIONS
profile_name
causes the program to open(2) the profile_name and pass in the file descriptor to the KCS library. Required.
curve_file
causes the program to take the monitor calibration tables it has read from profile_name, linearly interpolate to get 256 values for each R, G, and B channel, normalize to a range of 0.0 to 1.0, and write these values out to a file to be used for profile creation and upate. Optional.
EXAMPLES
The following example:
example% print_montbls /etc/openwin/devdata/profiles/TrueColor0x24:0.0
print the monitor calibration tables for a local calibrated true color visual
example% print_montbls /usr/openwin/etc/devdata/profiles/kcmsEKsony1604.mon curvedata.out
store the monitor calibration tables, interpolated and normalized, out to a file for use by other programs.
ENVIRONMENT
KCS_PROFILES may be set to the path name of a directory containing personal profiles. The library will search this directory if the environment variable exists.
SEE ALSO
profile_demo(6),print_header(6),kcmstest_tiff(6), kcms_create(6), kcms_update(6)
DIAGNOSTICS
print_montbls will display errors relating to profile existance and access.
SunOS 5.5/SPARC — Last change: 29 Sept 1994