Contents

CGImageSource

An opaque type that you use to read image data from a URL, data object, or data consumer.

Declaration

class CGImageSource

Overview

Use a CGImageSource type to read data efficiently for most image file formats. The image source object manages the data buffers needed to load the image data and performs any operations on that data to turn it into a usable image. For example, it decompresses data stored in a compressed format. You can also use an image source to fetch or create thumbnail images and access metadata stored with the image.

Create an image source object from a CFURL, CFData, or CGDataProvider data type. The image source object reads data from the specified type and extracts the image information for you.

For more information, see Image I/O Programming Guide.

Topics

Creating an Image Source

Extracting Images From an Image Source

Getting Information From an Image Source

Updating an Incremental Image

Getting the Image Status

Specifying the Read Options

See Also

Image Management