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.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
C#
public static float SrgbToLinear(
	byte value
)

Parameters

value  Byte
The byte value to convert.

Return Value

Single
A floating-point value between 0 and 1 representing an RGB color component in the linear color space.

See Also