Skip to content

Conversation

@transorsmth
Copy link

Use on versions of pillow >= 10.0.0 causes an error when attempting to upload an image, as ANTIALIAS was renamed and moved. This just uses the new name and location, PIL.Image.Resampling.LANCZOS.

Info: https://pillow.readthedocs.io/en/stable/releasenotes/10.0.0.html#constants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant