<?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 import big png and change their dimensions in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/import-big-png-and-change-their-dimensions/m-p/28028#M820</link>
    <description>Hello,&lt;BR /&gt;
I have the following problems, i need to import big png and also, i want to define the new dimension of the picture to include it in a RTF&lt;BR /&gt;
How can i do ?&lt;BR /&gt;
What's the simpliest way to do that ?&lt;BR /&gt;
I would not have hard coding because it's in a macro program&lt;BR /&gt;
Thank you for your help and let's go france for the world cup &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
    <pubDate>Thu, 27 May 2010 09:25:20 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-05-27T09:25:20Z</dc:date>
    <item>
      <title>import big png and change their dimensions</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/import-big-png-and-change-their-dimensions/m-p/28028#M820</link>
      <description>Hello,&lt;BR /&gt;
I have the following problems, i need to import big png and also, i want to define the new dimension of the picture to include it in a RTF&lt;BR /&gt;
How can i do ?&lt;BR /&gt;
What's the simpliest way to do that ?&lt;BR /&gt;
I would not have hard coding because it's in a macro program&lt;BR /&gt;
Thank you for your help and let's go france for the world cup &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Thu, 27 May 2010 09:25:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/import-big-png-and-change-their-dimensions/m-p/28028#M820</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-05-27T09:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: import big png and change their dimensions</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/import-big-png-and-change-their-dimensions/m-p/28029#M821</link>
      <description>Hi:&lt;BR /&gt;
 &lt;BR /&gt;
  What do you mean by "import"?? Where do you envision the "import" happening?? SAS has a couple of different graphics editors, however, they are both interactive editors and, as far as I know, cannot be used from within a program. I suppose you could try to replay your image into a different size using GREPLAY, but that seems like an iffy proposition when so many other tools are more suited to resizing.&lt;BR /&gt;
   &lt;BR /&gt;
  If SAS/GRAPH created the PNG, then I would suggest that you recreate the graph using the original program code and by changing the code to use the dimensions you want. &lt;BR /&gt;
&lt;BR /&gt;
  If SAS/GRAPH did &lt;B&gt;&lt;U&gt;not&lt;/U&gt;&lt;/B&gt;&lt;U&gt; &lt;/U&gt; create the PNG file, then using a 3rd party graphics editor (such as PhotoShop, PaintShop Pro or even Windows Paint) are probably better tools for resizing images.&lt;BR /&gt;
 &lt;BR /&gt;
  How is your RTF file being created? Let's say that you are using ODS to create an RTF file and you want an externally created PNG file to use as a logo -- I would then:&lt;BR /&gt;
1) resize the image to the size needed using an external 3rd party graphics editor&lt;BR /&gt;
2) use the PREIMAGE style attribute to insert the logo into the ODS RTF file --when the RTF file is being created --&lt;BR /&gt;
 &lt;BR /&gt;
  If, on the other hand, you have an -existing- RTF file and you want to insert an image into an existing RTF file, then this is a different task that most likely will involve post-processing the RTF file with a program (because ODS cannot append or "insert" into an existing RTF file).&lt;BR /&gt;
 &lt;BR /&gt;
  I understand that you do not want to have hard-coding (such as for the PNG name???), however, the process of editing the PNG image to be a different size is most likely going to be a manual process and about the only thing you're going to be able to do is macro-ize the image name for use in the PREIMAGE style attribute (either in a style template or in PROC REPORT, PRINT or TABULATE syntax).&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 27 May 2010 12:58:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/import-big-png-and-change-their-dimensions/m-p/28029#M821</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-05-27T12:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: import big png and change their dimensions</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/import-big-png-and-change-their-dimensions/m-p/28030#M822</link>
      <description>Thank you very much for your complete answer</description>
      <pubDate>Fri, 28 May 2010 15:30:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/import-big-png-and-change-their-dimensions/m-p/28030#M822</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-05-28T15:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: import big png and change their dimensions</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/import-big-png-and-change-their-dimensions/m-p/234360#M8502</link>
      <description>&lt;P&gt;I just saw this question after posting a similar one and wanted to post a link to my solution in case someone else has a similar question. The solution is &lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-insert-a-PNG-image-created-externally-and-be-able-to/m-p/234131/highlight/true#M14639" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2015 12:26:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/import-big-png-and-change-their-dimensions/m-p/234360#M8502</guid>
      <dc:creator>samdickson</dc:creator>
      <dc:date>2015-11-12T12:26:51Z</dc:date>
    </item>
  </channel>
</rss>

