<?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 TakeScreenShot arcgis javascript 4.13 - Black Background in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/takescreenshot-arcgis-javascript-4-13-black/m-p/163921#M15216</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;I have a base layer that is the outlines of blocks. DCDB.&lt;/P&gt;&lt;P&gt;there is no fill just outline.&lt;/P&gt;&lt;P&gt;from service:&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;Symbol:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Style:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;esriSFSSolid&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Color:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;[0, 0, 0, 0]&lt;BR /&gt;&lt;EM&gt;Outline:&lt;/EM&gt;&lt;EM&gt;Style:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;esriSLSSolid&lt;BR /&gt;&lt;EM&gt;Color:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;[156, 156, 156, 127]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i use&amp;nbsp;view.takeScreenshot()&amp;nbsp; &amp;nbsp;i get a black background. which doesnt match what i see on the screen, which is a white background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ive also tried a sat image as the base layer. and if i back that visible = false, on the view i get my parcel outlines with a white background. If i take a snapshot&amp;nbsp; i get the same black background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is sometimes we just want a snapshot of the parcel outlines....not with an image on any background.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ive attached a screenshot of my view and&amp;nbsp; the image i get from takesnapshot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Nov 2019 05:16:35 GMT</pubDate>
    <dc:creator>DavidDoyle</dc:creator>
    <dc:date>2019-11-26T05:16:35Z</dc:date>
    <item>
      <title>TakeScreenShot arcgis javascript 4.13 - Black Background</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/takescreenshot-arcgis-javascript-4-13-black/m-p/163921#M15216</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;I have a base layer that is the outlines of blocks. DCDB.&lt;/P&gt;&lt;P&gt;there is no fill just outline.&lt;/P&gt;&lt;P&gt;from service:&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;Symbol:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Style:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;esriSFSSolid&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Color:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;[0, 0, 0, 0]&lt;BR /&gt;&lt;EM&gt;Outline:&lt;/EM&gt;&lt;EM&gt;Style:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;esriSLSSolid&lt;BR /&gt;&lt;EM&gt;Color:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;[156, 156, 156, 127]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i use&amp;nbsp;view.takeScreenshot()&amp;nbsp; &amp;nbsp;i get a black background. which doesnt match what i see on the screen, which is a white background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ive also tried a sat image as the base layer. and if i back that visible = false, on the view i get my parcel outlines with a white background. If i take a snapshot&amp;nbsp; i get the same black background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is sometimes we just want a snapshot of the parcel outlines....not with an image on any background.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ive attached a screenshot of my view and&amp;nbsp; the image i get from takesnapshot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2019 05:16:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/takescreenshot-arcgis-javascript-4-13-black/m-p/163921#M15216</guid>
      <dc:creator>DavidDoyle</dc:creator>
      <dc:date>2019-11-26T05:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: TakeScreenShot arcgis javascript 4.13 - Black Background</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/takescreenshot-arcgis-javascript-4-13-black/m-p/163922#M15217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;A Jpeg output always has to have a background and because you do not have a background visible the default back color is used. If you screenshot with a PNG format then it does allow for a transparent background and this would be idea for your situation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2019 13:41:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/takescreenshot-arcgis-javascript-4-13-black/m-p/163922#M15217</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-11-26T13:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: TakeScreenShot arcgis javascript 4.13 - Black Background</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/takescreenshot-arcgis-javascript-4-13-black/m-p/163923#M15218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Robert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel rather stupid as I knew about the png allowing transpernt backgrounds.&amp;nbsp; but I tried everything but changing the format.&lt;/P&gt;&lt;P&gt;As soon as I did that it worked perfect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;As a new esri user&amp;nbsp; these forums are a life saver.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;Thanks again.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2019 23:52:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/takescreenshot-arcgis-javascript-4-13-black/m-p/163923#M15218</guid>
      <dc:creator>DavidDoyle</dc:creator>
      <dc:date>2019-11-26T23:52:38Z</dc:date>
    </item>
  </channel>
</rss>

