Giter VIP home page Giter VIP logo

Comments (5)

cegomezpy avatar cegomezpy commented on June 10, 2024 1

If this is the error:
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
Try upgrading Pillow. ANTIALIAS is deprecated and instead they'r using LANCZOS, which is the original name of the attribute. The error it doesn't happen in your code. It happens in resize.py from pilkit package. If you can't solve try going to Resize.process where the error is and change ANTIALIAS by LANCZOS.

from django-imagekit.

ali-0315 avatar ali-0315 commented on June 10, 2024 1

you should change your pillow version to 9.5.0 to solve the problem

from django-imagekit.

NorthernBlow avatar NorthernBlow commented on June 10, 2024

If this is the error: AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' Try upgrading Pillow. ANTIALIAS is deprecated and instead they'r using LANCZOS, which is the original name of the attribute. The error it doesn't happen in your code. It happens in resize.py from pilkit package. If you can't solve try going to Resize.process where the error is and change ANTIALIAS by LANCZOS.

pip show pillow

Name: Pillow
Version: 10.0.0
Summary: Python Imaging Library (Fork)
Home-page: https://python-pillow.org
Author: Jeffrey A. Clark (Alex)
Author-email: [email protected]
License: HPND
Location: /home/northerblow/prog/rest_showcase/env/lib/python3.11/site-packages
Requires:
Required-by:

pillow already satisfied, but throw an error.

from django-imagekit.

AnnyVJu avatar AnnyVJu commented on June 10, 2024

i have the same problem with Pillow when using this library.

from django-imagekit.

vstoykov avatar vstoykov commented on June 10, 2024

New version of pilkit (the django-imagekit dependency) where the actual processors are defined is released which is supporting Pillow 10.

Also this issue is duplicate of #566

from django-imagekit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.