<?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 map with graphics as image file in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/save-map-with-graphics-as-image-file/m-p/180489#M16716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have just asked a &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/83433-Map-Right-click-copy-image"&gt;similar question&lt;/A&gt;&lt;SPAN&gt; (sorry, failed to find this thread)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My users are used to being able to right click to simply copy the image.&amp;nbsp; True we can (as we are on 10.1) use a print task, but that is quite intensive and time consuming, simply copying the image the browser has already is almost instantaneous.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ACM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Apr 2013 11:05:19 GMT</pubDate>
    <dc:creator>AdrianMarsden</dc:creator>
    <dc:date>2013-04-30T11:05:19Z</dc:date>
    <item>
      <title>Save map with graphics as image file</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/save-map-with-graphics-as-image-file/m-p/180486#M16713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are using the 3.1 Javascript API for displaying map, and have created few grahphics on map. We want the user to be able to save the resultant display as a jpeg, ping, bmp or some such format. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If user right-click on the base map and 'Save Picture As', user gets the map without the graphics layer. But we need to show graphics on image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone know how we can make this work? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Uday&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Apr 2013 10:57:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/save-map-with-graphics-as-image-file/m-p/180486#M16713</guid>
      <dc:creator>Udaya_BhaskerCheerala</dc:creator>
      <dc:date>2013-04-28T10:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Save map with graphics as image file</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/save-map-with-graphics-as-image-file/m-p/180487#M16714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you can use Print utility from ArcGIS Server 10.1 which has the capability to return the following Formats: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ PDF, PNG32, PNG8, JPG, GIF, EPS, SVG, SVGZ ]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a Print Widget in JS API to use the capability of Print Utility from ArcGIS Server 10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Code snippet: &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp; app.printer = new esri.dijit.Print({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map: app.map,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url: "http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, dojo.byId("printButton"));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; app.printer.startup();&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://developers.arcgis.com/en/javascript/jssamples/widget_print.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Here&lt;/A&gt;&lt;SPAN&gt; is the link to the sample which adds graphics and gets the resultant image in PNG32 format(You can change it to JPG).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://developers.arcgis.com/en/javascript/jsapi/print.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Print&lt;/A&gt;&lt;SPAN&gt; class documentation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:13:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/save-map-with-graphics-as-image-file/m-p/180487#M16714</guid>
      <dc:creator>ShreyasVakil</dc:creator>
      <dc:date>2021-12-11T09:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Save map with graphics as image file</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/save-map-with-graphics-as-image-file/m-p/180488#M16715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thankyou very much for the reply. But we are using ArcGIS Server 10.0, how could I achieve this in ArcGIS Server 10.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Uday&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I think you can use Print utility from ArcGIS Server 10.1 which has the capability to return the following Formats: &lt;BR /&gt;[ PDF, PNG32, PNG8, JPG, GIF, EPS, SVG, SVGZ ]&lt;BR /&gt;&lt;BR /&gt;We have a Print Widget in JS API to use the capability of Print Utility from ArcGIS Server 10.1.&lt;BR /&gt;&lt;BR /&gt;Code snippet: &lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp; app.printer = new esri.dijit.Print({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map: app.map,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url: "http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, dojo.byId("printButton"));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; app.printer.startup();&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://developers.arcgis.com/en/javascript/jssamples/widget_print.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Here&lt;/A&gt; is the link to the sample which adds graphics and gets the resultant image in PNG32 format(You can change it to JPG).&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://developers.arcgis.com/en/javascript/jsapi/print.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Print&lt;/A&gt; class documentation.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:13:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/save-map-with-graphics-as-image-file/m-p/180488#M16715</guid>
      <dc:creator>Udaya_BhaskerCheerala</dc:creator>
      <dc:date>2021-12-11T09:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Save map with graphics as image file</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/save-map-with-graphics-as-image-file/m-p/180489#M16716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have just asked a &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/83433-Map-Right-click-copy-image"&gt;similar question&lt;/A&gt;&lt;SPAN&gt; (sorry, failed to find this thread)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My users are used to being able to right click to simply copy the image.&amp;nbsp; True we can (as we are on 10.1) use a print task, but that is quite intensive and time consuming, simply copying the image the browser has already is almost instantaneous.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ACM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 11:05:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/save-map-with-graphics-as-image-file/m-p/180489#M16716</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2013-04-30T11:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Save map with graphics as image file</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/save-map-with-graphics-as-image-file/m-p/180490#M16717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thank you for the tutorials and sample codes up here, but can you tell me whether this is a good way to &lt;/SPAN&gt;&lt;A href="http://www.rasteredge.com/how-to/csharp-imaging/open-save-file/" rel="nofollow"&gt;&lt;SPAN style="color:&amp;quot;#000000&amp;quot;;"&gt;save image as jpeg file&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;. i am new on this, any suggestions? thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 02:02:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/save-map-with-graphics-as-image-file/m-p/180490#M16717</guid>
      <dc:creator>fdsffdsf</dc:creator>
      <dc:date>2014-04-02T02:02:32Z</dc:date>
    </item>
  </channel>
</rss>

