<?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: Tidying up PNG files in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Tidying-up-PNG-files/m-p/492880#M16888</link>
    <description>&lt;P&gt;1) How can I specify the work folder in the gpath option?&lt;/P&gt;&lt;P&gt;2) I currently have a gpath statement in my ods html statement. I get new png files appearing in this folder. However, I also get them appearing in the same folder as the SAS program. (Except these files are smaller and in b&amp;amp;w rather than colour).&lt;/P&gt;</description>
    <pubDate>Thu, 06 Sep 2018 05:09:21 GMT</pubDate>
    <dc:creator>BruceBrad</dc:creator>
    <dc:date>2018-09-06T05:09:21Z</dc:date>
    <item>
      <title>Tidying up PNG files</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Tidying-up-PNG-files/m-p/492872#M16885</link>
      <description>&lt;P&gt;I'm creating HTML and RTF graphics output which produces lots of PNG files (SAS 9.4 TS1M5). Is there a way to get these all deleted at the end of the SAS session?&amp;nbsp; My setup commands are currently:&lt;/P&gt;&lt;PRE&gt;ods graphics on /reset=index outputfmt=PNG;
ods rtf  file="[filename].rtf"  image_dpi=300 ;
ods html gpath="[foldername]"  image_dpi=300;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Sep 2018 03:56:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Tidying-up-PNG-files/m-p/492872#M16885</guid>
      <dc:creator>BruceBrad</dc:creator>
      <dc:date>2018-09-06T03:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Tidying up PNG files</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Tidying-up-PNG-files/m-p/492873#M16886</link>
      <description>If you don’t need them try setting gpath to the work library. HTML files may need them though, so check that first.</description>
      <pubDate>Thu, 06 Sep 2018 04:08:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Tidying-up-PNG-files/m-p/492873#M16886</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-06T04:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Tidying up PNG files</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Tidying-up-PNG-files/m-p/492874#M16887</link>
      <description>&lt;P&gt;ODS RTF doesn't create PNG files but ODS HTML and ODS LISTING&amp;nbsp;do. The HTML main file will refer to those PNG files. If you delete them they won't show in your HTML pages. If neened, you can temporarily stop and restore the production of graphic files in your listing output with ODS LISTING SELECT NONE; and ODS LISTING&amp;nbsp;SELECT ALL;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 04:20:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Tidying-up-PNG-files/m-p/492874#M16887</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2018-09-06T04:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Tidying up PNG files</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Tidying-up-PNG-files/m-p/492880#M16888</link>
      <description>&lt;P&gt;1) How can I specify the work folder in the gpath option?&lt;/P&gt;&lt;P&gt;2) I currently have a gpath statement in my ods html statement. I get new png files appearing in this folder. However, I also get them appearing in the same folder as the SAS program. (Except these files are smaller and in b&amp;amp;w rather than colour).&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 05:09:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Tidying-up-PNG-files/m-p/492880#M16888</guid>
      <dc:creator>BruceBrad</dc:creator>
      <dc:date>2018-09-06T05:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Tidying up PNG files</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Tidying-up-PNG-files/m-p/493037#M16889</link>
      <description>&lt;P&gt;Do you have ODS LISTING destination open or a different one while exporting to HTML/RTF? That may be why those are generated.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;You can get the work path by using the following:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let wpath = %sysfunc(pathname(work));
%put &amp;amp;wpath;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Sep 2018 14:42:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Tidying-up-PNG-files/m-p/493037#M16889</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-06T14:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Tidying up PNG files</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Tidying-up-PNG-files/m-p/493275#M16895</link>
      <description>&lt;P&gt;Puzzling.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ODS listing is closed. (If I use the command Ods listing select none, I get an error message 'The Listing destination is not active').&lt;/LI&gt;&lt;LI&gt;If I right click on the results window and choose source I get the html code for that page. Searching this, I don't find any reference to the png files that appeared in the current program directory.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 07 Sep 2018 05:25:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Tidying-up-PNG-files/m-p/493275#M16895</guid>
      <dc:creator>BruceBrad</dc:creator>
      <dc:date>2018-09-07T05:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Tidying up PNG files</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Tidying-up-PNG-files/m-p/493278#M16896</link>
      <description>&lt;P&gt;I think I've worked out where they're coming from. I also have&lt;/P&gt;&lt;P&gt;ods markup tagset=ExcelXP&lt;/P&gt;&lt;P&gt;Even though I couldn't see in graphs in the Excel file created, it was (trying) to link to them. I'll see if tagset=Excel works better.&lt;/P&gt;&lt;P&gt;Thanks all for your suggestions.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 05:57:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Tidying-up-PNG-files/m-p/493278#M16896</guid>
      <dc:creator>BruceBrad</dc:creator>
      <dc:date>2018-09-07T05:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Tidying up PNG files</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Tidying-up-PNG-files/m-p/493456#M16898</link>
      <description>&lt;P&gt;If you're in a later version of SAS, 9.4TS1M3+ you can use ODS EXCEL instead of TAGSETS which supports pictures.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 14:40:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Tidying-up-PNG-files/m-p/493456#M16898</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-07T14:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Tidying up PNG files</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Tidying-up-PNG-files/m-p/493880#M16906</link>
      <description>&lt;P&gt;Sorry, that's what I meant: ODS Excel (not ODS tagsets=excel). This has fixed the problem (and does a better job than tagsets=excelxp).&lt;/P&gt;&lt;P&gt;Thanks all.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Sep 2018 09:21:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Tidying-up-PNG-files/m-p/493880#M16906</guid>
      <dc:creator>BruceBrad</dc:creator>
      <dc:date>2018-09-09T09:21:44Z</dc:date>
    </item>
  </channel>
</rss>

