<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>To save images in nogui mode, you need to start up ChimeraX with
the --offscreen flag. However, that code isn't working right now,
so I've filed a bug report on your behalf.</p>
<p> -- Greg<br>
</p>
<div class="moz-cite-prefix">On 11/7/18 8:07 AM, Lukas Pravda wrote:<br>
</div>
<blockquote type="cite"
cite="mid:05836905-514E-49EC-8405-5AB4A4AFB771@ebi.ac.uk">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I was
wondering if there is a way how to generate images from
linux terminal. I’ve come across a couple of very old posts
in the mailing list stating that this was not possible at
that time. So, I wonder if anything has changed.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">If I use cif
files only, chimerax gives “Unable to render images to save
them” message. If I try to include volumetric data from
cryo-EM overlaid on the structure I get an exception during
opening a *.map file. Please see the script below. The
exception is in the attachment<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Best,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Lukas<o:p></o:p></span></p>
<div
style="mso-element:para-border-div;border:none;border-bottom:solid
windowtext 1.0pt;padding:0cm 0cm 1.0pt 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">open
emd_8909.map<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">volume #1
color white transparency 0.7 level 0.1 step 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">zoom 1.2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">open
6ds5.cif<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">set bgColor
white<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">hide
selAtoms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">show
selAtoms ribbons<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">color
bychain ribbons<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">light full<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">light shadow
true<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">save image
default.png width 1600 height 1600 supersample 5
transparentBackground true<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">turn y 90<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">save image
y.png width 1600 height 1600 supersample 5
transparentBackground true<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">turn z 90<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">save image
z.png width 1600 height 1600 supersample 5
transparentBackground true<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
ChimeraX-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ChimeraX-users@cgl.ucsf.edu">ChimeraX-users@cgl.ucsf.edu</a>
Manage subscription:
<a class="moz-txt-link-freetext" href="http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users">http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users</a>
</pre>
</blockquote>
</body>
</html>