ColorSpaceHelperToUInt16(Byte) Method
Converts an 8-bit color channel value to a 16-bit value representing the same intensity without changing the color space.
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
[CLSCompliantAttribute(false)]
public static ushort ToUInt16(
byte value
)
<CLSCompliantAttribute(false)>
Public Shared Function ToUInt16 (
value As Byte
) As UShort
public:
[CLSCompliantAttribute(false)]
static unsigned short ToUInt16(
unsigned char value
)
[<CLSCompliantAttribute(false)>]
static member ToUInt16 :
value : byte -> uint16
- value Byte
- The value to convert.
UInt16The result of the conversion.