ColorSpaceHelperToUInt16 Method

Overload List

ToUInt16(Byte) Converts an 8-bit color channel value to a 16-bit value representing the same intensity without changing the color space.
ToUInt16(Single) Converts a floating-point value ranging from 0 to 1 to a UInt16 without changing the color space. Out-of-range values are allowed in which case the result will be clipped to UInt16.MinValue or UInt16.MaxValue.

See Also