Class CicpProfile
Represents a Cicp profile as per ITU-T H.273 / ISO/IEC 23091-2_2019 providing access to color space information
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Metadata.Profiles.Cicp
Assembly: SixLabors.ImageSharp.dll
Syntax
public sealed class CicpProfile : IDeepCloneable<CicpProfile>
Constructors
| Edit this page View SourceCicpProfile()
Initializes a new instance of the CicpProfile class.
Declaration
public CicpProfile()
CicpProfile(byte, byte, byte, bool?)
Initializes a new instance of the CicpProfile class.
Declaration
public CicpProfile(byte colorPrimaries, byte transferCharacteristics, byte matrixCoefficients, bool? fullRange)
Parameters
| Type | Name | Description |
|---|---|---|
| byte | colorPrimaries | The color primaries as number according to ITU-T H.273 / ISO/IEC 23091-2_2019. |
| byte | transferCharacteristics | The transfer characteristics as number according to ITU-T H.273 / ISO/IEC 23091-2_2019. |
| byte | matrixCoefficients | The matrix coefficients as number according to ITU-T H.273 / ISO/IEC 23091-2_2019. |
| bool? | fullRange | The full range flag, or null if unknown. |
Properties
| Edit this page View SourceColorPrimaries
Gets or sets the color primaries
Declaration
public CicpColorPrimaries ColorPrimaries { get; set; }
Property Value
| Type | Description |
|---|---|
| CicpColorPrimaries |
FullRange
Gets or sets a value indicating whether the colors use the full numeric range
Declaration
public bool FullRange { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
MatrixCoefficients
Gets or sets the matrix coefficients
Declaration
public CicpMatrixCoefficients MatrixCoefficients { get; set; }
Property Value
| Type | Description |
|---|---|
| CicpMatrixCoefficients |
TransferCharacteristics
Gets or sets the transfer characteristics
Declaration
public CicpTransferCharacteristics TransferCharacteristics { get; set; }
Property Value
| Type | Description |
|---|---|
| CicpTransferCharacteristics |
Methods
| Edit this page View SourceDeepClone()
Creates a new CicpProfile that is a deep copy of the current instance.
Declaration
public CicpProfile DeepClone()
Returns
| Type | Description |
|---|---|
| CicpProfile | The CicpProfile. |