Function

CGImageSourceCopyTypeIdentifiers()

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

Declaration

func CGImageSourceCopyTypeIdentifiers() -> CFArray

Return Value

Returns an array of the UTIs that are supported for image sources.

Discussion

See Uniform Type Identifiers Overview for a list of system-declared and third-party UTIs.

See Also

Getting Information From an Image Source

func CGImageSourceGetTypeID() -> CFTypeID

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

func CGImageSourceGetType(CGImageSource) -> CFString?

Returns the uniform type identifier of the source container.

func CGImageSourceGetCount(CGImageSource) -> Int

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

func CGImageSourceCopyPropertiesAtIndex(CGImageSource, Int, CFDictionary?) -> CFDictionary?

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

func CGImageSourceGetStatusAtIndex(CGImageSource, Int) -> CGImageSourceStatus

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