Hi List,

just to tell you the solution I finally used:

python
for x in range(400):
        cmd.frame(x+1)
        cmd.ray(1920,1080)
        cmd.png("path/" + str(x+1) + ".png")
python end

Thank you,

Max

On 2012-05-16, at 4:46 PM, Maximilian Ebert wrote:

> Dear list,
> 
> I try to export my Pymol movie as ray traced PNGs, which is working fine. 
> However, Pymol always used as resolution the size of the canvas but I want to 
> set a fixed resolution / image size. How can I tell pymol to export or 
> generate PNGs with 1920x1080 resolution similar to the command:
> 
> ray 1920,1080
> png <path>
> 
> for images.
> 
> Thank you so much,
> 
> Max
> 
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> 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


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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