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

Image.ANTIALIAS dropped from Pillow 10 #7275

Closed
doko42 opened this issue Jul 10, 2023 · 7 comments
Closed

Image.ANTIALIAS dropped from Pillow 10 #7275

doko42 opened this issue Jul 10, 2023 · 7 comments
Labels

Comments

@doko42
Copy link

doko42 commented Jul 10, 2023

just asking if this is intentional, because it's not mentioned in the changes file.

see e.g. https://bugs.debian.org/1040630

@Yay295
Copy link
Contributor

Yay295 commented Jul 10, 2023

It's in the release notes: https://pillow.readthedocs.io/en/stable/releasenotes/10.0.0.html

@hugovk
Copy link
Member

hugovk commented Jul 10, 2023

The old ones were deprecated in #5954 and released in Pillow 9.1.0 in April 2022 (https://pillow.readthedocs.io/en/stable/releasenotes/9.1.0.html#deprecations), and removed in #7059 in 10.0.0 this month.

@doko42
Copy link
Author

doko42 commented Jul 10, 2023

why are the release notes not a part of the source tarball?

@aclark4life
Copy link
Member

@doko42 Looks like they are … AFAICT?

Screenshot 2023-07-10 at 12 12 57 PM

@doko42
Copy link
Author

doko42 commented Jul 10, 2023

my bad, I only had been looking at the CHANGES file

@radarhere
Copy link
Member

radarhere commented Jul 10, 2023

It's listed in CHANGES as

CHANGES acts as a simple overview, while the release notes provides more detailed information.

And to be clear for anyone else reading this,

  • both CHANGES and the release notes are part of the source tarball
  • Image.ANTIALIAS has been removed, but you can use Image.LANCZOS or Image.Resampling.LANCZOS instead.

@radarhere radarhere changed the title Image.ANTIALIAS dropped from pillow 10 Image.ANTIALIAS dropped from Pillow 10 Jul 10, 2023
@radarhere
Copy link
Member

@doko42 have we sufficiently answered your question?

@hugovk hugovk closed this as not planned Won't fix, can't repro, duplicate, stale Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants