[][src]Function photon::effects::colorize

pub fn colorize(photon_image: &mut PhotonImage)

Colorizes the green channels of the image.

Arguments

Example

// For example, to colorize an image of type `PhotonImage`:
use photon::effects;
photon::effects::colorize(img);