Article Outline
Python pil example 'PIL org Open'
python PIL org Open
Python pil example: PIL org Open
#图片打开及属性查看
from PIL import Image
image = Image.open("test.jpg")
print(image.size,image.format,image.mode)#尺寸,格式,模式
image.show()
Python links
- Learn Python: https://pythonbasics.org/
- Python Tutorial: https://pythonprogramminglanguage.com