On Sat, Jul 16, 2016 at 9:37 PM, DmitriR <xzf...@gmail.com> wrote:

>
> Also a couple of related questions (that might have an analogous answer):
>
> (1) is there a way to change the resolution of the PNG images produced by
> Draw.MolToImage(mol)?
> The resulting images look low-res and pretty jagged on my screen.
> I can change the size, but I couldn't find anything in the API for the
> resolution.
>

The jagged images are typically because you don't have either aggdraw or
cairo installed. When this is the case, the RDKit uses a
lowest-common-denominator approach to drawing that is better than nothing,
but still looks pretty crappy.


> (2) For the SVG rendering, is there perhaps a way to change the with
> (weight) of the stroke?
> For smaller images, the default bond width looks somewhat heavy.
>

At the moment, there's no way at all to control the line width from Python.
I'll take a look at that.

-greg
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to