<?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 Re: sgplot and tiff in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/sgplot-and-tiff/m-p/355665#M18533</link>
    <description>Hi:&lt;BR /&gt;  The only thing I can recommend is to delete all your older or previous files AND/OR change the name from class_test to something else. Notice how you told it to create class_test, but it actually created class_test1.tiff. Are you sure you are looking at the properties of the right file?&lt;BR /&gt;&lt;BR /&gt;If you change to a new name and use the code and still get the wrong CM value, then your best resource is to open a track with Tech Support.&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
    <pubDate>Wed, 03 May 2017 16:28:08 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2017-05-03T16:28:08Z</dc:date>
    <item>
      <title>sgplot and tiff</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/sgplot-and-tiff/m-p/355507#M18527</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;I am trying to get a tif file from a sgplot as a high resolution tif file for a publication. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;But can't get it to work...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;No matter what I set the dpi resolution to a get a file with 100 dpi - but size of file dramatically increases.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;The tif file has to be 15 cm wide and have a resolution on at least &amp;nbsp;300 dpi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;SAS throws a warning “&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: teal; background: white;"&gt;WARNING: SASREPORT13 destination does not support TIFF images. Using the default static format.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;Any suggestions &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In this litte test example I using the good old sashelp.class&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;goptions reset=all ;&lt;BR /&gt;ods graphics on /&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; imagefmt=tiff&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;imagename="class_test"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;width=15cm&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;noborder;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods listing gpath= "c:\temp" image_dpi=300 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data=sashelp.class;&lt;BR /&gt;title;&lt;BR /&gt;scatter x=height y=weight;&lt;BR /&gt;quit;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods graphics off;&lt;BR /&gt;ods html close;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 08:24:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/sgplot-and-tiff/m-p/355507#M18527</guid>
      <dc:creator>Claus_Stenberg_DK</dc:creator>
      <dc:date>2017-05-03T08:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot and tiff</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/sgplot-and-tiff/m-p/355520#M18528</link>
      <description>&lt;P&gt;300dpi sounds a bit high for a graph. &amp;nbsp;Anyways, there is another post about this:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/General-SAS-Programming/Help-to-make-300dpi-TIFF-ROC-graph/td-p/100844" target="_blank"&gt;https://communities.sas.com/t5/General-SAS-Programming/Help-to-make-300dpi-TIFF-ROC-graph/td-p/100844&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure how helpful that is. &amp;nbsp;Sounds like a support ticket to me, yuo may have to post process the output and up res the graphics.&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 09:18:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/sgplot-and-tiff/m-p/355520#M18528</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-05-03T09:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot and tiff</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/sgplot-and-tiff/m-p/355577#M18529</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt; Are you using SAS Enterprise Guide? The message tells you that your TIF is not being used because the SASREPORT default output from EG is active and that SASREPORT destination used by EG does not support TIFF format. You could try turning that off with ODS _ALL_ CLOSE; before your job. Also, your ODS HTML CLOSE is unnecessary, since you do not show an opening ODS HTML statement.&lt;BR /&gt;&lt;BR /&gt; When I change your code just a bit, as shown below, I get an output file created as a TIFF. And, if I look in Paint, I see that the image properties of 15cm and 300 dpi were correctly set.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/8678i2D545A5942565A5A/image-size/original?v=1.0&amp;amp;px=-1" alt="image_properties.png" title="image_properties.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And here's the LOG in EG...note where I put my ods _ALL_ close; statement:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/8679iE9B6B8F8641112E0/image-size/original?v=1.0&amp;amp;px=-1" alt="class_test_example_eg.png" title="class_test_example_eg.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 13:26:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/sgplot-and-tiff/m-p/355577#M18529</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-05-03T13:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot and tiff</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/sgplot-and-tiff/m-p/355613#M18530</link>
      <description>&lt;P&gt;Yes I'm using SAS EG, version 7.11&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I addedd the ODS _ALL_CLOSE and got rid of the warning &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when opening the file in Paint and looks at properties I get the same file size as you (6.75 MB) do but image width=42.01 cm and DPI=100.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;23 GOPTIONS ACCESSIBLE;&lt;/P&gt;&lt;P&gt;24&lt;/P&gt;&lt;P&gt;25&lt;/P&gt;&lt;P&gt;26 ODS _ALL_ CLOSE;&lt;/P&gt;&lt;P&gt;27&lt;/P&gt;&lt;P&gt;28 goptions reset=all ;&lt;/P&gt;&lt;P&gt;29 ods graphics on /&lt;/P&gt;&lt;P&gt;30 imagefmt=tiff&lt;/P&gt;&lt;P&gt;31 imagename="class_test"&lt;/P&gt;&lt;P&gt;32 width=15cm&lt;/P&gt;&lt;P&gt;33 noborder;&lt;/P&gt;&lt;P&gt;34&lt;/P&gt;&lt;P&gt;35&lt;/P&gt;&lt;P&gt;36&lt;/P&gt;&lt;P&gt;37 ods listing gpath= "c:\temp" image_dpi=300 ;&lt;/P&gt;&lt;P&gt;38&lt;/P&gt;&lt;P&gt;39&lt;/P&gt;&lt;P&gt;40&lt;/P&gt;&lt;P&gt;41 proc sgplot data=sashelp.class;&lt;/P&gt;&lt;P&gt;42 title;&lt;/P&gt;&lt;P&gt;43 scatter x=height y=weight;&lt;/P&gt;&lt;P&gt;44 quit;&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE SGPLOT used (Total process time):&lt;/P&gt;&lt;P&gt;real time 0.31 seconds&lt;/P&gt;&lt;P&gt;cpu time 0.14 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: Listing image output written to c:\temp\class_test1.tiff.&lt;/P&gt;&lt;P&gt;NOTE: There were 19 observations read from the data set SASHELP.CLASS.&lt;/P&gt;&lt;P&gt;45 run;&lt;/P&gt;&lt;P&gt;46&lt;/P&gt;&lt;P&gt;47 ods graphics off;&lt;/P&gt;&lt;P&gt;48&lt;/P&gt;&lt;P&gt;49 run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13773i13CCA441DFB1344D/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="properties.png" title="properties.png" /&gt;</description>
      <pubDate>Wed, 03 May 2017 14:09:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/sgplot-and-tiff/m-p/355613#M18530</guid>
      <dc:creator>Claus_Stenberg_DK</dc:creator>
      <dc:date>2017-05-03T14:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot and tiff</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/sgplot-and-tiff/m-p/355665#M18533</link>
      <description>Hi:&lt;BR /&gt;  The only thing I can recommend is to delete all your older or previous files AND/OR change the name from class_test to something else. Notice how you told it to create class_test, but it actually created class_test1.tiff. Are you sure you are looking at the properties of the right file?&lt;BR /&gt;&lt;BR /&gt;If you change to a new name and use the code and still get the wrong CM value, then your best resource is to open a track with Tech Support.&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Wed, 03 May 2017 16:28:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/sgplot-and-tiff/m-p/355665#M18533</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-05-03T16:28:08Z</dc:date>
    </item>
  </channel>
</rss>

