jterrace / pyssim

A Python module for computing the Structural Similarity Image Metric (SSIM)
MIT License
339 stars 62 forks source link

Replace Image.ANTIALIAS with Image.LANCZOS #45

Closed tjni closed 10 months ago

tjni commented 10 months ago

This adds compatibility with Pillow 10, when ANTIALIAS was removed. Meanwhile, LANCZOS has been an alias since Pillow 2.7.0.

jterrace commented 10 months ago

thanks!

jcassee commented 9 months ago

Could you please upload a new release to PyPI with this fix? I'd like to use pyssim on a project that uses Pillow 10.