Adds an image from an image source to an image destination.
- iOS 4.0+
- macOS 10.4+
- tvOS 9.0+
- watchOS 2.0+
- Image I/O
An image destination.
An image source.
An index that specifies the location of the image in the image source. The index is zero-based.
A dictionary that specifies properties to overwrite or add to the source image properties. If a key in
propertieshas the value
k, the corresponding property in the image destination is removed. The dictionary can contain any of the properties described in Destination Properties or the image properties described in CGImageProperties.