Previous Book Contents Book Index Next

Inside Macintosh: Advanced Color Imaging Reference /
Chapter 3 - ColorSync Manager Reference for Applications and Device Drivers / ColorSync Manager Functions
Converting 2.x Profiles to 1.0 Format /


Converts the specified ColorSync profile from the 2.x format to the 1.0 format.

pascal CMError CMConvertProfile2to1 (
CMProfileRef profv2,
CMProfileHandle *profv1);
A reference to a ColorSync 2.x format profile to convert to 1.0 format.
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.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996