<?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: How to reduce the RTF file size in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-reduce-the-RTF-file-size/m-p/739609#M230867</link>
    <description>&lt;P&gt;Hi &lt;A class="trigger-hovercard" style="color: #007dc3;" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/236352" target="_blank"&gt;ychen89&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;It could be because you are using a different image resolution. Check out this &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatug/n06c1djpsmylupn10tugoszic19x.htm" target="_self"&gt;Controlling Image Resolution&lt;/A&gt; .&lt;/P&gt;
&lt;P&gt;Try explicitly setting image_dpi, for example set it to&lt;/P&gt;
&lt;PRE class="xisDoc-code  language-sas"&gt;&lt;CODE&gt;image_dpi=100&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;in your ODS statement.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 May 2021 18:46:57 GMT</pubDate>
    <dc:creator>LeonidBatkhan</dc:creator>
    <dc:date>2021-05-06T18:46:57Z</dc:date>
    <item>
      <title>How to reduce the RTF file size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-reduce-the-RTF-file-size/m-p/739606#M230866</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working on some projects which need to output a lot of graphs to a single RTF file. Two years ago the output of similar stuff is only about 7.5 MB, but now it goes to 140 MB. All the settings are the same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyone know what happened to ODS RTF output that make the output file sooooo big?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to reduce the size of the RTF file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ying&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 18:32:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-reduce-the-RTF-file-size/m-p/739606#M230866</guid>
      <dc:creator>ychen89</dc:creator>
      <dc:date>2021-05-06T18:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to reduce the RTF file size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-reduce-the-RTF-file-size/m-p/739609#M230867</link>
      <description>&lt;P&gt;Hi &lt;A class="trigger-hovercard" style="color: #007dc3;" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/236352" target="_blank"&gt;ychen89&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;It could be because you are using a different image resolution. Check out this &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatug/n06c1djpsmylupn10tugoszic19x.htm" target="_self"&gt;Controlling Image Resolution&lt;/A&gt; .&lt;/P&gt;
&lt;P&gt;Try explicitly setting image_dpi, for example set it to&lt;/P&gt;
&lt;PRE class="xisDoc-code  language-sas"&gt;&lt;CODE&gt;image_dpi=100&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;in your ODS statement.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 18:46:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-reduce-the-RTF-file-size/m-p/739609#M230867</guid>
      <dc:creator>LeonidBatkhan</dc:creator>
      <dc:date>2021-05-06T18:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to reduce the RTF file size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-reduce-the-RTF-file-size/m-p/739611#M230869</link>
      <description>&lt;P&gt;Something changed but it is hard to tell what. An upgrade to SAS could change the definition of an ODS Style. A change there could affect things without you "changing settings". Similarly if you are now using a different style that can affect the file size somewhat.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are primarily making graphs one item that can have a significant effect is the DPI (dots per inch) that are used when creating graphs.&lt;/P&gt;
&lt;P&gt;If you want to reduce the file size you could try on the ODS RTF destination statement setting the IMAGE_DPI to a lower value. The default is typically 200 so using Image_dpi=100 should reduce the file size significantly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another possibility is if you changed the size of graphs. That increases file size, as would adding more graphs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since we do not have your settings from 2 years ago, your data or your code you get a sort of generic response.&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;</description>
      <pubDate>Thu, 06 May 2021 18:54:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-reduce-the-RTF-file-size/m-p/739611#M230869</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-06T18:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to reduce the RTF file size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-reduce-the-RTF-file-size/m-p/739620#M230874</link>
      <description>&lt;P&gt;I tried that. It's not working. The file size stay the same.&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 19:15:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-reduce-the-RTF-file-size/m-p/739620#M230874</guid>
      <dc:creator>ychen89</dc:creator>
      <dc:date>2021-05-06T19:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to reduce the RTF file size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-reduce-the-RTF-file-size/m-p/739623#M230875</link>
      <description>&lt;P&gt;I tried that it's not working. The file size stays the same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only size related setting is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods graphics on/ width=5.67in; *resizes all images;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;other setting used in the old code which I keep are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods tagsets.sasreport13(id=EGSR) gtitle gfootnote;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods rtf style=aeci_rpt nokeepn file="....Graphs.rtf";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The style is predefined. Only change the some default color.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I even tried to use device=PNG, and the file size stay the same.&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 19:21:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-reduce-the-RTF-file-size/m-p/739623#M230875</guid>
      <dc:creator>ychen89</dc:creator>
      <dc:date>2021-05-06T19:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to reduce the RTF file size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-reduce-the-RTF-file-size/m-p/739655#M230892</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/236352"&gt;@ychen89&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I tried that it's not working. The file size stays the same.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only size related setting is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics on/ width=5.67in; *resizes all images;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;other setting used in the old code which I keep are:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods tagsets.sasreport13(id=EGSR) gtitle gfootnote;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods rtf style=aeci_rpt nokeepn file="....Graphs.rtf";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The style is predefined. Only change the some default color.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I even tried to use device=PNG, and the file size stay the same.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Show me where you set the Image_dpi that "did not work". And the LOG from when you ran that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 21:26:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-reduce-the-RTF-file-size/m-p/739655#M230892</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-06T21:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to reduce the RTF file size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-reduce-the-RTF-file-size/m-p/739736#M230928</link>
      <description>&lt;P&gt;code:&lt;/P&gt;&lt;P&gt;ods rtf style=aeci_rpt nokeepn image_dpi=100&lt;BR /&gt;file="\......Graphs.rtf";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Log:&lt;/P&gt;&lt;P&gt;244 ods rtf style=aeci_rpt nokeepn image_dpi=100&lt;BR /&gt;245 file="....... Graphs.rtf";&lt;BR /&gt;NOTE: Writing RTF Body file: ..........NC Graphs.rtf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 10:58:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-reduce-the-RTF-file-size/m-p/739736#M230928</guid>
      <dc:creator>ychen89</dc:creator>
      <dc:date>2021-05-07T10:58:15Z</dc:date>
    </item>
  </channel>
</rss>

