Skip to content

Pillow breaking change to TextClip #2421

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

Open
aaa3334 opened this issue Apr 22, 2025 · 0 comments
Open

Pillow breaking change to TextClip #2421

aaa3334 opened this issue Apr 22, 2025 · 0 comments
Labels
bug Issues that report (apparent) bugs.

Comments

@aaa3334
Copy link
Contributor

aaa3334 commented Apr 22, 2025

The most recent version of Pillow has a breaking change for TextClip

I note the dependencies are:
"pillow>=9.2.0,<12.0",

But it actually only works with:
pillow==11.1.0

(They upgraded about a week ago)

https://pillow.readthedocs.io/en/stable/releasenotes/11.2.1.html#api-changes

The error I received was: 'ImageDraw' object has no attribute '_multiline_spacing'

Unsure whether it is better to just limit the pillow version or update the code to reflect the pillow API change but wanted to just flag it as an issue

Note I am using the git version of moviepy git+https://github.com/Zulko/moviepy.git

@aaa3334 aaa3334 added the bug Issues that report (apparent) bugs. label Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that report (apparent) bugs.
Projects
None yet
Development

No branches or pull requests

1 participant