Important: The information in this document is obsolete and should not be used for new development.
CMConvertProfile2to1
Converts the specified ColorSync profile from the 2.x format to the 1.0 format.
pascal CMError CMConvertProfile2to1 ( CMProfileRef profv2, CMProfileHandle *profv1);
profv2
- A reference to a ColorSync 2.x format profile to convert to 1.0 format.
profv1
- A pointer to a profile handle. On output, the handle contains a 1.0 format version of the 2.x format profile referred to by profv2. In some cases there may be loss of information in creating the version 1.0 profile.
- function result
- A result code of type CMError. See "Result Codes" (page 3-174) for a list of ColorSync-specific result codes.