This is a read-only mirror of pymolwiki.org

Difference between revisions of "Png"

From PyMOL Wiki
Jump to navigation Jump to search
 
(New comment about transparent png's)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
===DESCRIPTION===
 
===DESCRIPTION===
+
'''png''' writes a png format image file of the current image to disk.
  "png" writes a png format image file of the current image to disk.
+
 
 
 
===USAGE===
 
===USAGE===
   
+
  png filename
  png filename
+
 
 
 
===PYMOL API===
 
===PYMOL API===
<source lang="python">
+
<source lang="python">
  cmd.png( string file )  
+
cmd.png( string file )
</source>
+
</source>
 +
 
 +
===COMMENTS===
 +
To obtain transparent png images, use the following command before ray-tracing and exporting your scene:
 +
set ray_opaque_background, 0
  
 
[[Category:Commands|png]]
 
[[Category:Commands|png]]

Revision as of 09:35, 26 January 2006

DESCRIPTION

png writes a png format image file of the current image to disk.

USAGE

png filename

PYMOL API

cmd.png( string file )

COMMENTS

To obtain transparent png images, use the following command before ray-tracing and exporting your scene:

set ray_opaque_background, 0