Png: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
(New comment about transparent png's)
Line 9: Line 9:
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 04: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