The OpenD Programming Language

sRGBToLinear

sRGB to linear transfer function.

import std.experimental.color.colorspace;
@safe pure nothrow @nogc
alias sRGBToLinear(F) = hybridGammaToLinear!(1.055, 0.0031308, 12.92, 2.4, F)

Meta