Version 1.1, 2010-01-25
Updated for 64-bit and new 64-bit savvy data provider API available in 10.5.
(Full Revision History)
Mac OS X 10.6, Xcode 3.2
Mac OS X 10.5
Shows how to use a CGDataProvider to perform just in time delivery of image data. This technique is used in this sample to avoid needing all of the image data in memory when using Image IO to save it to disk. This technique could be used in similar situations to reduce the memory demands of large images.
© 2010 Apple Inc. All Rights Reserved. (Last updated: 2010-01-25)