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