<?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 get ODS journal style to affect .PNG file in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-get-ODS-journal-style-to-affect-PNG-file/m-p/139615#M5279</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use STYLE=JOURNAL on your ODS RTF or ODS LISTING destination statements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Oct 2014 21:26:32 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2014-10-23T21:26:32Z</dc:date>
    <item>
      <title>How to get ODS journal style to affect .PNG file</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-get-ODS-journal-style-to-affect-PNG-file/m-p/139614#M5278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using GTL to define a custom graph that I render into a PDF.&amp;nbsp; Now I need to write a memo in MSWord, and I want to embed one of the graphs in the document.&amp;nbsp; It seemed natural to me to grab the .png file that SAS created and embed it in my Word document, since Word is good at that.&amp;nbsp; But although my PDF contains a graph that is formatted with a journal style (which is greyscale), the .png file is very colorful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Any ideas how to get the style to apply to the .png?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(That's not my actual goal.&amp;nbsp; My goal is to embed a graph in a Word document, the way ODS embedded my graphs in a PDF.&amp;nbsp; If you have a way to do that that will use the journal style, I'm happy to have your reply as well.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ods graphics on / width=10in height=7.5in border=off antialiasmax=10000 discretemax=10000 imagename="&amp;amp;imagefn";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ods pdf style=journal file="&amp;amp;PDFOutFile" dpi=200 bookmarkgen=no ;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;options nodate;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;proc sgrender data=TimeLine template=ImbalancePlot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; run;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ods pdf close;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ods graphics off;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 20:42:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-get-ODS-journal-style-to-affect-PNG-file/m-p/139614#M5278</guid>
      <dc:creator>jdmarino</dc:creator>
      <dc:date>2014-10-23T20:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to get ODS journal style to affect .PNG file</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-get-ODS-journal-style-to-affect-PNG-file/m-p/139615#M5279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use STYLE=JOURNAL on your ODS RTF or ODS LISTING destination statements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 21:26:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-get-ODS-journal-style-to-affect-PNG-file/m-p/139615#M5279</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2014-10-23T21:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to get ODS journal style to affect .PNG file</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-get-ODS-journal-style-to-affect-PNG-file/m-p/139616#M5280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have ODS RTF or ODS LISTING statements, but I'll add them and see what happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;I removed ODS PDF and added&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: courier new,courier;"&gt;ods listing style=journal image_dpi=200 ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;and it worked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;Sanjay: can you explain why "ODS PDF style=journal" creates a color .png file while ODS LISTING style=journal" creates a b&amp;amp;w .png file?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;And can anyone explain why cut &amp;amp; paste don't work on these forums??&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2014 12:34:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-get-ODS-journal-style-to-affect-PNG-file/m-p/139616#M5280</guid>
      <dc:creator>jdmarino</dc:creator>
      <dc:date>2014-10-24T12:34:34Z</dc:date>
    </item>
  </channel>
</rss>

