Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
QTtoCG
Last Revision: | Version 1.0, 2003-01-14 Shows how to create a CGImageRef with the proper ColorSync profile from a QuickTime image on disk. |
Build Requirements: | |
Runtime Requirements: | Carbon Mac OS X |
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
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14