2sh / StereoscoPy

Stereoscopic 3D image creator: anaglyph, side-by-side (cross-eye and parallel), over/under, wiggle GIF, interlaced, checkerboard
GNU General Public License v3.0
63 stars 12 forks source link

Not working with Pillow 10 (or later) #7

Closed cmahnke closed 3 months ago

cmahnke commented 12 months ago
  File "/Users/cmahnke/projects/StereoscoPy/stereoscopy/__init__.py", line 370, in resize
    image = image.resize(re_size, Image.ANTIALIAS)
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

This has changed with Pillow 10, see https://pillow.readthedocs.io/en/stable/releasenotes/10.0.0.html#constants