---
title: "CGImageSourceCopyProperties(_:_:)"
framework: imageio
role: symbol
role_heading: Function
path: "imageio/cgimagesourcecopyproperties(_:_:)"
---

# CGImageSourceCopyProperties(_:_:)

Returns the properties of the image source.

## Declaration

```swift
func CGImageSourceCopyProperties(_ isrc: CGImageSource, _ options: CFDictionary?) -> CFDictionary?
```

## Parameters

- `isrc`: The image source that contains the image data.
- `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 source container. See CGImageProperties for a list of properties that can be in the dictionary.

## Discussion

Discussion These properties apply to the container in general but not necessarily to any individual image contained in the image source.

## See Also

### Getting Information From an Image Source

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