本地大量长图,要发送给别人,所以要对图片进行裁剪+转换pdf+压缩 import zipfile import os from concurrent.futures import ThreadPoolExecutor from reportlab.lib.pagesizes import A4, landscape from reportlab.pdfgen import canvas from PIL import Image import time # 设置全局变量 filepath = "