Hi Torin,

Are you by chance trying to write an image without rendering? That will 
only work if you have something on display. Rendering and subsequent 
writing of an image should not pose a problem from within a script.

Cheers,

Tsjerk


 On Thu, 27 May 2004, Torin Huzil wrote:

> I am attempting to have a script output a png image of a set of pdb files 
> that I have in a directory.  I can get the images out of pymol when using 
> it in gui mode, but when I attempt to run in command line mode I get the 
> following error:
> 
> ScenePNG-WARNING: writing a blank image buffer.
> libpng error: Image width or height is zero in IHDR
>  ScenePNG-Error: error writing "PDB_Snapshot_iter_000001.pdb.png"! Please 
> check directory...
> 
> This happens on both Linux and Mac
> 
> Any help is appreciated.
> 
> -------------------------------------------------------
> J. Torin Huzil
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g. 
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users
> 

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- :)
-- :)   Tsjerk A. Wassenaar, M.Sc.
-- :)   Molecular Dynamics Group
-- :)   Dept. of Biophysical Chemistry
-- :)   University of Groningen
-- :)   Nijenborgh 4
-- :)   9747 AG Groningen
-- :)   The Netherlands
-- :)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- :)
-- :)   Hi! I'm a .signature virus!
-- :)   Copy me into your ~/.signature to help me spread!
-- :)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Reply via email to