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.
qtcompress.win
Last Revision: | Version 1.0, 2003-01-14 Uses the standard image compression dialog to get compression settings, then compresses an image with the settings. |
Build Requirements: | QTWindows SDK |
Runtime Requirements: | Carbon |
This sample code illustrates how to use QuickTime's standard image compression dialog component to get compression settings from the user and to compress an image or image sequence using those settings. See Chapter 3 of Inside Macintosh: QuickTime Components for complete information on the standard image compression dialog routines. This sample also shows how to extend the basic user interface by installing a modal-dialog filter function and a hook function to handle the optional custom button in the dialog box. If you don't want this extended behavior, set gUseExtendedProcs to false. Requires: QuickTime Keywords: QuickTime, image compression, dialog component, settings, dialog, filter
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14