@staticmethod
def from_grid(grid: list[list[str]]) -> Image:
    pixels = Image.grid2pixel(grid)
    return Image(pixels, '.')
@staticmethod
def from_grid(grid: list[list[str]]) -> Image:
    pixels = Image.grid2pixel(grid)
    return Image(pixels, '.')