[chimerax-users] Render images in nogui mode
Greg Couch
gregc at cgl.ucsf.edu
Wed Nov 7 10:09:34 PST 2018
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.
-- Greg
On 11/7/18 8:07 AM, Lukas Pravda wrote:
>
> Hi all,
>
> 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.
>
> 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
>
> Best,
>
> Lukas
>
> open emd_8909.map
>
> volume #1 color white transparency 0.7 level 0.1 step 1
>
> zoom 1.2
>
> open 6ds5.cif
>
> set bgColor white
>
> hide selAtoms
>
> show selAtoms ribbons
>
> color bychain ribbons
>
> light full
>
> light shadow true
>
> save image default.png width 1600 height 1600 supersample 5
> transparentBackground true
>
> turn y 90
>
> save image y.png width 1600 height 1600 supersample 5
> transparentBackground true
>
> turn z 90
>
> save image z.png width 1600 height 1600 supersample 5
> transparentBackground true
>
>
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20181107/4ad34778/attachment.html>
More information about the ChimeraX-users
mailing list