ColorSpaceHelperSrgbToLinear(Byte) Method
Converts a
byte value representing an sRGB color component to a floating-point value between 0 and 1
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.0-rc.1
public static float SrgbToLinear(
byte value
)
Public Shared Function SrgbToLinear (
value As Byte
) As Single
public:
static float SrgbToLinear(
unsigned char value
)
static member SrgbToLinear :
value : byte -> float32
- value Byte
- The byte value to convert.
SingleA floating-point value between 0 and 1 representing an RGB color component in the linear color space.