<?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 can I display a base64 picture in SAS Visual Analytics in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-can-I-display-a-base64-picture-in-SAS-Visual-Analytics/m-p/914026#M17801</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Depending on how you want to display the image, you may want to opt for a Data-Driven Content object.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The DDC object receives data from the report as any other object. You need to create an HTML page which receives the data and displays the base64 image. You can find examples of DDC object and code on different articles in the communities.sas.com.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your case, after receiving the data you should use JavaScript to generate the img tag(s). The src property of your image should look like this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="hljs-attribute"&gt;src&lt;/SPAN&gt;&lt;SPAN&gt;="data&amp;amp;colon;image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4 //&lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;8&lt;/SPAN&gt;&lt;SPAN&gt;/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Let me know if you need more information about how to proceed.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Xavier&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2024 14:20:04 GMT</pubDate>
    <dc:creator>XavierBizoux</dc:creator>
    <dc:date>2024-02-01T14:20:04Z</dc:date>
    <item>
      <title>How can I display a base64 picture in SAS Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-can-I-display-a-base64-picture-in-SAS-Visual-Analytics/m-p/909206#M17695</link>
      <description>&lt;P&gt;Hello everybody!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset which have a field named photo and contains a base64 value that represents a photo. I would like to display in SAS Visual Analytics' report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any Idea about how can I display in a SAS Visual Analytics report?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 03:39:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-can-I-display-a-base64-picture-in-SAS-Visual-Analytics/m-p/909206#M17695</guid>
      <dc:creator>PepeGuevara</dc:creator>
      <dc:date>2023-12-21T03:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can I display a base64 picture in SAS Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-can-I-display-a-base64-picture-in-SAS-Visual-Analytics/m-p/914026#M17801</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Depending on how you want to display the image, you may want to opt for a Data-Driven Content object.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The DDC object receives data from the report as any other object. You need to create an HTML page which receives the data and displays the base64 image. You can find examples of DDC object and code on different articles in the communities.sas.com.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your case, after receiving the data you should use JavaScript to generate the img tag(s). The src property of your image should look like this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="hljs-attribute"&gt;src&lt;/SPAN&gt;&lt;SPAN&gt;="data&amp;amp;colon;image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4 //&lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;8&lt;/SPAN&gt;&lt;SPAN&gt;/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Let me know if you need more information about how to proceed.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Xavier&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 14:20:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-can-I-display-a-base64-picture-in-SAS-Visual-Analytics/m-p/914026#M17801</guid>
      <dc:creator>XavierBizoux</dc:creator>
      <dc:date>2024-02-01T14:20:04Z</dc:date>
    </item>
  </channel>
</rss>

