ColorSpaceHelperSrgbToLinear(Single) Method
Converts a floating-point value representing an sRGB color component to a value representing an RGB color component in the linear color space.
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.1
public static float SrgbToLinear(
float value
)
Public Shared Function SrgbToLinear (
value As Single
) As Single
public:
static float SrgbToLinear(
float value
)
static member SrgbToLinear :
value : float32 -> float32
- value Single
- The value to convert.
SingleA floating-point value between 0 and 1 representing an RGB color component in the linear color space.