Zulko / moviepy

Video editing with Python
https://zulko.github.io/moviepy/
MIT License
12.09k stars 1.51k forks source link

Fix deprecated PIL resizing #2070

Open Alex-Carter01 opened 7 months ago

Alex-Carter01 commented 7 months ago

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

see https://github.com/mpetroff/pannellum/issues/1119

Alex-Carter01 commented 7 months ago

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 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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