Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

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
Profile Searching


Searching for a Profile by Profile Identifier

The ColorSync Manager defines the CMProfileIdentifier 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.

IMPORTANT
Only version 2.x profiles are included in the profile search result.
For additional information on profile searching, see "Profile Searching" (page 3-133).


Subtopics
CMProfileIdentifierFolderSearch
CMProfileIdentifierListSearch

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996