用户:穿山甲汤查看:0 回复:0 评论:0 创建时间:2022-02-10T19:35:56
import easygui as g
from PIL import ImageFilter,Image
from matplotlib import pyplot
img=""
img=Image.open(img)
lu=g.enterbox(msg="请输入滤镜名",title="pl")
img_fu=img.filter(lu)
哪有问题?为啥报错(img是为了测试)
TypeError: filter argument should be ImageFilter.Filter instance or class