To convert an image to grayscale using python, a solution is to use PIL example: ... img = Image.open('lena.png').convert('LA') img.save('greyscale.png').
確定! 回上一頁