pub fn duotone_horizon(img: &mut PhotonImage)
Duotone effect with purple tones.
img
use photon_rs::filters::duotone_horizon; use photon_rs::native::open_image; let mut img = open_image("img.jpg").expect("File should open"); duotone_horizon(&mut img);