def __init__(self, tile_size: Tuple[(int, int)]=(256, 256), rgb: bool=True, bigtiff=True):
    self.tile_size = tile_size
    self.channels = (4 if rgb else 2)
    self.rgb = rgb
    self.bigtiff = bigtiff
def __init__(self, tile_size: Tuple[(int, int)]=(256, 256), rgb: bool=True, bigtiff=True):
    self.tile_size = tile_size
    self.channels = (4 if rgb else 2)
    self.rgb = rgb
    self.bigtiff = bigtiff