# -*- coding: utf-8 -*- from PIL import Image im = Image.open(r"D:\腾讯\吕布\分镜参考.png") print("size:", im.size, "mode:", im.mode)