Python的PIL库中的图像模式mode

代码:
from PIL import Image
img = Image.open('D:\\image_for_test\\Spee.jpg')
print("图像模式",img.mode)

结果:

猜你喜欢

转载自blog.csdn.net/minicattwo/article/details/80557348