On 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 Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss