python圖像相等大小切塊(裁剪)

from PIL import Image import sys def cut_image(image): width,height=image.size item_width=int(width/4) box_list=[] count=0 for j in range(0,4): for i in range(0,4): count+=1 box=(i*item_
相關文章
相關標籤/搜索