---
title: "CGImageSourceCopyPropertiesAtIndex(_:_:_:)"
framework: imageio
role: symbol
role_heading: Function
path: "imageio/cgimagesourcecopypropertiesatindex(_:_:_:)"
---

# CGImageSourceCopyPropertiesAtIndex(_:_:_:)

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

## Declaration

```swift
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 doc://com.apple.imageio/documentation/ImageIO/CGImageSource#Specifying-the-Read-Options.

## Return Value

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

- [CGImageSourceGetTypeID()](imageio/cgimagesourcegettypeid().md)
- [CGImageSourceGetType(_:)](imageio/cgimagesourcegettype(_:).md)
- [CGImageSourceCopyTypeIdentifiers()](imageio/cgimagesourcecopytypeidentifiers().md)
- [CGImageSourceGetCount(_:)](imageio/cgimagesourcegetcount(_:).md)
- [CGImageSourceCopyProperties(_:_:)](imageio/cgimagesourcecopyproperties(_:_:).md)
- [CGImageSourceCopyAuxiliaryDataInfoAtIndex(_:_:_:)](imageio/cgimagesourcecopyauxiliarydatainfoatindex(_:_:_:).md)
