elceef/dnstwist

Failure with pillow>=10.0.0

wiene opened this issue · 4 comments

wiene commented

dnstwist fails with Pillow>=10.0.0 due to backward incompatible changes. Have a look at this Debian bug report for more information on this issue.

Replacing Image.ANTIALIAS by Image.LANCZOS in this line fixes the issue for me.

elceef commented

Thanks for reporting! This has been fixed per your recommendation.

wiene commented

Thanks for the quick fix.

In addition I would suggest to adjust the requirements.txt file accordingly to reflect the new version requirement.
What do you think?

elceef commented

No need. Constant Image.LANCZOS is present in older Pillow versions, including 7.0.0.

wiene commented

You are absolutely right. I should have checked it before making the suggestion. Thanks again for your speedy feedback.