[][src]Function photon::colour_spaces::lch

pub fn lch(photon_image: &mut PhotonImage, mode: &str, amt: f32)

Apply gamma correction. Image manipulation effects in the LCh colour space

Effects include:

Arguments

Example

// For example to increase the saturation by 10%:
use photon::color_spaces::lch;
 
// Open the image. A PhotonImage is returned.
let img: PhotonImage = open_image("images/flowers.PNG");
 
lch(&mut img, "saturate", 0.1);