Linearize the SRGB surface from which a mask's luminance is extracted
With @YaLTeR's srgb
module, we can now convert SRGB to linear RGB. I think we need to do that for masks; the luminance computation in mask.rs
currently assumes linear RGB.
With @YaLTeR's srgb
module, we can now convert SRGB to linear RGB. I think we need to do that for masks; the luminance computation in mask.rs
currently assumes linear RGB.