XmpProfile Class

An immutable XMP packet, stored as UTF-8 bytes without container-specific prefixes.

public sealed class XmpProfile

Remarks

The packet is preserved as-is; the library does not parse or rewrite XMP properties in this version, so dimension or orientation properties inside the packet are not reconciled after geometry changes.

Constructors

NameDescription
XmpProfile(MetadataBlob)Initializes a new instance of the XmpProfile class.

XmpProfile(MetadataBlob)

XmpProfile.cs

Initializes a new instance of the XmpProfile class.

public XmpProfile(MetadataBlob data)

Parameters

data MetadataBlob
The UTF-8 XMP packet. It is validated when serialized.

Exceptions

ArgumentNullException
data is null.

Properties

NameDescription
DataGets the raw XMP packet.

Gets the raw XMP packet.

public MetadataBlob Data { get; }

Property value

MetadataBlob