ColorSpaceHelperLinearToSrgb Method

Converts a floating-point value representing a color component in the linear color space to a value representing an sRGB color component.

Definition

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

Parameters

value  Single
The value to convert.

Return Value

Single
A floating-point value between 0 and 1 representing an sRGB color component.

See Also