---
title: "CGImageDestinationAddImageAndMetadata(_:_:_:_:)"
framework: imageio
role: symbol
role_heading: Function
path: "imageio/cgimagedestinationaddimageandmetadata(_:_:_:_:)"
---

# CGImageDestinationAddImageAndMetadata(_:_:_:_:)

## Declaration

```swift
func CGImageDestinationAddImageAndMetadata(_ idst: CGImageDestination, _ image: CGImage, _ metadata: CGImageMetadata?, _ options: CFDictionary?)
```

## See Also

### Functions

- [CGImageDestinationCopyImageSource(_:_:_:_:)](imageio/cgimagedestinationcopyimagesource(_:_:_:_:).md)
- [CGImageSourceCopyMetadataAtIndex(_:_:_:)](imageio/cgimagesourcecopymetadataatindex(_:_:_:).md)
- [CGImageSourceRemoveCacheAtIndex(_:_:)](imageio/cgimagesourceremovecacheatindex(_:_:).md)
- [CGImageSourceSetAllowableTypes(_:)](imageio/cgimagesourcesetallowabletypes(_:).md)
