PATHDocumentation > Mac OS 8 and 9 > Mutlimedia and Graphics > ColorSync Manager >

Managing Color With ColorSync


Converting 2.x Profiles to 1.0 Format

The ColorSync Manager provides the CMConvertProfile2to1 function to convert 2.x format profiles to the 1.0 profile format. These format version numbers are described in ColorSync and ICC Profile Format Version Numbers .

Because 1.0 and 2.x scanner and monitor profiles generally carry the same required color information, converting between them will not result in lost accuracy. With printer profiles, however, some accuracy may be lost by conversion, leading to significantly different results. Because of the possible loss of accuracy in some cases, 2.x to1.0 profile conversion is not encouraged.

Note

ColorSync fully supports 1.0 format profiles, but this support is not guaranteed to continue in future versions. Apple strongly recommends that developers using the 1.0 format move to the 2.x format.


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 . For possible values, see Result Codes for the ColorSync Manager .

© 1988-1999 Apple Computer, Inc. — (Last Updated 20 Jan 99)