Yes, thank you, Paul.
    Surprisingly I find that pycairo is still "alive" :) . Someone maintains 
the project (https://pycairo.readthedocs.io/en/latest/index.html ) and finally 
I install it via anaconda's pypi (https://anaconda.org/RMG/pycairo ). It seems 
that few people are using it...
    I tried installing cairocffi but nothing worked. Then I installed pycairo 
and really, it can anti-aliasing.


Hongbin Yang
 From: Paul EmsleyDate: 2017-05-09 19:05To: rdkit-discussSubject: Re: 
[Rdkit-discuss] Which package should be used to improve the drawing quality in 
win64On 09/05/2017 05:27, Hongbin Yang wrote:
> Hi, all,
>
>     By default, rdkit uses pillow to render images when using 
>rdkit.Chem.DrawMolecule. But
> the quality is not good enough, like this:
 
The effect you discuss is called aliasing.  You want anti-aliasing.
 
>     If memory does not fail me, pycairo can solve this problem.
 
I imagine that it's cairo that actually does the drawing (draws the pixels) and 
pycairo is a 
wrapper on top of this.
 
HTH,
 
Paul.
 
 
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to