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

Managing Color With ColorSync


Figures, Tables and Listings

Figure 1-1 Gray space

Figure 1-2 RGB color space (Red corner is hidden from view)

Figure 1-3 HSV (or HSB) color space and HLS color space

Figure 1-4 Additive and subtractive colors

Figure 1-5 Yxy chromaticities in the CIE color space

Figure 1-6 L*a*b* color space

Figure 1-7 Color gamuts for two devices expressed in Yxy space


Figure 2-1 The ColorSync control panel

Figure 2-2 The ColorSync Manager and the Component Manager

Figure 2-3 Monitors & Sound Control Panel for ColorSync 2.5


Figure 3-1 Color matching when the source and destination profiles specify the same CMM

Figure 3-2 Color matching using the destination profile's CMM

Figure 3-3 Color matching using the source profile's CMM

Figure 3-4 Color matching through an XYZ interchange space using both CMMs

Figure 3-5 Matching using both CMMs and two interchange color spaces

Figure 3-6 Color matching using the default CMM

Figure 3-7 Embedding profile data in a PICT file picture 115


Figure 5-1 The flags field of the CM2Header structure

Figure 5-2 The deviceAttributes field of the CM2Header structure

Figure 5-3 The renderingIntent field of the CM2Header structure


Figure 6-1 The ColorSync Manager and the Component Manager



Table 2-1 ICC rendering intents and typical image content 60


Table 8-1 ColorSync Manager version numbers, with corresponding shared library version numbers and Gestalt selectors

Table 8-2 ColorSync Manager CPU and system requirements

Table 8-3 ColorSync header files

Table 8-4 ColorSync 1.0 functions and their ColorSync Manager counterparts 536


Table 9-1 New and revised functions in ColorSync 2.5

Table 9-2 New and revised data types in ColorSync 2.5

Table 9-3 New and revised constants in ColorSync 2.5

Table 9-4 New and revised code listings for ColorSync 2.5



Listing 3-1 Determining if ColorSync 2.5 is available

Listing 3-2 Opening a reference to a file-based profile

Listing 3-3 Poor man's exception handling macro

Listing 3-4 Identifying the current system profile

Listing 3-5 Getting the profile for the main display

Listing 3-6 Matching a picture to a display

Listing 3-7 Matching the colors of a bitmap using a color world

Listing 3-8 Embedding a profile by prepending it before its associated picture

Listing 3-9 Counting the number of profiles in a picture

Listing 3-10 Calling the CMUnflattenProfile function to extract an embedded profile

Listing 3-11 The unflatten procedure

Listing 3-12 The comment procedure

Listing 3-13 An iteration function for profile searching with ColorSync 2.5

Listing 3-14 A filter function for profile searching prior to ColorSync 2.5

Listing 3-15 Optimized profile searching compatible with previous versions of ColorSync

Listing 3-16 Searching for specific profiles in the ColorSync Profiles folder

Listing 3-17 Searching for a profile that matches a profile identifier

Listing 3-18 Setting up a location structure for procedure access to a resource-based profile

Listing 3-19 Disposing of a resource-based profile access structure

Listing 3-20 Responding to a procedure-based profile command

Listing 3-21 Handling the begin access command

Listing 3-22 Handling the create new access command

Listing 3-23 Handling the open read access command

Listing 3-24 Handling the open write access command

Listing 3-25 Handling the read access command

Listing 3-26 Handling the write access command

Listing 3-27 Handling the close access command

Listing 3-28 Handling the abort write access command

Listing 3-29 Handling the end access command


Listing 4-1 Modifying a profile header's quality flag and setting the rendering intent


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