Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help
Special pages
SBGrid Resources
SBGrid Consortium
SBGrid Data Bank
Software Webinars
PyMOL Webinar
PyMOL Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Publication Quality Images
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==High Resolution (DPI) Images== ===Creating Resolution Specific Images=== We often get the question: Q. How do I create a X DPI image using PyMol's 'ray' command? The answer is deceivingly simple. There are two steps in the process. First, setup your scene and use [[Cmd ray|ray]] like this ray 2400, 2400 From this you will get a large square image. You can now resize it to X inches where X=A*B, A and B factors of 2400 (eg: 8 inch photo @ 300DPI, 4 inch photo at 600DPI, 2 inch photo @ 1200DPI). The formula for creating images is: rayVal = inches * DPI where rayVal is the value you pass to "ray". Thus, an 8 inch square photo at 72, 100, and 300 DPI would be created by the following commands: ray 576,576 # 8inch * 72dpi ray 800,800 # 8inch * 100dpi; or a 4inch * 200 DPI photo; or 1x800. ray 2400,2400 # 8inch * 300dpi; 6"x400dpi, etc... The '''new and better solution''' is to use the [[Png]] command with the '''dpi''' setting, such as <source lang="python"> png fileName, dpi=300 </source> If you don't have a new enough version of PyMOL that supports this, then the '''old solution''' is to use [[PhotoShop]] or [[GIMP]] to resize the photo to the appropriate height and width while making sure also to tell the [[PhotoShop]] or [[GIMP]] what resolution the image is. =====GIMP 2.0===== In Gimp, load your image (it'll most likely be very large) then *Select: Image -> Scale Image -> 'Print Size & Scale Image Section' change 'New Width' to whatever width you decided on before. * Save Image (File->Save) You should be set.
Summary:
Please note that all contributions to PyMOL Wiki are considered to be released under the GNU Free Documentation License 1.2 (see
PyMOL Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Publication Quality Images
(section)
Add topic