Table 9-1
New and revised functions in ColorSync 2.5
Function
|
Version 2.5 Notes
|
NCMGetProfileLocation
|
New.
Obtains either a profile location structure for a specified profile or the size of the location structure for the profile. Has parameter to specify size of location structure.
|
CMGetProfileLocation
|
Not recommended.
Use
NCMGetProfileLocation instead.
|
CMFlattenProfile
|
Changed.
The ColorSync Manager now calls the transfer function directly, without going through the preferred, or any, CMM.
|
CMUnflattenProfile
|
Changed.
The ColorSync Manager now calls the transfer function directly, without going through the preferred, or any, CMM.
|
NCWNewColorWorld
|
Changed.
Use of the system profile has changed, as described in
Setting Default Profiles
. This could affect use of
src
and
dst
parameters.
|
CWConcatColorWorld
|
Changed.
Selection of preferred CMM has changed, as described in
Setting a Preferred CMM
and
How the ColorSync Manager Selects a CMM
.
|
CWNewLinkProfile
|
Changed.
Selection of preferred CMM has changed, as described in
Setting a Preferred CMM
and
How the ColorSync Manager Selects a CMM
.
|
CMGetCWInfo
|
Changed.
Selection of preferred CMM has changed, as described in
Setting a Preferred CMM
and
How the ColorSync Manager Selects a CMM
.
|
CWMatchBitmap
|
Changed.
Now supports additional color space constants:
cmGray16Space
,
cmGrayA32Space
,
cmRGB48Space
,
cmCMYK64Space
, and
cmLAB48Space
.
|
NCMBeginMatching
|
Changed.
Use of the system profile has changed, as described in
Setting Default Profiles
. This could affect use of
src
and
dst
parameters.
|
NCMDrawMatchedPicture
|
Changed.
Use of the system profile has changed, as described in
Setting Default Profiles
. This could affect use of
dst
parameter.
|
CMGetPreferredCMM
|
New.
Identifies the preferred CMM specified by the ColorSync control panel.
|
CMGetSystemProfile
|
Changed.
Use of the system profile has changed, as described in
Setting Default Profiles
.
|
CMSetSystemProfile
|
Changed.
Use of the system profile has changed, as described in
Setting Default Profiles
.
|
CMGetDefaultProfileBySpace
|
New.
Gets the default profile for the specified color space.
|
CMSetDefaultProfileBySpace
|
New.
Sets the default profile for the ci color space.
|
CMGetProfileByAVID
|
New.
Gets the current profile for a monitor.
|
CMSetProfileByAVID
|
New.
Sets the current profile for a monitor.
|
CMGetColorSyncFolderSpec
|
Changed.
The name and location of the profile folder changed, as described in
Profile Search Locations
.
|
CMIterateColorSyncFolder
|
New.
Provides optimized profile searching by iterating over available profiles.
|
CMNewProfileSearch
|
Not recommended.
Use
CMIterateColorSyncFolder
instead.
|
CMUpdateProfileSearch
|
Not recommended.
Use
CMIterateColorSyncFolder
instead.
|
CMDisposeProfileSearch
|
Not recommended.
Use
CMIterateColorSyncFolder
instead.
|
CMSearchGetIndProfile
|
Not recommended.
Use
CMIterateColorSyncFolder
instead.
|
CMSearchGetIndProfileFileSpec
|
Not recommended.
Use
CMIterateColorSyncFolder
instead.
|
MyProfileIterateProc
|
New.
Application-defined function that the
CMIterateColorSyncFolder
function calls once for each found profile file as it iterates over the available profiles.
|
MyColorSyncDataTransfer
|
Changed.
The ColorSync Manager calls the function directly, without going through the preferred, or any, CMM
|