On Thu, Nov 04, 2004 at 05:56:38PM -0600, j...@fis.unam.mx wrote:
> 
> Hello
> 
> Can you help me ?
> 
> 
> I'm running a python scritp Launching pymol with the "-c"
> <pymol -c myscript.py>
> 
> becuase i don't want display the GUI yet
> 
> 
> 
> 
> In the myscript.py, I try  to save files PNG
> like this
> 
> cmd.load(file.pdb)
> cmd.png(file1.png)
> 
> but display the next error
> 
>  Executive: object "sample" created. PyMOL>png file1.png
>  ScenePNG-WARNING: writing a blank image buffer. libpng error: Image width
> or height is zero in IHDR

It seems that in order to save the image, you must first display
the image.  This limitation has been noted earlier:

http://sourceforge.net/mailarchive/message.php?msg_id=8551897

-- 
D. Joe Anderson, Asst. Sci.            2252 Molecular Biology Bldg.     
BBMB Research Computing Support
www.bb.iastate.edu/computing           bbsupp...@iastate.edu 

Reply via email to