User Tools

Site Tools


command:png

png

“png” saves a PNG format image file of the current display.

Usage

png filename [, width [, height [, dpi [, ray]]]]

Arguments

filename = string: file path to be written

width = integer: width in pixels {default: 0 (current)}

height = integer: height in pixels {default: 0 (current)}

dpi = float: dots-per-inch {default -1.0 (unspecified)}

ray = 0 or 1: should ray be run first {default: 0 (no)}

Examples

png image.png 
png image.png, dpi=300 

Notes

PNG is the only image format supported by PyMOL.

See Also

command/png.txt · Last modified: 2013/08/19 21:00 (external edit)