Class ImageFrameMetadata
- Namespace
- SixLabors.ImageSharp.Metadata
- Assembly
- SixLabors.ImageSharp.dll
Encapsulates the metadata of an image frame.
public sealed class ImageFrameMetadata : IDeepCloneable<ImageFrameMetadata>
- Inheritance
-
ImageFrameMetadata
- Implements
- Inherited Members
- Extension Methods
Properties
CicpProfile
Gets or sets the CICP profile
public CicpProfile? CicpProfile { get; set; }
Property Value
ExifProfile
Gets or sets the Exif profile.
public ExifProfile? ExifProfile { get; set; }
Property Value
IccProfile
Gets or sets the ICC profile.
public IccProfile? IccProfile { get; set; }
Property Value
IptcProfile
Gets or sets the iptc profile.
public IptcProfile? IptcProfile { get; set; }
Property Value
XmpProfile
Gets or sets the XMP profile.
public XmpProfile? XmpProfile { get; set; }
Property Value
Methods
DeepClone()
public ImageFrameMetadata DeepClone()
Returns
GetFormatMetadata<TFormatMetadata, TFormatFrameMetadata>(IImageFormat<TFormatMetadata, TFormatFrameMetadata>)
Gets the metadata value associated with the specified key. This method will always return a result creating a new instance and binding it to the frame metadata if none is found.
public TFormatFrameMetadata GetFormatMetadata<TFormatMetadata, TFormatFrameMetadata>(IImageFormat<TFormatMetadata, TFormatFrameMetadata> key) where TFormatMetadata : class where TFormatFrameMetadata : class, IDeepCloneable
Parameters
keyIImageFormat<TFormatMetadata, TFormatFrameMetadata>The key of the value to get.
Returns
- TFormatFrameMetadata
The
TFormatFrameMetadata.
Type Parameters
TFormatMetadataThe type of format metadata.
TFormatFrameMetadataThe type of format frame metadata.
TryGetFormatMetadata<TFormatMetadata, TFormatFrameMetadata>(IImageFormat<TFormatMetadata, TFormatFrameMetadata>, out TFormatFrameMetadata?)
Gets the metadata value associated with the specified key.
public bool TryGetFormatMetadata<TFormatMetadata, TFormatFrameMetadata>(IImageFormat<TFormatMetadata, TFormatFrameMetadata> key, out TFormatFrameMetadata? metadata) where TFormatMetadata : class where TFormatFrameMetadata : class, IDeepCloneable
Parameters
keyIImageFormat<TFormatMetadata, TFormatFrameMetadata>The key of the value to get.
metadataTFormatFrameMetadataWhen this method returns, contains the metadata associated with the specified key, if the key is found; otherwise, the default value for the type of the metadata parameter. This parameter is passed uninitialized.
Returns
Type Parameters
TFormatMetadataThe type of format metadata.
TFormatFrameMetadataThe type of format frame metadata.