photon::effects
pub fn primary(photon_image: &mut PhotonImage)
Reduces an image to the primary colours.
img
// For example, to add a primary colour effect to an image of type `DynamicImage`: use photon::effects; photon::effects::primary(img);