Legacy Mac OS X Reference Library Apple Developer Connection

Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon Mac OS X

View Source Code:

Download Sample Code (“QTtoCG.zip”, 83.9K)



Description

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 It's good, but... Not helpful...