        size = np.array([ceil((1 - percentage) * im_size1), im_size2], dtype = np.int32)
        w_start = 0
        w_end = im_size2
        h_start = 0
        h_end = int(ceil((1 - percentage) * im_size1)) 
    else: # Translate bottom 20 percent
        offset = np.array([-percentage, 0.0], dtype = np.float32)
        size = np.array([ceil((1 - percentage) * im_size1), im_size2], dtype = np.int32)
        w_start = 0
        w_end = im_size2
        h_start = int(floor((percentage) * im_size1))
        h_end = im_size1 
        
    return offset, size, w_start, w_end, h_start, h_end