Class CicpProfile
Represents a Cicp profile as per ITU-T H.273 / ISO/IEC 23091-2_2019 providing access to color space information
Implements
Namespace: SixLabors.ImageSharp.Metadata.Profiles.Cicp
Assembly: SixLabors.ImageSharp.dll
Syntax
public sealed class CicpProfile : object, IDeepCloneable<CicpProfile>
Constructors
| Improve this Doc View SourceCicpProfile()
Initializes a new instance of the CicpProfile class.
Declaration
public CicpProfile()
CicpProfile(Byte, Byte, Byte, Nullable<Boolean>)
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. |
Nullable<Boolean> | fullRange | The full range flag, or null if unknown. |
Properties
| Improve this Doc 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 |
---|---|
Boolean |
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
| Improve this Doc View SourceDeepClone()
Creates a new T
that is a deep copy of the current instance.
Declaration
public CicpProfile DeepClone()
Returns
Type | Description |
---|---|
CicpProfile | The |