<?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: Save Image as Part of layout - How to do that using SDK ? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/save-image-as-part-of-layout-how-to-do-that-using/m-p/805153#M2138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you look inside the project file (it's a zip format, so you can unzip it) you will be able to find your layout stored in form of a CIMLayout XML (mine is called layout.xml). You can also use the &lt;A href="https://github.com/Esri/arcgis-pro-sdk-cim-viewer"&gt;CIMViewer &lt;/A&gt;tool to inspect the CIMLayout without looking at the project file.&amp;nbsp; If you look through the CIMLayout and more specifically through&amp;nbsp;the Graphic elements within the CIMLayout tag you will find that your image is included under the PictureURL tag as a base64 encoded jpeg.&amp;nbsp; That's why you see the image when you open your layout even so the original path from where the image was sourced is inaccessible.&amp;nbsp;&amp;nbsp;When you further inspect the same Graphics tag you see the original source path stored under the SourceURL tag.&amp;nbsp; This SourceURL tag's content is what you see when you open up the properties page for the image.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jun 2020 21:02:31 GMT</pubDate>
    <dc:creator>Wolf</dc:creator>
    <dc:date>2020-06-10T21:02:31Z</dc:date>
    <item>
      <title>Save Image as Part of layout - How to do that using SDK ?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/save-image-as-part-of-layout-how-to-do-that-using/m-p/805152#M2137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I imported a MXD with a layout to a ArcGIS Pro project, embedded pictures also are&amp;nbsp;imported and&amp;nbsp;the properties of picture element&amp;nbsp;show no URL which is expected. When I paste a image directly into layout in Pro, it shows a temp file path and it stays the same once saved. I can see the image when I reopen the pro project although the temp file path is inaccessible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ArcObjects SDK, using&amp;nbsp;&lt;A href="https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#IPictureElement_SavePictureInDocument.htm"&gt;SavePictureInDocument property&lt;/A&gt;&amp;nbsp;we could save image as they were copied directly to document. How can we do that in ArcGIS ProSDK ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2020 18:51:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/save-image-as-part-of-layout-how-to-do-that-using/m-p/805152#M2137</guid>
      <dc:creator>sai_phaneendra</dc:creator>
      <dc:date>2020-06-10T18:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Save Image as Part of layout - How to do that using SDK ?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/save-image-as-part-of-layout-how-to-do-that-using/m-p/805153#M2138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you look inside the project file (it's a zip format, so you can unzip it) you will be able to find your layout stored in form of a CIMLayout XML (mine is called layout.xml). You can also use the &lt;A href="https://github.com/Esri/arcgis-pro-sdk-cim-viewer"&gt;CIMViewer &lt;/A&gt;tool to inspect the CIMLayout without looking at the project file.&amp;nbsp; If you look through the CIMLayout and more specifically through&amp;nbsp;the Graphic elements within the CIMLayout tag you will find that your image is included under the PictureURL tag as a base64 encoded jpeg.&amp;nbsp; That's why you see the image when you open your layout even so the original path from where the image was sourced is inaccessible.&amp;nbsp;&amp;nbsp;When you further inspect the same Graphics tag you see the original source path stored under the SourceURL tag.&amp;nbsp; This SourceURL tag's content is what you see when you open up the properties page for the image.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2020 21:02:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/save-image-as-part-of-layout-how-to-do-that-using/m-p/805153#M2138</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2020-06-10T21:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Save Image as Part of layout - How to do that using SDK ?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/save-image-as-part-of-layout-how-to-do-that-using/m-p/805154#M2139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/10927"&gt;Wolfgang Kaiser&lt;/A&gt;‌ Understood. I'll setup CIMViewer and explore more. After reading the above explanation, one follow up question is&amp;nbsp;does&amp;nbsp;every&amp;nbsp;picture either inserted or pasted in the layout would be saved as base64 jpeg?&lt;BR /&gt;&lt;BR /&gt;If not, Any idea on this part of the question ?&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;In ArcObjects SDK, using&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdesktop.arcgis.com%2Fen%2Farcobjects%2Flatest%2Fnet%2Fwebframe.htm%23IPictureElement_SavePictureInDocument.htm" rel="nofollow" style="color: #287433; background-color: #ffffff; border: 0px; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;SavePictureInDocument property&lt;/A&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;we could save image as they were copied directly to document. How can we do that in ArcGIS ProSDK ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2020 21:50:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/save-image-as-part-of-layout-how-to-do-that-using/m-p/805154#M2139</guid>
      <dc:creator>sai_phaneendra</dc:creator>
      <dc:date>2020-06-10T21:50:29Z</dc:date>
    </item>
  </channel>
</rss>

