XcmsConvertColors − convert CCC color specifications


Status XcmsConvertColors(XcmsCCC ccc, XcmsColor colors_in_out[], unsigned int ncolors, XcmsColorFormat target_format, Bool compression_flags_return[]);



Specifies the CCC. If Conversion is between device-independent color spaces only (for example, TekHVC to CIELuv), the CCC is necessary only to specify the Client White Point.


Specifies an array of color specifications. Pixel members are ignored and remain unchanged upon return.


Returns an array of Boolean values indicating compression status. If a non-NULL pointer is supplied, each element of the array is set to True if the corresponding color was compressed and False otherwise. Pass NULL if the compression status is not useful.


Specifies the number of XcmsColor structures in the color-specification array.


Specifies the target color specification format.


The XcmsConvertColors function converts the color specifications in the specified array of XcmsColor structures from their current format to a single target format, using the specified CCC. When the return value is XcmsFailure, the contents of the color specification array are left unchanged.

The array may contain a mixture of color specification formats (for example, 3 CIE XYZ, 2 CIE Luv, and so on). When the array contains both device-independent and device-dependent color specifications and the target_format argument specifies a device-dependent format (for example, XcmsRGBiFormat, XcmsRGBFormat), all specifications are converted to CIE XYZ format and then to the target device-dependent format.


DisplayOfCCC(3), XcmsCCCOfColormap(3), XcmsCreateCCC(3), XcmsDefaultCCC(3), XcmsSetWhitePoint(3)
Xlib − C Language X Interface

More Linux Commands

rpc.nfsd(8) - NFS server process (Admin - Linux man page)...
The rpc.nfsd program implements the user level part of the NFS service. The main functionality is handled by the nfsd kernel module. The user space program mere

XCloseDevice(3) - open or close an extension input device...
The XOpenDevice request makes an input device accessible to a client through input extension protocol requests. If successful, it returns a pointer to an XDevic

kibitz(1) - allow two people to interact with one shell.....
kibitz allows two (or more) people to interact with one shell (or any arbitrary program). Uses include: * A novice user can ask an expert user for help. Using k

innwatch.ctl(5) - control Usenet supervision by innwatch....
The file <pathetc in inn.conf>/innwatch.ctl is used to determine what actions are taken during the periodic supervisions by innwatch. The file consists of a ser

use_env(3ncurses) - miscellaneous curses utility routines...
The unctrl routine returns a character string which is a printable representation of the character c, ignoring attributes. Control characters are displayed in t

smicache(1) - caching method for use with libsmi (Man Page)
The smicache program can be used by libsmi to fetch MIB modules that cannot be found in regular local MIB directories. OPTIONS -V Show the smicache version and

AnyDBM_File(3pm) - provide framework for multiple DBMs......
This module is a pure virtual base class--it has nothing of its own. Its just there to inherit from one of the various DBM packages. It prefers ndbm for compati

gluUnProject(3gl) - map window coordinates to object coordin
gluUnProject maps the specified window coordinates into object coordinates using model, proj, and view. The result is stored in objX, objY, and objZ. A return v

readelf(1) - Displays information about ELF files. (ManPage)
readelf displays information about one or more ELF format object files. The options control what particular information to display. elffile... are the object fi

XFillArcs(3) - fill rectangles, polygons, or arcs (ManPage)
The XFillRectangle and XFillRectangles functions fill the specified rectangle or rectangles as if a four-point FillPolygon protocol request were specified for e

Tcl_ChannelCloseProc(3) - procedures for creating and manipu
Tcl uses a two-layered channel architecture. It provides a generic upper layer to enable C and Tcl programs to perform input and output using the same APIs for

form_hook(3form) - set hooks for automatic invocation by app
These functions make it possible to set hook functions to be called at various points in the automatic processing of input event codes by form_driver. The funct

We can't live, work or learn in freedom unless the software we use is free.