Git Product home page Git Product logo

Comments (7)

theskumar avatar theskumar commented on August 16, 2024

@iraycd Please confirm that you are facing the issue with latest version of PILLOW. This was a bug is PILLOW is resolved recently.

cc @respondcreate

from django-versatileimagefield.

iraycd avatar iraycd commented on August 16, 2024

Yeah, I am using the latest Pillow==3.2.0

from django-versatileimagefield.

respondcreate avatar respondcreate commented on August 16, 2024

Hey @iraycd !

It looks like problem is arising from trying to process an image that is in the TIFF file format. At present django-versatileimagefield only officially supports JPEG, GIF and PNG images. If you know how to get TIFFs working properly I'd be more than happy to merge in a PR!

from django-versatileimagefield.

iraycd avatar iraycd commented on August 16, 2024

@respondcreate Nope. This error has occurred with .JPG

It was for this image. http://siyora.com/media/products/BG39.jpg

from django-versatileimagefield.

respondcreate avatar respondcreate commented on August 16, 2024

Hey @iraycd

I ran into a similar issue on an application I was working on and, after opening the file with photoshop and saving it as JPEG (with File > Save Optimized As), the issue went away. It turns out the offending image was saved with 'JPEG (old style)' compression (which Pillow was perceiving as TIFF) after being color corrected. Can you try doing something similar and see if the problem persists?

from django-versatileimagefield.

iraycd avatar iraycd commented on August 16, 2024

Yeah, this is the issue which I faced.
I have reinstalled Pillow again, which said *** OPENJPEG (JPEG2000) support not available
Solved it by installing libopenjpeg-dev

from django-versatileimagefield.

respondcreate avatar respondcreate commented on August 16, 2024

Oh nice! Glad things got sorted, @iraycd . Should probably add a note about this to the docs...

from django-versatileimagefield.

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.