Contents

CGImageSourceCopyPropertiesAtIndex(_:_:_:)

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

Declaration

func CGImageSourceCopyPropertiesAtIndex(_ isrc: CGImageSource, _ index: Int, _ options: CFDictionary?) -> 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.

  • options:

    A dictionary you can use to request additional options. For a list of possible values, see Cgimagesource.

Return Value

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

See Also

Getting Information From an Image Source