kCGImageDestinationMetadata
The metadata tags to include with the image.
Declaration
let kCGImageDestinationMetadata: CFStringDiscussion
The value of this key is a CGImageMetadata type. When you specify this key, the image destination ovewrites all EXIF, IPTC, and XMP metadata. If you want to merge the new tags with the existing metadata, include the kCGImageDestinationMergeMetadata key in addition to this key.
See Also
Configuring the Image Behaviors
kCGImageDestinationLossyCompressionQualitykCGImageDestinationBackgroundColorkCGImageDestinationDateTimekCGImageDestinationEmbedThumbnailkCGImageDestinationImageMaxPixelSizekCGImageDestinationMergeMetadatakCGImageDestinationOptimizeColorForSharingkCGImageDestinationOrientationkCGImageDestinationPreserveGainMapkCGImageMetadataShouldExcludeGPSkCGImageMetadataShouldExcludeXMP