Function svgfilters::into_linear_rgb[][src]

pub fn into_linear_rgb(data: &mut [RGBA8])
Expand description

Converts input pixel from sRGB into LinearRGB.

Provided pixels should have an unpremultiplied alpha.

RGB channels order of the input image doesn’t matter, but alpha channel must be the last one.