Skip to content

Where is antialiasing? #307

Description

@mnowotka

Those two images where generated by the same code with PIL and Pillow installed, respectively. What happened to my beautiful smooth image when I switched to Pillow? How can I get antialiasing back?

pil
pillow

Activity

  1. aclark4life commented on Jul 25, 2013

    @aclark4life
    Member

    Good question. Maybe a previous commit "fixed" antialiasing in some way we now need to revert?

  2. mnowotka commented on Jul 25, 2013

    @mnowotka
    ContributorAuthor

    I don't think so. I'm using Pillow from PIP. None of my small corrections (importing 'os', fixing 'isinstance') couldn't introduce such a behavior.

  3. aclark4life commented on Jul 25, 2013

    @aclark4life
    Member

    By previous commit, I mean previous commit to Pillow most likely between 2.0.0 and now… we'll need to track down and find out where we lost antiliasing.

  4. wiredfool commented on Jul 25, 2013

    @wiredfool
    Member

    Well, first step would be a small, portable test. Then we can reproduce, then track down where it changed, possibly with git bisect.

  5. d-schmidt commented on Jul 29, 2013

    @d-schmidt
    Contributor

    How are these images generated?

  6. mnowotka commented on Jul 29, 2013

    @mnowotka
    ContributorAuthor

    Using RDkit library (http://www.rdkit.org/). I will try to provide code as well as minimal test that don't depend on RDKit. The problem is, I'm on holiday right now so it would be great if you can wait one week.

  7. d-schmidt commented on Jul 31, 2013

    @d-schmidt
    Contributor

    No, no we can't! This is critical!
    Jokes aside, happy holidays. Every help is great to save time finding and fixing bugs. Doesn't matter if it takes a few days more or less.

  8. aclark4life commented on Jul 31, 2013

    @aclark4life
    Member

    Hah yup, take your time @mnowotka 😄

  9. mnowotka commented on Aug 15, 2013

    @mnowotka
    ContributorAuthor

    After tests it turned out that this issue is invalid. There is another layer between RDKit and Pillow. When this is cairo I have antialiasing but when this is pango I'm getting crappy images. Unfortunately RDKit doesn't inform which library it's using on particular machine. Anyway, sorry for the trouble.

  10. added a commit that references this issue on Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions