ColorSpaceHelperLinearToSrgb16Bit Method
Converts a floating-point value representing a color component in the linear color space
to a
UInt16 value representing an sRGB color component.
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
[CLSCompliantAttribute(false)]
public static ushort LinearToSrgb16Bit(
float value
)
<CLSCompliantAttribute(false)>
Public Shared Function LinearToSrgb16Bit (
value As Single
) As UShort
public:
[CLSCompliantAttribute(false)]
static unsigned short LinearToSrgb16Bit(
float value
)
[<CLSCompliantAttribute(false)>]
static member LinearToSrgb16Bit :
value : float32 -> uint16
- value Single
- The value to convert.
UInt16A
UInt16 value representing an sRGB color component.