It's not pretty, and this is easy enough to do by hand, but I've had enough people ask me about this that I hacked up a little rendering plugin just now. Can someone grab it from

http://www-personal.umich.edu/~mlerner/PyMOL/rendering.py

put it in $PYMOL_PATH/modules/pmg_tk/startup/ (or whatever it is you do on your OS of choice) and tell me what you think?

-michael

--
www.umich.edu/~mlerner |                        _  |Michael Lerner
This isn't a democracy;| ASCII ribbon campaign ( ) |   Michigan
it's a cheer-ocracy.   |  - against HTML email  X  |  Biophysics
-Torrence,  Bring It On|                       / \ | mler...@umich

On Tue, 21 Mar 2006, Warren DeLano wrote:

Terry,

The trick is to render large and then reduce.  With recent versions, you
can do something like this

# To get a 300 dpi PNG file for a 4 inch by 3 inch image...

# Ray-traced:

ray 1200,900
png hires_ray.pdb, dpi=300

# OpenGL:

draw 1200,900
png hires_ogl.pdb, dpi=300

Cheers,
Warren

--
Warren L. DeLano, Ph.D.
Principal Scientist

. DeLano Scientific LLC
. 400 Oyster Point Blvd., Suite 213
. South San Francisco, CA 94080 USA
. Biz:(650)-872-0942  Tech:(650)-872-0834
. Fax:(650)-872-0273  Cell:(650)-346-1154
. mailto:war...@delsci.com


-----Original Message-----
From: pymol-users-ad...@lists.sourceforge.net
[mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of
Terry Jones
Sent: Tuesday, March 21, 2006 12:43 PM
To: pymol-users@lists.sourceforge.net
Subject: [PyMOL] Producing publication quality images

Hi. I'm wondering if there's a way to make pymol produce
high-quality images suitable for publication.

I've used ray/png to produce images, but the person I pass
them on to tells me they're only 50 to 100 dpi, and they're
wanting 300 dpi if possible.

Is there a way to do this in pymol? Or can I export image
data and use some other tools to get to a 300dpi image?

BTW, I'll try to make sure that pymol gets credited in the paper.

Thanks,
Terry


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking
scripting language that extends applications into web and
mobile media. Attend the live webcast and join the prime
developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&;
dat=121642
_______________________________________________
PyMOL-users mailing list
PyMOL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pymol-users






-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
PyMOL-users mailing list
PyMOL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pymol-users




Reply via email to