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

Error #59

Open
blogdemoi opened this issue Aug 1, 2024 · 1 comment
Open

Error #59

blogdemoi opened this issue Aug 1, 2024 · 1 comment

Comments

@blogdemoi
Copy link

Hi,

I installed on my Manjaro using Aur and I have this error when I use Imgp:

imgp                         
Traceback (most recent call last):
File "/usr/bin/imgp", line 54, in <module>
png_ip = PIL.Image.ANTIALIAS  # default interpolation for PNG

What could be wrong?

Thank you.

@Luke100000
Copy link

Luke100000 commented Dec 29, 2024

Image.ANTIALIAS has been deprecated in 9.1.0, and removed in 10.0.0. Image.Resampling.LANCZOS is the replacement.
https://pillow.readthedocs.io/en/stable/releasenotes/10.0.0.html#constants

A quickfix is changing that in the line 56.

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

No branches or pull requests

2 participants