from PIL import Image import os import concurrent.futures input_dir = "D:\\Download\\webpic-part1\\20211201" output_dir = "D:\\Download" horizontal_d