<?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 World_Terrain_Base has transparent pixels? in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/world-terrain-base-has-transparent-pixels/m-p/2260#M5</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've noticed the World_Terrain_Base map server includes transparent pixels when exporting images as png.&amp;nbsp; I find that odd, since this is clearly supposed to be a base map.&amp;nbsp; This is a minor problem because my c# application is using an http GET to export the map image as a png, but then it gets converted into a bitmap in order for a legacy OpenGL view to render the image on a surface.&amp;nbsp; As a result, the transparent pixels show up as black, against a grey-scale map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Black Spots.png" class="jive-image image-1" src="/legacyfs/online/51567_Black Spots.png" style="width: 620px; height: 707px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Verses what a web browser renders:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Original.png" class="jive-image image-2" src="https://community.esri.com/legacyfs/online/51568_Original.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I save the image from the web as a png, and load it into a paint program (I use Paint.NET) I can show the transparent pixels by inserting a non-white layer under the map image:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Red Spots.png" class="jive-image image-3" src="/legacyfs/online/51572_Red Spots.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, was this on purpose, or is there an error in the map image data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the export operation I used:&lt;/P&gt;&lt;P&gt;&lt;A href="https://services.arcgisonline.com/arcgis/rest/services/World_Terrain_Base/MapServer/export?bbox=-11909062.8338294,4057781.72885221,-11801309.0454756,4183277.06105119&amp;amp;bboxSR=3395&amp;amp;size=348,406&amp;amp;imageSR=3395&amp;amp;layers=show:0&amp;amp;transparent=true&amp;amp;f=image" title="https://services.arcgisonline.com/arcgis/rest/services/World_Terrain_Base/MapServer/export?bbox=-11909062.8338294,4057781.72885221,-11801309.0454756,4183277.06105119&amp;amp;bboxSR=3395&amp;amp;size=348,406&amp;amp;imageSR=3395&amp;amp;layers=show:0&amp;amp;transparent=true&amp;amp;f=image"&gt;https://services.arcgisonline.com/arcgis/rest/services/World_Terrain_Base/MapServer/export?bbox=-11909062.8338294,405778…&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jan 2015 23:52:39 GMT</pubDate>
    <dc:creator>RobertPoland</dc:creator>
    <dc:date>2015-01-15T23:52:39Z</dc:date>
    <item>
      <title>World_Terrain_Base has transparent pixels?</title>
      <link>https://community.esri.com/t5/developers-questions/world-terrain-base-has-transparent-pixels/m-p/2260#M5</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've noticed the World_Terrain_Base map server includes transparent pixels when exporting images as png.&amp;nbsp; I find that odd, since this is clearly supposed to be a base map.&amp;nbsp; This is a minor problem because my c# application is using an http GET to export the map image as a png, but then it gets converted into a bitmap in order for a legacy OpenGL view to render the image on a surface.&amp;nbsp; As a result, the transparent pixels show up as black, against a grey-scale map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Black Spots.png" class="jive-image image-1" src="/legacyfs/online/51567_Black Spots.png" style="width: 620px; height: 707px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Verses what a web browser renders:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Original.png" class="jive-image image-2" src="https://community.esri.com/legacyfs/online/51568_Original.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I save the image from the web as a png, and load it into a paint program (I use Paint.NET) I can show the transparent pixels by inserting a non-white layer under the map image:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Red Spots.png" class="jive-image image-3" src="/legacyfs/online/51572_Red Spots.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, was this on purpose, or is there an error in the map image data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the export operation I used:&lt;/P&gt;&lt;P&gt;&lt;A href="https://services.arcgisonline.com/arcgis/rest/services/World_Terrain_Base/MapServer/export?bbox=-11909062.8338294,4057781.72885221,-11801309.0454756,4183277.06105119&amp;amp;bboxSR=3395&amp;amp;size=348,406&amp;amp;imageSR=3395&amp;amp;layers=show:0&amp;amp;transparent=true&amp;amp;f=image" title="https://services.arcgisonline.com/arcgis/rest/services/World_Terrain_Base/MapServer/export?bbox=-11909062.8338294,4057781.72885221,-11801309.0454756,4183277.06105119&amp;amp;bboxSR=3395&amp;amp;size=348,406&amp;amp;imageSR=3395&amp;amp;layers=show:0&amp;amp;transparent=true&amp;amp;f=image"&gt;https://services.arcgisonline.com/arcgis/rest/services/World_Terrain_Base/MapServer/export?bbox=-11909062.8338294,405778…&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 23:52:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/world-terrain-base-has-transparent-pixels/m-p/2260#M5</guid>
      <dc:creator>RobertPoland</dc:creator>
      <dc:date>2015-01-15T23:52:39Z</dc:date>
    </item>
  </channel>
</rss>

