Because I can't. Question was about PNG not SVG.
On Thu, Jul 25, 2013 at 10:47 AM, Quentin Delettre <
[email protected]> wrote:
> 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
> [email protected]https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>
>
>
> *Quentin Delettre*. Biologiste/Bio-informaticien.
>
> Website <http://qud.free.fr> | Phone: 0671280933 |
> [image: Viadeo] <http://www.viadeo.com/fr/profile/quentin.delettre> [image:
> LinkedIn] <http://fr.linkedin.com/in/quentindelettre> [image: Google
> Plus]<https://plus.google.com/116725116984146448029> [image:
> 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
>
>
------------------------------------------------------------------------------
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