This appendix provides a quick reference to the Coloratura CMS. It lists all the Coloratura functions, and important data structures and parameters.
The lists of functions are grouped in sections as follows, according to the elements they affect:
The section "Data Structures" contains brief descriptions of all of the data structures that are used as arguments of Coloratura functions.
![]() | Note: Function names start with "cms", data type names start with "CMS", and parameters start with "CMS_". |
Function | Description |
---|---|
Frees all allocated memory. | |
Establishes a context for all subsequent calls to the Coloratura CMS. |
cmsGetCmmInfo() uses the CMM information-field names and values in the enumerated type CMSInfoName. The values are summarized in the following table.
Field name | Description and Values |
---|---|
Registered name uniquely identifying the CMM. The value can be any ICC-registered 32-bit CMM name. | |
Version of the CMM. The value is a uint32 uniquely distinguishing the version of the CMM from all others | |
Version of the Coloratura framework for which the CMM has been programmed. The value is 4 bytes: major version, minor version, revision, 0. | |
If TRUE, the CMM supports ICC profiles. | |
If TRUE, the CMM supports transformations made from more than two profiles. |
Name | Declaration | Description |
---|---|---|
typedef struct _CMSContext*CMSContext; | Points to an opaque data structure that stores internal working state of the CMS. | |
typedef enum { | Holds CMM information. | |
typedef struct
CMSPixelBuffer_s { | Describes raster pixel data: | |
typedef struct _CMSProfile | Points to an opaque data structure that identifies profiles in memory. | |
typedef struct
_CMSProfileIterator | Points to an opaque data structure that keeps track of position during profile iterations. | |
typedef struct _CMSTagIterator *CMSTagIterator; | Points to an opaque data structure that keeps track of position during tag iterations. | |
typedef struct _CMSTfm *CMSTfm; | Points to an opaque data structure that holds transform data. | |
This data structure is an enumerated type declared in the file ic.h | Lists header entries determined by the ICC Profile Format Specification | |
This data type is declared in the file ic.h | An identifier determined by the ICC Profile Format Specification that is typically used to identify CMMs. | |
This data structure is an enumerated type declared in the file ic.h | Lists names of tag descriptions determined by the ICC Profile Format Specification | |
This data structure is an enumerated type declared in the file ic.h | An identifier determined by the ICC Profile Format Specification. |