Important: The information in this document is obsolete and should not be used for new development.
Searching for a Profile by Profile Identifier
The ColorSync Manager defines theCMProfileIdentifier
structure, which can identify a profile but takes up much less space than most profiles. Your application can embed profile identifiers in place of entire profiles or in addition to them.A profile identifier can refer to an embedded profile or to a profile stored in the ColorSyncTM Profiles folder, which is located in the Preferences folder within the System Folder. The CMProfileIdentifierFolderSearch function lets your application search for a profile within the ColorSyncTM Profiles folder that matches a specified profile identifier, and to obtain a reference to a matching profile and its file specification. The CMProfileIdentifierListSearch function lets your application search within a list of profile references maintained by you for a profile that matches a specified profile identifier. For sample code demonstrating how to use these functions, see "Searching for a Profile That Matches a Profile Identifier" in Advanced Color Imaging on the Mac OS.
For additional information on profile searching, see "Profile Searching" (page 3-133).
- IMPORTANT
- Only version 2.x profiles are included in the profile search result.
Subtopics
- CMProfileIdentifierFolderSearch
- CMProfileIdentifierListSearch