Repository navigation
Where is antialiasing? #307
Description
Activity
Good question. Maybe a previous commit "fixed" antialiasing in some way we now need to revert?
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.
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.
Well, first step would be a small, portable test. Then we can reproduce, then track down where it changed, possibly with git bisect.
How are these images generated?
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.
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.Hah yup, take your time @mnowotka 😄
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.
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?