Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon Mac OS X

View Source Code:

Download Sample (“”, 87.2K)
Download Sample (“QTtoCG.dmg”, 151.8K)


This sample shows how to create a CGImageRef from a QuickTime image on disk. It loads the image in using QuickTime and then draws it into a window, once without any embedded ColorSync profile and once with the profile. The images are drawn with alpha support on top of a gray and white checkerboard background. Requirements: Mac OS X Keywords: Quartz 2D QuickTime ColorSync CGImageRef image alpha

Document Revision History

Date Notes
2003-01-14Shows how to create a CGImageRef with the proper ColorSync profile from a QuickTime image on disk.

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.