Function handle_color

Source
pub fn handle_color(input: Frame, color: bool) -> Result<Frame, SourceError>
Expand description

If the input is a color image and we want a gray image, convert it to grayscale