ColorSpaceHelperToFloat(Byte) Method
Converts a
byte to a floating-point value between 0 and 1 without changing the color space.
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
public static float ToFloat(
byte value
)
Public Shared Function ToFloat (
value As Byte
) As Single
public:
static float ToFloat(
unsigned char value
)
static member ToFloat :
value : byte -> float32
- value Byte
- The value to convert.
SingleA floating-point value between 0 and 1.