The OpenD Programming Language

linearTosRGB

Linear to sRGB transfer function.

import std.experimental.color.colorspace;
@safe pure nothrow @nogc
alias linearTosRGB(F) = linearToHybridGamma!(1.055, 0.0031308, 12.92, 1 / 2.4, F)

Meta