Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' #121

Closed
JuanjoCatalaGarrido opened this issue Jan 18, 2024 · 3 comments
Closed

Comments

@JuanjoCatalaGarrido
Copy link

JuanjoCatalaGarrido commented Jan 18, 2024

Pillow=>10.0 seems to have removed attribute "Image".

Downgrading to Pillow==9.5.0 seems to fix the bug

@Renvect
Copy link

Renvect commented Jan 27, 2024

Its depriciated nowdays. In one project i was doing with PIL i found that; LANCZOS instead of ANTIALIAS works in my case and for my use case correct one would be PIL.Image.Resampling.LANCZOS instead of ANTIALIAS. Not sure how would it affect this project but you can give it a try

@nadermx
Copy link
Owner

nadermx commented Jan 27, 2024 via email

@nadermx
Copy link
Owner

nadermx commented Mar 3, 2024

closed in ecd561b

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

No branches or pull requests

3 participants