<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SGPANEL to 300DPI JPEG in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SGPANEL-to-300DPI-JPEG/m-p/232678#M8436</link>
    <description>&lt;P&gt;Does anyone know of an easy way to save SGPANEL graphics to a JPEG file with at least 300 dpi?&lt;/P&gt;</description>
    <pubDate>Mon, 02 Nov 2015 04:55:17 GMT</pubDate>
    <dc:creator>gaucho</dc:creator>
    <dc:date>2015-11-02T04:55:17Z</dc:date>
    <item>
      <title>SGPANEL to 300DPI JPEG</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPANEL-to-300DPI-JPEG/m-p/232678#M8436</link>
      <description>&lt;P&gt;Does anyone know of an easy way to save SGPANEL graphics to a JPEG file with at least 300 dpi?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 04:55:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPANEL-to-300DPI-JPEG/m-p/232678#M8436</guid>
      <dc:creator>gaucho</dc:creator>
      <dc:date>2015-11-02T04:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: SGPANEL to 300DPI JPEG</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPANEL-to-300DPI-JPEG/m-p/232728#M8437</link>
      <description>&lt;P&gt;I think if you use a variation of the following code, you can get it&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics on / &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="codeFocus"&gt;width=4in&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outputfmt=jpeg&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; image_dpi=300&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; imagemap=on&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; imagename="MyPlot"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; border=off;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 13:49:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPANEL-to-300DPI-JPEG/m-p/232728#M8437</guid>
      <dc:creator>slangan</dc:creator>
      <dc:date>2015-11-02T13:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: SGPANEL to 300DPI JPEG</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPANEL-to-300DPI-JPEG/m-p/232731#M8438</link>
      <description>&lt;P&gt;I don't see the option for image_dpi in the documentation for ODS GRAPHICS and when I use it, I get an error there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The idea of setting the dpi (should that be ppi for pixels per inch?) is meaningless anyway, because digital images cannot be measured in images, only in pixels.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you really want, you can set the number of pixels in the output image, such as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics/outputfmt=jpg height=800px width=1200px;
proc sgpanel data=sashelp.heart noautolegend;
  title "Cholesterol Distribution in Heart Study";  &lt;BR /&gt;   panelby sex;  &lt;BR /&gt;   histogram cholesterol;
  density cholesterol;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 14:03:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPANEL-to-300DPI-JPEG/m-p/232731#M8438</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-11-02T14:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: SGPANEL to 300DPI JPEG</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPANEL-to-300DPI-JPEG/m-p/232734#M8439</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I don't see the option for image_dpi in the documentation for ODS GRAPHICS and when I use it, I get an error there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;IMAGE_DPI is mentioned under "Controlling Image Resolution"&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/grstatproc/67909/HTML/default/viewer.htm#n18kg7jqymqaudn1cktjgqyzwl7f.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/grstatproc/67909/HTML/default/viewer.htm#n18kg7jqymqaudn1cktjgqyzwl7f.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 14:12:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPANEL-to-300DPI-JPEG/m-p/232734#M8439</guid>
      <dc:creator>slangan</dc:creator>
      <dc:date>2015-11-02T14:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: SGPANEL to 300DPI JPEG</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPANEL-to-300DPI-JPEG/m-p/232756#M8441</link>
      <description>&lt;P&gt;You can do it with a combination of ODS LISTING and ODS GRAPHICS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods listing gpath="c:\temp\myGraphs" image_dpi=300 device=jpeg;
ods graphics / imagename="file name without extension";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But I recommend not to use device=jpeg, you will get png files instead which are better behaved IMHO.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 15:47:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPANEL-to-300DPI-JPEG/m-p/232756#M8441</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2015-11-02T15:47:40Z</dc:date>
    </item>
  </channel>
</rss>

