Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
image-compressor@schorschii: Fix PIL bug (#585)
There is a bug in img = img.resize((newWidth,newHeight), Image.ANTIALIAS) 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. https://pillow.readthedocs.io/en/stable/releasenotes/10.0.0.html#constants
- Loading branch information