pub fn handle_color(input: Frame, color: bool) -> Result<Frame, SourceError>
If the input is a color image and we want a gray image, convert it to grayscale