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.
README.txt
README - QTGRAPHIMP |
ABOUT QTGRAPHIMP |
This sample code illustrates how to use QuickTime's graphics importer routines |
to open and display image files. The graphics importer routines were introduced |
in QuickTime version 2.5 as a new way to draw still images. The graphics import |
routines (for example, GetGraphicsImporterForFile) use graphics import components |
(of component type 'grip') to open and perform other operations on image files. |
Essentially, you can use the graphics import routines to insulate your application |
from the nitty gritty details of image file format and compression used in the |
image. |
In this sample code, we allow the user to open an image file; then we draw it into |
a window on the screen. Your application, of course, will probably want to do more |
interesting things with the image. We also allow the user to save an image using JPEG |
compression. |
Enjoy, |
QuickTime Team |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14