报错如下:
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
解决方法:
将代码里的 Image.ANTIALIAS 换成 Image.Resampling.LANCZOS
报错如下:
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
解决方法:
将代码里的 Image.ANTIALIAS 换成 Image.Resampling.LANCZOS