Function photon_rs::filters::lix

source ·
pub fn lix(photon_image: &mut PhotonImage)
Expand description

Solarization on the Red and Green channels.

Arguments

  • img - A PhotonImage.

Example

use photon_rs::filters::lix;
use photon_rs::native::open_image;

let mut img = open_image("img.jpg").expect("File should open");
lix(&mut img);