photon_rs::monochrome
pub fn decompose_min(photon_image: &mut PhotonImage)
Uses a min. decomposition algorithm to convert an image to greyscale.
photon_image
// For example, to decompose an image with min decomposition: monochrome::decompose_min(&mut img);