ColorSpaceHelperSrgbToLinearVectorRgba Method
Converts a vector of four floating-point values representing RGBA color components in the sRGB color space
to a vector representing linear color components.
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.1
public static Vector4 SrgbToLinearVectorRgba(
Vector4 value
)
Public Shared Function SrgbToLinearVectorRgba (
value As Vector4
) As Vector4
public:
static Vector4 SrgbToLinearVectorRgba(
Vector4 value
)
static member SrgbToLinearVectorRgba :
value : Vector4 -> Vector4
- value Vector4
- The vector to convert.
Vector4A vector of floating-point values between 0 and 1 representing a linear color with RGBA color components.