LinearConvert8BitTo16Bit(Byte) Method (ColorBase)
Linearly converts value from range [0; 255] to the range [0; 65535].
'Declaration
Public Shared Function LinearConvert8BitTo16Bit( _
ByVal As Byte _
) As System.Int32
public static System.Int32 LinearConvert8BitTo16Bit(
byte
)
public: static System.Int32 LinearConvert8BitTo16Bit(
byte
)
public:
static System.Int32 LinearConvert8BitTo16Bit(
byte
)
Parameters
- value
- Value to convert.
Return Value
The value in the range [0; 65535].
Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5