猫史档案馆


来个大佬帮我看看

用户:穿山甲汤穿山甲汤查看: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
 


回复

上一页1 页 / 共 0下一页