def METHOD_NAME(self, scale):
    if scale == 1:
        min_size, max_size = 512, 896
    elif scale == 2:
        min_size, max_size = 768, 1280
    else:
        min_size, max_size = 1024, 1792
    return min_size, max_size