
Hi, I am trying to save an image using the cmd line in Chimera. The command that I am using is: copy file testimage.jpg jpeg width 500 height 500 It looks like it is working. The bottom bar of the display screen says "rendering high resolution image" and then "Finished saving image(s)." However, then I cannot find a created file anywhere. Any idea what is happening to the saved file? Thanks! -- ------------------------------------------------------------------------ Rachel Kramer Green, Ph.D. RCSB PDB kramer@rcsb.rutgers.edu

Hi Rachel, It goes in the "working directory," but where that is depends on platform and whether you started up by clicking the icon or by using the command line. To be certain of the file going in a certain place, you would need to specify location in the command, either "cd" to go there first, or pathname within the "copy" command. <http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/cd.html> <http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/copy.html> For example: cd /Users/meng/Desktop copy file testimage.png - OR - copy file /Users/meng/Desktop/testimage.png You could use "~" to mean your home directory, for example: copy file ~/Desktop/testimage.png I hope this helps, Elaine ---------- Elaine C. Meng, Ph.D. UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco On Jan 17, 2013, at 1:03 PM, Rachel Kramer Green wrote:
Hi, I am trying to save an image using the cmd line in Chimera. The command that I am using is:
copy file testimage.jpg jpeg width 500 height 500
It looks like it is working. The bottom bar of the display screen says "rendering high resolution image" and then "Finished saving image(s)." However, then I cannot find a created file anywhere.
Any idea what is happening to the saved file? Thanks! -- Rachel Kramer Green, Ph.D. RCSB PDB kramer@rcsb.rutgers.edu
participants (2)
-
Elaine Meng
-
Rachel Kramer Green