ColorSpaceHelperToByte(UInt16) Method

Converts a 16-bit color channel value to an 8-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.1
C#
[CLSCompliantAttribute(false)]
public static byte ToByte(
	ushort value
)

Parameters

value  UInt16
The value to convert.

Return Value

Byte
The result of the conversion.

See Also