ColorSpaceHelperToUInt16(Byte) Method

Converts an 8-bit color channel value to a 16-bit value representing the same intensity 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#
[CLSCompliantAttribute(false)]
public static ushort ToUInt16(
	byte value
)

Parameters

value  Byte
The value to convert.

Return Value

UInt16
The result of the conversion.

See Also