You are not logged in.

#1 2023-07-05 11:42:12

myrlin
Member
Registered: 2010-06-11
Posts: 300

[SOLVED] python-pillow upgrade breaks Pysolfc

The recent upgrade of python-pillow  to version 10.0.0.1 breaks PysolFC, resulting in the following error:

 AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

Downgrading to version 9.5.0.2 fixes the problem

Offline

#2 2023-07-05 19:10:41

teckk
Member
Registered: 2013-02-21
Posts: 575

Re: [SOLVED] python-pillow upgrade breaks Pysolfc

https://pillow.readthedocs.io/en/stable … #constants
Now you need to use PIL.Image.LANCZOS or PIL.Image.Resampling.LANCZOS.

Make a bug report, or I expect the pysolfc devs will change it soon.

Python and modules do this stuff all of the time.

Offline

Board footer

Powered by FluxBB