Version: 1.3

Posted: 2005-08-01

Build Requirements: XCode 2.1, XCode 2.0

Runtime Requirements: Mac OS X 10.4.x or Mac OS X 10.3 (Panther) or later with QuickTime 6.4 or later

View Source Code:

Download Sample (“DropDraw.zip”, 257.6K)
Download Sample (“DropDraw.dmg”, 597.3K)



Description

DropDraw demonstrates automatic ColorSync color-matching when drawing with QuickTime graphics importers in Panther

This sample code has been updated to include a project that produces a universal binary. No code changes were required for it to run correctly on the Developer Transition Systems.

The QuickTime Graphics Importers that ship with Panther draw (via GraphicsImportDraw) using ColorSync color-matching by default. On pre-Panther systems, you had to write your own custom ColorSync code to perform color-matching.

Developers wishing to opt-out of this default color-matching must call GraphicsImportSetFlags as follows:

GraphicsImportSetFlags( gi, kGraphicsImporterDontUseColorMatching );

This sample demonstrates how to draw various images both color-matched and non color-matched by toggling this flag.

Sample images provided by the ColorSync team can be found in the

"Images with Trick Profiles"

folder. These sample images make it easy to determine whether ColorSync color-matching is being performed when the image is drawn (simply look at the message drawn with each image).

Document Revision History

Date Notes
2005-08-01Added missing XCode 2.1 project file
2005-07-21Updated to produce a universal binary. No code changes were required.
2004-06-04Demonstrates automatic ColorSync color-matching when drawing with QuickTime graphics importers in Panther

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.