Function photon_rs::filters::ryo

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

Solarization on the Red and Blue channels.

Arguments

  • img - A PhotonImage.

Example

use photon_rs::filters::ryo;
use photon_rs::native::open_image;

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