ColorSpaceHelperToFloat(Byte) Method

Converts a byte 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.0-rc.1
C#
public static float ToFloat(
	byte value
)

Parameters

value  Byte
The value to convert.

Return Value

Single
A floating-point value between 0 and 1.

See Also