<?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: Resizing an Image in Report Writing Interface in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Resizing-an-Image-in-Report-Writing-Interface/m-p/433718#M281881</link>
    <description>&lt;P&gt;Do you get any warning or such in your log? If so you might show the log results. Paste the log into a code box opened with the forum {I} icon to preserve formatting of the text.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Feb 2018 23:09:25 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-02-02T23:09:25Z</dc:date>
    <item>
      <title>Resizing an Image in Report Writing Interface</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Resizing-an-Image-in-Report-Writing-Interface/m-p/433681#M281880</link>
      <description>&lt;P&gt;Hi, I've rendered an image in report writing interface in EG, but am unable to resize it according to my needs.&amp;nbsp; I adding "height=300pct" in the obj.image(overrides:"&amp;lt;stuff&amp;gt;") section, but the photo simply doesn't render, and no other parameters seem to have any effect on the scaling/size of the image.&amp;nbsp; There are few online resources on the subject and I was wondering if someone could help me resize the image.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the warnings:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: Unknown image scaling option: w&lt;BR /&gt;WARNING: Unknown image scaling option: h&lt;BR /&gt;WARNING: Unknown image scaling option: dpr&lt;BR /&gt;WARNING: Unknown image scaling option: cs&lt;BR /&gt;WARNING: Unknown image scaling option: h&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods pdf file='/home/myDirectory/imagetest.pdf' notoc;&lt;BR /&gt;&lt;BR /&gt;data _null_;&lt;BR /&gt;length pixloc $256;&lt;BR /&gt;if _n_ = 1 then do;&lt;BR /&gt;pixloc='&lt;A href="https://images.pexels.com/photos/799443/pexels-photo-799443.jpeg?w=940&amp;amp;h=650&amp;amp;dpr=2&amp;amp;auto=compress&amp;amp;cs=tinysrgb" target="_blank"&gt;https://images.pexels.com/photos/799443/pexels-photo-799443.jpeg?w=940&amp;amp;h=650&amp;amp;dpr=2&amp;amp;auto=compress&amp;amp;cs=tinysrgb&lt;/A&gt;';&lt;BR /&gt;end;&lt;BR /&gt;if _n_ = 1 then do;&lt;BR /&gt;dcl odsout obj();&lt;BR /&gt;obj.layout_gridded(columns:1);&lt;BR /&gt;end;&lt;BR /&gt;obj.region(style_attr: "background=grey color=grey");&lt;BR /&gt;obj.image(file: pixloc ,&lt;BR /&gt;overrides:"just=left width=200pct");&lt;BR /&gt;if eof eq 1 then&lt;BR /&gt;obj.layout_end();&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods pdf close;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 20:07:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Resizing-an-Image-in-Report-Writing-Interface/m-p/433681#M281880</guid>
      <dc:creator>yus03590</dc:creator>
      <dc:date>2018-02-02T20:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Resizing an Image in Report Writing Interface</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Resizing-an-Image-in-Report-Writing-Interface/m-p/433718#M281881</link>
      <description>&lt;P&gt;Do you get any warning or such in your log? If so you might show the log results. Paste the log into a code box opened with the forum {I} icon to preserve formatting of the text.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 23:09:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Resizing-an-Image-in-Report-Writing-Interface/m-p/433718#M281881</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-02-02T23:09:25Z</dc:date>
    </item>
  </channel>
</rss>

