Chimera Command Line: Save Image with Custom DPI
To save an image using Chimera from the command line and specify the DPI (dots per inch), use the following command:
chimera --nogui --script 'saveimage filename.png width dpi'
Replace 'filename.png' with the desired name of the output image file, 'width' with the desired width of the image in pixels, and 'dpi' with the desired DPI value.
For example, to save an image named 'output.png' with a width of 800 pixels and a DPI of 300, you would use the following command:
chimera --nogui --script 'saveimage output.png 800 300'
This command will save the image as 'output.png' with a width of 800 pixels and a DPI of 300.
原文地址: https://www.cveoy.top/t/topic/fw84 著作权归作者所有。请勿转载和采集!