You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~/Workspace/ja2-open-toolset/examples$ python3 to_sti_8bit.py /mnt/d/Games/JA2Classic/mods/unfinished-business/Data/loadscreens/MM24Background.sti
Traceback (most recent call last):
File "to_sti_8bit.py", line 63, in <module>
main()
File "to_sti_8bit.py", line 58, in main
images = [Image.open(file) for file in args.files]
File "to_sti_8bit.py", line 58, in <listcomp>
images = [Image.open(file) for file in args.files]
File "/home/derek/.local/lib/python3.6/site-packages/PIL/Image.py", line 2881, in open
im = _open_core(fp, filename, prefix)
File "/home/derek/.local/lib/python3.6/site-packages/PIL/Image.py", line 2867, in _open_core
im = factory(fp, filename)
File "/home/derek/.local/lib/python3.6/site-packages/PIL/ImageFile.py", line 107, in __init__
self._open()
File "/mnt/d/Workspace/ja2-open-toolset/ja2py/fileformats/Sti.py", line 486, in _open
self.size = (header['width'], header['height'])
AttributeError: can't set attribute
I guess something has changed in newer version of Pillow. It seems to work after downgrading with pip3 install Pillow==4.1.0
The text was updated successfully, but these errors were encountered:
Getting an error trying to run
to_sti_8bit.py
:I guess something has changed in newer version of Pillow. It seems to work after downgrading with
pip3 install Pillow==4.1.0
The text was updated successfully, but these errors were encountered: