To convert an RGB image to a grayscale image, use the Pillow library: from PIL import Image image = Image.open('rgb.png').convert('LA') ...
確定! 回上一頁