PIL.Image has no attribute 'ANTIALIAS'
Opened this issue · 2 comments
henryruhs commented
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.
instant-high commented
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
henryruhs commented
no problem to use outdate PIL as long as you added it to the requirements.txt :-)