Contents

CGImageSourceCopyAuxiliaryDataInfoAtIndex(_:_:_:)

Returns auxiliary data, such as mattes and depth information, that accompany the image.

Declaration

func CGImageSourceCopyAuxiliaryDataInfoAtIndex(_ isrc: CGImageSource, _ index: Int, _ auxiliaryImageDataType: CFString) -> CFDictionary?

Parameters

  • isrc:

    The image source that contains the image data.

  • index:

    The zero-based index into the images of the image source. If the index is invalid, this method returns NULL.

  • auxiliaryImageDataType:

    The auxiliary data to retrieve. For a list of possible values, see Individual Image Properties and Individual Image Properties.

Return Value

A dictionary that contains the auxiliary data, or NULL if an error occurs.

See Also

Getting Information From an Image Source