Hi Cris
Please include the ray=1 option in your png test.png, dpi=300 command or
use the set opaque_background, off instead of the set
ray_opaque_background, off command.

Commands to create a PNG file with a transparent background:

set opaque_background, off

png test.png, dpi=300, ray=1

*PNG file creation*
https://pymolwiki.org/index.php/Png

*Opaque background*

https://pymolwiki.org/index.php/Opaque_background

Emilio
​

On Fri, Jan 27, 2017 at 12:27 PM, cristopher garduno <garduno.c...@gmail.com
> wrote:

> Hello, my name is Cris and I am attempting to save a version of my protein
> with a transparent background. I have tried using the commands
>
>
> set ray_opaque_background, off
>
> png test.png, dpi=300
>
>
> but this doesn't seem to work. I have the educational version of PyMol, is
> this the reason that I'm unable to use the option for a transparent
> background?
>
> Thank you,
> Cris
>
> --
> Cristopher D. Garduno Luna
> Neuroscience, B.S.
> Class of 2017
> University of California, Los Angeles
> garduno.c...@gmail.com
> Curriculum Vitae <https://sites.google.com/site/1992cgarduno/cv>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to