ColorSpaceHelperToFloat(UInt16) Method

Converts a UInt16 value to a floating-point value between 0 and 1 without changing the color space.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.1
C#
[CLSCompliantAttribute(false)]
public static float ToFloat(
	ushort value
)

Parameters

value  UInt16
The value to convert.

Return Value

Single
A floating-point value between 0 and 1.

See Also