matthewwithanm / django-imagekit

Automated image processing for Django. Currently v4.0
http://django-imagekit.rtfd.org/
BSD 3-Clause "New" or "Revised" License
2.24k stars 276 forks source link

'PIL.Image' has no attribute 'ANTIALIAS' #569

Closed Fasihi-Rad closed 6 months ago

Fasihi-Rad commented 6 months ago

I get this error when I use pillow 10.x.x 'PIL.Image' has no attribute 'ANTIALIAS' I found out it's because ANTIALIAS has been replaced by LANCZOS in the new version. I know that version 9.5.0 can be used. But this version contains some high-level vulnerabilities. So, Any way to fix this ?!

vstoykov commented 6 months ago

You need to update the pilkit to version 3.0. Here is the relevant issue tracking this. https://github.com/matthewwithanm/pilkit/issues/64