Function photon_rs::filters::dramatic

source ·
pub fn dramatic(img: &mut PhotonImage)
Expand description

Greyscale effect with increased contrast.

Arguments

  • img - A PhotonImage.

Example

use photon_rs::filters::dramatic;
use photon_rs::native::open_image;

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