def get_box_dimensions(width, height, original_width, original_height, center):
    """Returns proper box coordinate for cropping in Pillow."""
    x_offset = center[0]
    y_offset = center[1]
    width_offset = int(width / 2)
    height_offset = int(height / 2)
    left = x_offset - width_offset
    upper = y_offset - height_offset
    right = x_offset + width_offset
    lower = y_offset + height_offset
    return left, upper, right, lower
