pub fn duotone_horizon(img: &mut PhotonImage)
Expand description

Duotone effect with purple tones.

Arguments

  • img - A PhotonImage.

Example

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);