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

Pillow 10.1 has changed the accepted type for gaussian_blur #773

Closed
SvenBroeckling opened this issue Oct 22, 2024 · 0 comments · Fixed by #774
Closed

Pillow 10.1 has changed the accepted type for gaussian_blur #773

SvenBroeckling opened this issue Oct 22, 2024 · 0 comments · Fixed by #774

Comments

@SvenBroeckling
Copy link
Contributor

As of Pillow 10.1, Pillow uses a tuple for the GaussianBlur filter. Single int values are no longer accepted by the c function.

Sorl uses the prior single int call, but calls int(options["blur"]) before, which makes it impossible to give blur=(2, 2) as an option.

I'll create a pull request with changes to pil_engine.py and engines/base.py that supports Pillow >= 10.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant