Why not using SVG ? You will be able to scale it as you want.

Regards,

Quentin Delettre

Le 25/07/2013 11:36, Micha? Nowotka a écrit :
When I do this:

image = Draw.MolToImage(mol, size=(200, 200))

I'm getting image with compound taking most of available canvas space. But this:

image = Draw.MolToImage(mol, size=(500, 500))

gives me an image with the compound of exact same size - it's just the canvas which is bigger. I guess this is because molfile already contains fixed 2D coordinates. Is there any possibility to regenerate it taking into account current image size?

Regards,

Micha? Nowotka



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk


_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss


*Quentin Delettre*. Biologiste/Bio-informaticien.

Website <http://qud.free.fr> | Phone: 0671280933 |
Viadeo <http://www.viadeo.com/fr/profile/quentin.delettre> LinkedIn <http://fr.linkedin.com/in/quentindelettre> Google Plus <https://plus.google.com/116725116984146448029> Facebook <http://www.facebook.com/profile.php?id=1041874042>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to