<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pymol.org/index.php?action=history&amp;feed=atom&amp;title=Publication_Quality_Images</id>
	<title>Publication Quality Images - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/index.php?action=history&amp;feed=atom&amp;title=Publication_Quality_Images"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Publication_Quality_Images&amp;action=history"/>
	<updated>2026-06-15T07:17:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Publication_Quality_Images&amp;diff=8486&amp;oldid=prev</id>
		<title>Bell: 12 revisions</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Publication_Quality_Images&amp;diff=8486&amp;oldid=prev"/>
		<updated>2014-03-28T03:08:52Z</updated>

		<summary type="html">&lt;p&gt;12 revisions&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:08, 28 March 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Bell</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Publication_Quality_Images&amp;diff=8485&amp;oldid=prev</id>
		<title>Slaw at 19:58, 24 May 2009</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Publication_Quality_Images&amp;diff=8485&amp;oldid=prev"/>
		<updated>2009-05-24T19:58:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:58, 24 May 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l33&quot; &gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;=&lt;/del&gt;== Important Note ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Important Note ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For those who are hung up on the idea that DPI is important please read this interesting [http://www.rideau-info.com/photos/mythdpi.html explanation].   &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For those who are hung up on the idea that DPI is important please read this interesting [http://www.rideau-info.com/photos/mythdpi.html explanation].   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Slaw</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Publication_Quality_Images&amp;diff=8484&amp;oldid=prev</id>
		<title>Slaw at 19:58, 24 May 2009</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Publication_Quality_Images&amp;diff=8484&amp;oldid=prev"/>
		<updated>2009-05-24T19:58:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:58, 24 May 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l31&quot; &gt;Line 31:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 31:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You should be set.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You should be set.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=== Important Note ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;For those who are hung up on the idea that DPI is important please read this interesting [http://www.rideau-info.com/photos/mythdpi.html explanation].  &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== See Also ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== See Also ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Slaw</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Publication_Quality_Images&amp;diff=8483&amp;oldid=prev</id>
		<title>Englebip: /* See Also */ made into a bullet list</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Publication_Quality_Images&amp;diff=8483&amp;oldid=prev"/>
		<updated>2008-11-04T20:53:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;See Also: &lt;/span&gt; made into a bullet list&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==High Resolution (DPI) Images==&lt;br /&gt;
&lt;br /&gt;
===Creating Resolution Specific Images===&lt;br /&gt;
We often get the question:&lt;br /&gt;
 Q.  How do I create a X DPI image using PyMol's 'ray' command?&lt;br /&gt;
&lt;br /&gt;
The answer is deceivingly simple.  There are two steps in the process.  First, setup your scene and use [[Cmd ray|ray]] like this&lt;br /&gt;
 ray 2400, 2400&lt;br /&gt;
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:&lt;br /&gt;
 rayVal = inches * DPI&lt;br /&gt;
where rayVal is the value you pass to &amp;quot;ray&amp;quot;.  Thus, an 8 inch square photo at 72, 100, and 300 DPI would be created by the following commands:&lt;br /&gt;
 ray 576,576   # 8inch * 72dpi&lt;br /&gt;
 ray 800,800   # 8inch * 100dpi; or a 4inch * 200 DPI photo; or 1x800.&lt;br /&gt;
 ray 2400,2400 # 8inch * 300dpi; 6&amp;quot;x400dpi, etc...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''new and better solution''' is to use the [[Png]] command with the '''dpi''' setting, such as&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
png fileName, dpi=300&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====GIMP 2.0=====&lt;br /&gt;
In Gimp, load your image (it'll most likely be very large) then &lt;br /&gt;
*Select:&lt;br /&gt;
 Image -&amp;gt;&lt;br /&gt;
 Scale Image -&amp;gt;&lt;br /&gt;
 'Print Size &amp;amp; Scale Image Section' change 'New Width' to whatever width you decided on before.&lt;br /&gt;
* Save Image (File-&amp;gt;Save)&lt;br /&gt;
&lt;br /&gt;
You should be set.&lt;br /&gt;
&lt;br /&gt;
=== See Also ===&lt;br /&gt;
* [[Png]]&lt;br /&gt;
* [[Ray]] &lt;br /&gt;
* [[Draw]]&lt;br /&gt;
* [[CMYK]]&lt;br /&gt;
* the rest of the pages in this [[:Category:Publication_Quality|Category]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Image_Manipulation|Publication Quality Images]]&lt;br /&gt;
[[Category:Publication_Quality|Publication Quality Images]]&lt;/div&gt;</summary>
		<author><name>Englebip</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Publication_Quality_Images&amp;diff=8481&amp;oldid=prev</id>
		<title>Mjhsieh: /* typo */</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Publication_Quality_Images&amp;diff=8481&amp;oldid=prev"/>
		<updated>2008-02-27T06:17:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;typo&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==High Resolution (DPI) Images==&lt;br /&gt;
&lt;br /&gt;
===Creating Resolution Specific Images===&lt;br /&gt;
We often get the question:&lt;br /&gt;
 Q.  How do I create a X DPI image using PyMol's 'ray' command?&lt;br /&gt;
&lt;br /&gt;
The answer is deceivingly simple.  There are two steps in the process.  First, setup your scene and use [[Cmd ray|ray]] like this&lt;br /&gt;
 ray 2400, 2400&lt;br /&gt;
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:&lt;br /&gt;
 rayVal = inches * DPI&lt;br /&gt;
where rayVal is the value you pass to &amp;quot;ray&amp;quot;.  Thus, an 8 inch square photo at 72, 100, and 300 DPI would be created by the following commands:&lt;br /&gt;
 ray 576,576   # 8inch * 72dpi&lt;br /&gt;
 ray 800,800   # 8inch * 100dpi; or a 4inch * 200 DPI photo; or 1x800.&lt;br /&gt;
 ray 2400,2400 # 8inch * 300dpi; 6&amp;quot;x400dpi, etc...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''new and better solution''' is to use the [[Png]] command with the '''dpi''' setting, such as&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
png fileName, dpi=300&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====GIMP 2.0=====&lt;br /&gt;
In Gimp, load your image (it'll most likely be very large) then &lt;br /&gt;
*Select:&lt;br /&gt;
 Image -&amp;gt;&lt;br /&gt;
 Scale Image -&amp;gt;&lt;br /&gt;
 'Print Size &amp;amp; Scale Image Section' change 'New Width' to whatever width you decided on before.&lt;br /&gt;
* Save Image (File-&amp;gt;Save)&lt;br /&gt;
&lt;br /&gt;
You should be set.&lt;br /&gt;
&lt;br /&gt;
=== See Also ===&lt;br /&gt;
[[Png]] [[Ray]] [[Draw]] [[CMYK]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Image_Manipulation|Publication Quality Images]]&lt;br /&gt;
[[Category:Publication_Quality|Publication Quality Images]]&lt;/div&gt;</summary>
		<author><name>Mjhsieh</name></author>
	</entry>
</feed>