Function photon_rs::filters::golden

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

Apply a vintage, golden hue to an image.

Arguments

  • img - A PhotonImage.

Example

use photon_rs::filters::golden;
use photon_rs::native::open_image;

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