ColorSpaceHelperLinearToSrgb16Bit Method

Converts a floating-point value representing a color component in the linear color space to a UInt16 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#
[CLSCompliantAttribute(false)]
public static ushort LinearToSrgb16Bit(
	float value
)

Parameters

value  Single
The value to convert.

Return Value

UInt16
A UInt16 value representing an sRGB color component.

See Also