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