pub fn render_with_palette( width: usize, height: usize, coordinates: Option<&CoordinateGrid>, detail: Detail, palette: &Palette, ) -> RgbImage