If the Linear to sRGB converstion was a linear lookup, that would work. It isn't though, it's a curve, so what you're doing is inaccurate and incorrect. This should help illustrate the problem. What the math transforms do is apply a specific curve to your image, one curve to go Linear to sRGB, the opposite curve to go sRGB…