Hi Christian,

yes, this is a new feature in PyMOL 1.6.0.0, the png command now
supports units (cm, in):

png image.png, 10cm, dpi=300

Cheers,
  Thomas

Christian Roth wrote, On 09/03/13 17:20:
> Hi,
> 
> is there a possibility that given a current viewport image, to raytrace 
> and save the image in a specifized size lets say 10 cm width and with a 
> dpi of 300 in such a way that pymol automatically adjust the pixel size 
> of the image in such a way that it fits the specified width and dpi and 
> kep the aspect ratio. E.G. could pymol than automatically reduce the 
> pixelsize or increase it?
> 
> Best Regards
> 
> Christian

-- 
Thomas Holder
PyMOL Developer
Schrödinger Contractor

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to