Closed FidaDiego closed 3 hours ago
Hi Diego,
Thank you for opening the issue.
The Image.ANTIALIAS
constant was indeed removed starting from Pillow version 10.0.0, but the Image.Resampling.LANCZOS
is not supported by older versions of Pillow (I tested the 9.0.1).
For now, I am thinking about using the constant Image.LANCZOS
, which is supported by both versions.
In the future, I will switch to the new constant and add Pillow v10.0.0+ as requirement.
I tested this solution with Pillow 11 and it worked, let me know if there are further problems.
Francesco
Hello, I tried to use the code, but I get the following error in the resize command:
The code works replacing line 15 with:
I think the problem is an incompatibility with the new version of Pillow. Thank you, Diego