This is a read-only mirror of pymolwiki.org
Difference between revisions of "Png"
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. | |
− | + | ||
− | |||
===USAGE=== | ===USAGE=== | ||
− | + | png filename | |
− | + | ||
− | |||
===PYMOL API=== | ===PYMOL API=== | ||
− | + | <source lang="python"> | |
− | + | cmd.png( string file ) | |
− | + | </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