pub fn colors_to_image<I>(width: u32, height: u32, pixels: I) -> RgbImage where
    I: IntoIterator<Item = Color>,