Python分拣长宽图

import shutilimport osfrom PIL import Image# 根路径root_path = "C:/Users/admin/Desktop/test/"# 原图路径sources = "sources/"# 分拣长图路径height