from PIL import Image. col = Image.open("man.png"). gray = col.convert('L'). bw = gray.point(lambda x: 0 if x<128 else 255, '1').
確定! 回上一頁