Function reverse_alpha_values

Source
pub fn reverse_alpha_values(data: &mut ImageData) -> Result<()>
Available on crate feature image only.
Expand description

Reverses the alpha values of an image.

Only supports RGBA or BGRA images with 8-bit depth.