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

Fix deprecated PIL resizing #2070

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Alex-Carter01
Copy link

Image.ANTIALIAS is deprecated.
Replacing with the suggested replacement Image.Resampling.LANCZOS

see mpetroff/pannellum#1119

  • I have provided code that clearly demonstrates the bug and that only works correctly when applying this fix
  • I have added suitable tests demonstrating a fixed bug or new/changed feature to the test suite in tests/
  • I have properly documented new or changed features in the documentation or in the docstrings
  • I have properly explained unusual or unexpected code in the comments around it

Image.ANTIALIAS is deprecated.
Replacing with the suggested replacement Image.Resampling.LANCZOS

see mpetroff/pannellum#1119
@Alex-Carter01
Copy link
Author

Hi all. I also am reading from #1874 that the project could use some maintenance help - please let me know what I can do to help.

@keikoro
Copy link
Collaborator

keikoro commented Feb 10, 2024

The first sentence in the linked PR says (emphasis mine):

When using recent Pillow, a deprecation warning occurs

Is MoviePy currently using this particular version of Pillow? Or is this a fix that will only become relevant in the future?

@keikoro
Copy link
Collaborator

keikoro commented Feb 10, 2024

I just found PR #2072 which links to a commit (not a PR) which looks like it's solving a similar – or potentially the same – issue, though the other user's solution looks different.

@keikoro
Copy link
Collaborator

keikoro commented Feb 10, 2024

Ok, found it, was apparently already merged: #2003 – is your fix another fix on top of that one?

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.

None yet

2 participants