[][src]Function photon::colour_spaces::saturate_lch

pub fn saturate_lch(img: &mut PhotonImage, level: f32)

Increase the image's saturation in the LCh colour space.

Arguments

Example

// For example to increase saturation by 40% in the Lch colour space:
use photon::color_spaces::saturate_lch;
 
// Open the image. A PhotonImage is returned.
let img: PhotonImage = open_image("images/flowers.PNG");
 
saturate_lch(&mut img, 0.4);