CGMutableImageMetadata
An opaque type for adding or modifying image metadata.
Declaration
class CGMutableImageMetadataDiscussion
Create a CGMutableImageMetadata opaque type when you want to modify the metadata in an image. You may pass this type to any functions that take a CGImageMetadata type as a parameter. This object stores the tag information as XMP data, which you can write back to the image.
When you access or modify EXIF or IPTC properties, the metadata functions automatically bridge those properties to appropriate XMP properties. This bridging behavior fills in any fields that are present only in the XMP data. For example, it fills in the namespace, prefix, and XMP type information in the corresponding CGImageMetadataTag object.
Topics
Creating a Mutable Metadata Type
Setting the Values of Tags
CGImageMetadataSetValueWithPath(_:_:_:_:)CGImageMetadataSetValueMatchingImageProperty(_:_:_:_:)CGImageMetadataSetTagWithPath(_:_:_:_:)CGImageMetadataRemoveTagWithPath(_:_:_:)