<?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 ArcGISImageServiceLayer Issue in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgisimageservicelayer-issue/m-p/80275#M1947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I created a series of Mosaic Datasets from ECW files that are sitting in a File Geodatabase.&amp;nbsp; I then created ArcGIS Server image services for each of them, which I then consume within a Silverlight 2.0 API application.&amp;nbsp; When I initially viewed these ArcGISImageServiceLayers in my SL app there was a black background that filled the remaining map extent around the image itself.&amp;nbsp; I'll attach an image of this so you can see what I mean.&amp;nbsp; I then discovered the NoData property on the ArcGISImageServiceLayer object.&amp;nbsp; I set that to 255 for all my image services and the black background went away ... for all but one of my image services.&amp;nbsp; I am no image expert, but I can't for the life of me figure out why this one image service is not cooperating.&amp;nbsp; I figured I'd post something out here and see if anyone has run into this sort of thing before and knows of a workaround.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It does not appear to be an issue with the Mosaic Dataset or the image service as I can preview both of them in ArcCatalog and ArcMap and the black background is nowhere to be found.&amp;nbsp; All signs point to this being a Silverlight or Silverlight API 2.0 issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any help you can provide for me on this ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jan 2011 17:54:40 GMT</pubDate>
    <dc:creator>AndyWright</dc:creator>
    <dc:date>2011-01-03T17:54:40Z</dc:date>
    <item>
      <title>ArcGISImageServiceLayer Issue</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgisimageservicelayer-issue/m-p/80275#M1947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I created a series of Mosaic Datasets from ECW files that are sitting in a File Geodatabase.&amp;nbsp; I then created ArcGIS Server image services for each of them, which I then consume within a Silverlight 2.0 API application.&amp;nbsp; When I initially viewed these ArcGISImageServiceLayers in my SL app there was a black background that filled the remaining map extent around the image itself.&amp;nbsp; I'll attach an image of this so you can see what I mean.&amp;nbsp; I then discovered the NoData property on the ArcGISImageServiceLayer object.&amp;nbsp; I set that to 255 for all my image services and the black background went away ... for all but one of my image services.&amp;nbsp; I am no image expert, but I can't for the life of me figure out why this one image service is not cooperating.&amp;nbsp; I figured I'd post something out here and see if anyone has run into this sort of thing before and knows of a workaround.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It does not appear to be an issue with the Mosaic Dataset or the image service as I can preview both of them in ArcCatalog and ArcMap and the black background is nowhere to be found.&amp;nbsp; All signs point to this being a Silverlight or Silverlight API 2.0 issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any help you can provide for me on this ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jan 2011 17:54:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgisimageservicelayer-issue/m-p/80275#M1947</guid>
      <dc:creator>AndyWright</dc:creator>
      <dc:date>2011-01-03T17:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGISImageServiceLayer Issue</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgisimageservicelayer-issue/m-p/80276#M1948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The default image format for Image services is JPEG. Did you change the image format to PNG or PNGJPG which support transparency?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 04:05:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgisimageservicelayer-issue/m-p/80276#M1948</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2011-01-04T04:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGISImageServiceLayer Issue</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgisimageservicelayer-issue/m-p/80277#M1949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Morten,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't change anything about the image format at all. I just created the Mosaic Dataset, added a raster to it (ECW file), then published it as an Image Service. I did 12 ECW files exactly the same way and only one of them is showing this black background.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just added this code and I stll get the black background ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mosaicLayer.Url = Url;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;mosaicLayer.ImageFormat = ArcGISImageServiceLayer.ImageServiceImageFormat.PNG8;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Nullable&amp;lt;double&amp;gt; myNoData = 255;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mosaicLayer.NoData = myNoData;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 12:46:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgisimageservicelayer-issue/m-p/80277#M1949</guid>
      <dc:creator>AndyWright</dc:creator>
      <dc:date>2011-01-04T12:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGISImageServiceLayer Issue</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgisimageservicelayer-issue/m-p/80278#M1950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are specifying White as transparent (255). Try and set it to '0' instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you see the same issue if you use the REST endpoint directly (ie outside of Silverlight)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 22:11:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgisimageservicelayer-issue/m-p/80278#M1950</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2011-01-04T22:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGISImageServiceLayer Issue</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgisimageservicelayer-issue/m-p/80279#M1951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeh I actually tried 0 first and that makes all of my imagery take on that black background.&amp;nbsp; There is some white space around the imagery itself, which I believe represents the NoData area in the image.&amp;nbsp; I attached a screen shot of one of our images in the application so you can see that.&amp;nbsp; I think the black background is being put there by Silverlight because it doesn't know what to do with the rest of the map space outside of the bounding box of the image.&amp;nbsp; But why does this only happen for one of our 12 images?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Morten, is there any way I can get you this image I'm having trouble with?&amp;nbsp; It's 18GB.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 12:50:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgisimageservicelayer-issue/m-p/80279#M1951</guid>
      <dc:creator>AndyWright</dc:creator>
      <dc:date>2011-01-05T12:50:14Z</dc:date>
    </item>
  </channel>
</rss>

