File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22// Licensed under the Six Labors Split License.
33
44using SixLabors . ImageSharp . Formats ;
5+ using SixLabors . ImageSharp . Metadata . Profiles . CICP ;
56using SixLabors . ImageSharp . Metadata . Profiles . Exif ;
67using SixLabors . ImageSharp . Metadata . Profiles . Icc ;
78using SixLabors . ImageSharp . Metadata . Profiles . Iptc ;
@@ -43,6 +44,7 @@ internal ImageFrameMetadata(ImageFrameMetadata other)
4344 this . IccProfile = other . IccProfile ? . DeepClone ( ) ;
4445 this . IptcProfile = other . IptcProfile ? . DeepClone ( ) ;
4546 this . XmpProfile = other . XmpProfile ? . DeepClone ( ) ;
47+ this . CicpProfile = other . CicpProfile ? . DeepClone ( ) ;
4648 }
4749
4850 /// <summary>
@@ -65,6 +67,11 @@ internal ImageFrameMetadata(ImageFrameMetadata other)
6567 /// </summary>
6668 public IptcProfile ? IptcProfile { get ; set ; }
6769
70+ /// <summary>
71+ /// Gets or sets the CICP profile
72+ /// </summary>
73+ public CicpProfile ? CicpProfile { get ; set ; }
74+
6875 /// <inheritdoc/>
6976 public ImageFrameMetadata DeepClone ( ) => new ( this ) ;
7077
Original file line number Diff line number Diff line change 22// Licensed under the Six Labors Split License.
33
44using SixLabors . ImageSharp . Formats ;
5+ using SixLabors . ImageSharp . Metadata . Profiles . CICP ;
56using SixLabors . ImageSharp . Metadata . Profiles . Exif ;
67using SixLabors . ImageSharp . Metadata . Profiles . Icc ;
78using SixLabors . ImageSharp . Metadata . Profiles . Iptc ;
@@ -68,6 +69,7 @@ private ImageMetadata(ImageMetadata other)
6869 this . IccProfile = other . IccProfile ? . DeepClone ( ) ;
6970 this . IptcProfile = other . IptcProfile ? . DeepClone ( ) ;
7071 this . XmpProfile = other . XmpProfile ? . DeepClone ( ) ;
72+ this . CicpProfile = other . CicpProfile ? . DeepClone ( ) ;
7173
7274 // NOTE: This clone is actually shallow but we share the same format
7375 // instances for all images in the configuration.
@@ -157,6 +159,11 @@ public double VerticalResolution
157159 /// </summary>
158160 public IptcProfile ? IptcProfile { get ; set ; }
159161
162+ /// <summary>
163+ /// Gets or sets the CICP profile.
164+ /// </summary>
165+ public CicpProfile ? CicpProfile { get ; set ; }
166+
160167 /// <summary>
161168 /// Gets the original format, if any, the image was decode from.
162169 /// </summary>
You can’t perform that action at this time.
0 commit comments