1.code from PIL import Image img = Image.open('D:\\image_for_test\\Spee.jpg') print(img.getbands()) 输出: ('R', 'G', 'B') 1:1位像素&#x