Function

CGImageSourceCopyPropertiesAtIndex

Returns the properties of the image at a specified location in an image source.

Declaration

CFDictionaryRef CGImageSourceCopyPropertiesAtIndex(CGImageSourceRef isrc, size_t index, CFDictionaryRef options);

Parameters

isrc

An image source.

index

The index of the image whose properties you want to obtain. The index is zero-based.

options

A dictionary you can use to request additional options. See Image Source Option Dictionary Keys for the keys you can supply.

Return Value

A dictionary that contains the properties associated with the image. See CGImageProperties for a list of properties that can be in the dictionary.

See Also

Getting Information From an Image Source

CGImageSourceGetTypeID

Returns the unique type identifier of an image source opaque type.

CGImageSourceGetType

Returns the uniform type identifier of the source container.

CGImageSourceCopyTypeIdentifiers

Returns an array of uniform type identifiers (UTIs) that are supported for image sources.

CGImageSourceGetCount

Returns the number of images (not including thumbnails) in the image source.

CGImageSourceCopyProperties

Returns the properties of the image source.

CGImageSourceGetStatus

Return the status of an image source.

CGImageSourceGetStatusAtIndex

Returns the current status of an image that is at a specified location in an image source.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software