Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon

View Source Code:

Download Sample (“qtcompress.win.zip”, 68.8K)
Download Sample (“qtcompress.win.dmg”, 135.5K)



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.