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 / Constants and Data Types


Profile Classes

The ColorSync Manager supports seven classes, or types, of profiles. Three of the profile classes define device profiles for different types of devices: input, output, and display devices. A device profile describes the characteristics of a particular device and shows how to convert and match colors for the device in a particular state.

The other four profile classes include definitions for an abstract profile, a color space profile, a named color space profile, and a device-linked profile.

A profile creator specifies the profile type in the profile header's profileClass field. For a description of the profile header, see "Profile Header Structure for ColorSync 2.x" (page 3-43). The following enumeration defines the profile type signatures:

enum {
   cmInputClass      = 'scnr',/* input device profile */
   cmDisplayClass    = 'mntr',/* display device profile */
   cmOutputClass     = 'prtr',/* output device profile */
   cmLinkClass       = 'link',/* device-linked profile */
   cmAbstractClass   = 'abst',/* abstract profile */
   cmColorSpaceClass = 'spac',/* color space profile */
   cmNamedColorClass = 'nmcl' /* named color profile */
};
Enumerator descriptions

cmInputClass
An input device profile defined for a scanner.
cmDisplayClass
A display device profile defined for a monitor.
cmOutputClass
An output device profile defined for a printer.
cmLinkClass
A device-linked profile.
cmAbstractClass
An abstract profile.
cmColorSpaceClass
A color space profile.
cmNamedColorClass
A named color space profile.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996