Contents

kCGImageDestinationMergeMetadata

A Boolean value that indicates whether to merge new metadata with the image’s existing metadata.

Declaration

let kCGImageDestinationMergeMetadata: CFString

Discussion

The value of this key must be a CFBoolean value. The default value is kCFBooleanFalse.

If you set this key to kCFBooleanTrue, the image destination merges the information in the kCGImageDestinationMetadata key with the image’s existing metadata. Specifically, if a tag doesn’t exist in the source, the destination adds it. If the tag exists in the source, the destination updates its value. To remove a tag, set the value of the appropriate key to kCFNull.

See Also

Configuring the Image Behaviors