render_image
Ray-trace molecular structures into PNG images without a display. Control representation, coloring, dimensions, and background.
Instructions
Ray-trace a molecular image HEADLESSLY with VMD's built-in Tachyon and save it as PNG (no display needed).
representation is one of the supported VMD draw methods; coloring is
one of the supported VMD color methods. The image is written under
VMD_MCP_ROOT by default. Absolute output paths are rejected unless
VMD_MCP_ALLOW_ABSOLUTE_OUTPUTS=1 is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | ||
| width | No | ||
| height | No | ||
| output | No | render.png | |
| coloring | No | Structure | |
| selection | No | all | |
| structure | Yes | ||
| background | No | white | |
| trajectory | No | ||
| representation | No | NewCartoon |