-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
DeprecationWarning: ANTIALIAS is deprecated #5684
Comments
@wRAR I just checked How should we proceed? |
@iamkaushal I see. |
|
It's available, of course. But even if it wasn't, I don't see how it would prevent implementing what I wrote earlier. |
Yes sorry I meant it is not available without warning. If replacing with |
I think we can just switch to the new name, it seems it has been available since Pillow 2.7. |
But I said "use Resampling.LANCZOS if it's available".
It's only about Image.LANCZOS which is deprecated in favor of Image.Resampling.LANCZOS as well. |
@iamkaushal If you are up for it, the strategy here would be to do something like:
And then use I am not |
@Gallaecio Thank you. Yes I would like to take this up.
@wRAR My bad, I got confused because I want to work on this based on the idea proposed by @Gallaecio @Gallaecio @wRAR I am new to open source. Really appreciate your support. Thank you. |
Please also add a comment which tells in which version was |
Sure, will do it. |
This is deprecated since Pillow 9.1.0, released in April. We should check if
Resampling.LANCZOS
is already available in the earliest version we support (7.1.0 as far as I can see), and use it if it's available there. If it was added later, I think we need to decide how to proceed.The text was updated successfully, but these errors were encountered: