坐标中的数字单位为像素点,所以上例中截取的图片大小为300*300像素^2。 处理子图,粘贴回原图 region = region.transpose(Image.ROTATE_180) im.paste(region, box).
確定! 回上一頁