Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon

View Source Code:

Download Sample (“qtcompress.zip”, 243.7K)
Download Sample (“qtcompress.dmg”, 335.0K)



Description

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

Document Revision History

Date Notes
2003-01-14Uses the standard image compression dialog to get compression settings, then compresses an image with the settings.

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.