Mac OS X Reference Library Apple Developer Connection spyglass button

Version: 1.2

Posted: 2006-05-11

Build Requirements: XCode 2.2, or Java 2 SDK for Windows, and QuickTime 7

Runtime Requirements: Java 1.5 and QuickTime 7, or later, recommended

View Source Code:

Download Sample Code (“CreatePictFile.zip”, 62.5K)



Description

Imports a PICT, JPEG or GIF file using a GraphicsImporter into a QTComponent. The user is able to select a desired input image using the standard file dialogue. The resulting QTComponent is added to a window frame for display. Clicking on a button at the top of this window provides the facility to save the image as a pict file. The output file, called results.pict, is located in the application startup directory.

Document Revision History

Date Notes
2006-05-11Support for XCode 2. Modified project layout for platform independent distribution and compilation.
2003-01-14Creates a QTComponent from a PICT, JPEG or GIF file using a GraphicsImporter.
Did this document help you? Yes It's good, but... Not helpful...