ColorSpaceHelperLinearToSrgb8Bit Method
Converts a floating-point value representing a color component in the linear color space
to a
byte value representing an sRGB color component.
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
public static byte LinearToSrgb8Bit(
float value
)
Public Shared Function LinearToSrgb8Bit (
value As Single
) As Byte
public:
static unsigned char LinearToSrgb8Bit(
float value
)
static member LinearToSrgb8Bit :
value : float32 -> byte
- value Single
- The value to convert.
ByteA
byte value representing an sRGB color component.