instant-high/DDColor-onnx

PIL.Image has no attribute 'ANTIALIAS'

Opened this issue · 2 comments

When using ddcolorize_GUI.py

ANTIALIAS was removed in Pillow 10.0.0 (after being deprecated through many previous versions). Now you need to use PIL.Image.LANCZOS or PIL.Image.Resampling.LANCZOS.

Sorry,
I'm running ddcolorize in an old Melt (inswapper) environment (I think Melt was deleted from github?)

So my testing environment is python 3.7.15 and pillow 9.5.0

no problem to use outdate PIL as long as you added it to the requirements.txt :-)