<?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: Grainy Raster Dataset in Flex, but not in ArcMap??? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/grainy-raster-dataset-in-flex-but-not-in-arcmap/m-p/670249#M15100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Are you adding them to the map as a ArcGISDynamicMapServiceLayer? If so have you tried to set the imageFormat="jpg" and dpi="150"? This is what I do for my Imagery layers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Mar 2011 11:19:52 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2011-03-22T11:19:52Z</dc:date>
    <item>
      <title>Grainy Raster Dataset in Flex, but not in ArcMap???</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/grainy-raster-dataset-in-flex-but-not-in-arcmap/m-p/670247#M15098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I have two Raster Datasets containing Aerial Photography. They has been created on Server 9.3.1. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One of them appears perfectly from Flex, but the other appears really grainy like a heavily compressed JPEG. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Both of these appear fine in ArcMap when using Direct Connect or the actual ArcGIS Server service the Flex API is using?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2011 19:56:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/grainy-raster-dataset-in-flex-but-not-in-arcmap/m-p/670247#M15098</guid>
      <dc:creator>TonyCollins</dc:creator>
      <dc:date>2011-03-21T19:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Grainy Raster Dataset in Flex, but not in ArcMap???</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/grainy-raster-dataset-in-flex-but-not-in-arcmap/m-p/670248#M15099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you look closely at this image you can see what I mean. Look in the bottom left at the grass to see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="http://ptweb.norfolk.gov.uk/images/RasterRubbish.jpg" /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The image quality is identical in Arcmap when calling from the database or using the ArcGIS service, but when viewed through the API it goes grainy like above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HELP!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 08:59:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/grainy-raster-dataset-in-flex-but-not-in-arcmap/m-p/670248#M15099</guid>
      <dc:creator>TonyCollins</dc:creator>
      <dc:date>2011-03-22T08:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Grainy Raster Dataset in Flex, but not in ArcMap???</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/grainy-raster-dataset-in-flex-but-not-in-arcmap/m-p/670249#M15100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Are you adding them to the map as a ArcGISDynamicMapServiceLayer? If so have you tried to set the imageFormat="jpg" and dpi="150"? This is what I do for my Imagery layers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 11:19:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/grainy-raster-dataset-in-flex-but-not-in-arcmap/m-p/670249#M15100</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-03-22T11:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Grainy Raster Dataset in Flex, but not in ArcMap???</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/grainy-raster-dataset-in-flex-but-not-in-arcmap/m-p/670250#M15101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Tony,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Are you adding them to the map as a ArcGISDynamicMapServiceLayer? If so have you tried to set the imageFormat="jpg" and dpi="150"? This is what I do for my Imagery layers.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are a STAR!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing though, I have had to use PNG24 as this layer is scale dependant and when the layer should not be shown the whole screen goes white. I am asuming this is because the API makes the layers transparent or something when they should not be visible (which JPG does not support)??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this sound right to you?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 11:56:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/grainy-raster-dataset-in-flex-but-not-in-arcmap/m-p/670250#M15101</guid>
      <dc:creator>TonyCollins</dc:creator>
      <dc:date>2011-03-22T11:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Grainy Raster Dataset in Flex, but not in ArcMap???</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/grainy-raster-dataset-in-flex-but-not-in-arcmap/m-p/670251#M15102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Yep that's why I actually use these lines in my code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;if(label == "Aerial Photography")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dynLayer.imageFormat = "jpg";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dynLayer.dpi = 150;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dynLayer.minScale = 10000;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:17:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/grainy-raster-dataset-in-flex-but-not-in-arcmap/m-p/670251#M15102</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T04:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Grainy Raster Dataset in Flex, but not in ArcMap???</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/grainy-raster-dataset-in-flex-but-not-in-arcmap/m-p/670252#M15103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Tony,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; Yep that's why I actually use these lines in my code:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;if(label == "Aerial Photography")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dynLayer.imageFormat = "jpg";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dynLayer.dpi = 150;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dynLayer.minScale = 10000;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know whether the image format I specifiy is done on the client or ArcGIS Server? I think I would prefer using PNG24 to stop the white area you get whilst the layer loads but I definately don't want any extra load on the server?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:17:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/grainy-raster-dataset-in-flex-but-not-in-arcmap/m-p/670252#M15103</guid>
      <dc:creator>TonyCollins</dc:creator>
      <dc:date>2021-12-12T04:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Grainy Raster Dataset in Flex, but not in ArcMap???</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/grainy-raster-dataset-in-flex-but-not-in-arcmap/m-p/670253#M15104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I am pretty sure it is server side. Which means larger images/bytes that are to be transferred to the client if PNG 24.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 13:34:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/grainy-raster-dataset-in-flex-but-not-in-arcmap/m-p/670253#M15104</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-03-22T13:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Grainy Raster Dataset in Flex, but not in ArcMap???</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/grainy-raster-dataset-in-flex-but-not-in-arcmap/m-p/670254#M15105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Tony,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I am pretty sure it is server side. Which means larger images/bytes that are to be transferred to the client if PNG 24.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oh Ok, I shall have to do some testing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks as always Robert, you helped me hugely!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 13:40:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/grainy-raster-dataset-in-flex-but-not-in-arcmap/m-p/670254#M15105</guid>
      <dc:creator>TonyCollins</dc:creator>
      <dc:date>2011-03-22T13:40:42Z</dc:date>
    </item>
  </channel>
</rss>

