查看PIL中Image的像素值 img = Image.open(itemPath) print(img.load()[0,1])# 查看位置(0,1)处像素值 或者 img = Image.open(itemPath) img.getpixel((100, 200))