Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is antialiasing? #307

Closed
mnowotka opened this issue Jul 25, 2013 · 9 comments
Closed

Where is antialiasing? #307

mnowotka opened this issue Jul 25, 2013 · 9 comments

Comments

@mnowotka
Copy link
Contributor

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

@aclark4life
Copy link
Member

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

@mnowotka
Copy link
Contributor Author

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.

@aclark4life
Copy link
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.

@wiredfool
Copy link
Member

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

@d-schmidt
Copy link
Contributor

How are these images generated?

@mnowotka
Copy link
Contributor Author

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.

@d-schmidt
Copy link
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.

@aclark4life
Copy link
Member

Hah yup, take your time @mnowotka 😄

@mnowotka
Copy link
Contributor Author

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.

radarhere pushed a commit to radarhere/Pillow that referenced this issue Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants