<?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: Export Raster with Applied Color Ramp with ArcPy in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609986#M47620</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure... an image would help&lt;/P&gt;&lt;P&gt;If you clipped/extracted ndvi image had a color scheme, then you should be able to use it... not the original, but the extracted one and there are only two options with copyraster and you indicate applysymbology from layer doesn't work (you need a layer).&lt;/P&gt;&lt;P&gt;If you can show with the extracted image done manually and what you are getting via code, then I might have a clearer picture why you need a color ramp other than b&amp;amp;w&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2018 21:17:47 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-06-14T21:17:47Z</dc:date>
    <item>
      <title>Export Raster with Applied Color Ramp with ArcPy</title>
      <link>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609978#M47612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: rgba(248, 248, 248, 0.6);"&gt;There is an NDVI image of a small agricultural area. I was also given separate shapefiles for all fields (37 fields) inside that area. I have written a script that clipped NDVI image for each field using the shapefile. When a clipped NDVI image is saved, it is exported in tiff format and grayscale.&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;CODE&gt;&lt;SPAN class="" style="color: #2b91af; border: 0px; font-weight: inherit; font-size: 13px;"&gt;Shape_Files_Name&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;[&lt;/SPAN&gt;&lt;SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit; font-size: 13px;"&gt;'TX1_10_poly.shp'&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit; font-size: 13px;"&gt;'TX1_11N_poly.shp'&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit; font-size: 13px;"&gt;'TX1_11S_poly.shp'&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;...........]
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #101094; border: 0px; font-weight: inherit; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt; n &lt;/SPAN&gt;&lt;SPAN class="" style="color: #101094; border: 0px; font-weight: inherit; font-size: 13px;"&gt;in&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #2b91af; border: 0px; font-weight: inherit; font-size: 13px;"&gt;Shape_Files_Name&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #858c93; border: 0px; font-weight: inherit; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #mask out each field&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #2b91af; border: 0px; font-weight: inherit; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Clipped_File_Name&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt; random&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;randint&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit; font-size: 13px;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit; font-size: 13px;"&gt;101&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;arcpy&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;gp&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #2b91af; border: 0px; font-weight: inherit; font-size: 13px;"&gt;ExtractByMask_sa&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;NDVI_Layer&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt; n&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;, &lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/CODE&gt;&lt;CODE&gt;&lt;SPAN class="" style="color: #2b91af; border: 0px; font-weight: inherit; font-size: 13px;"&gt;Clipped_File_Name&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;/CODE&gt;&lt;CODE&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt; 
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #858c93; border: 0px; font-weight: inherit; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #save the raster&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt; 
&lt;/SPAN&gt;&lt;/CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #2b91af; border: 0px; font-weight: inherit; font-size: 13px;"&gt;CopyRaster_management&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;CODE&gt;&lt;SPAN class="" style="color: #2b91af; border: 0px; font-weight: inherit; font-size: 13px;"&gt;Clipped_File_Name&lt;/SPAN&gt;&lt;/CODE&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt; NDVI_Save_Location_and_Extension&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: rgba(248, 248, 248, 0.6);"&gt;I was trying to find a way to export them to a known colour ramp. Thus, a dummy layer is created and applied the desired colour ramp to it. Later, for each NDVI field image, just applying the colour ramp by the following codes&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;CODE&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #2b91af; border: 0px; font-weight: inherit; font-size: 13px;"&gt;ApplySymbologyFromLayer_management&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #101094; border: 0px; font-weight: inherit; font-size: 13px;"&gt;in&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt; raster&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt; color ramp layer&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"&gt;)&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/BLOCKQUOTE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: rgba(248, 248, 248, 0.6);"&gt;It works. But I would like to export those NDVI images in the colour ramp I applied. Is there any way to do that in ArcPy?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:06:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609978#M47612</guid>
      <dc:creator>Md_Abdullah_All_Sourav</dc:creator>
      <dc:date>2021-12-12T02:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Export Raster with Applied Color Ramp with ArcPy</title>
      <link>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609979#M47613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/copy-raster.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/copy-raster.htm"&gt;Copy Raster—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #4c4c4c; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 17px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre-wrap; word-spacing: 0px; word-wrap: break-word;"&gt;CopyRaster_management (in_raster, out_rasterdataset, {config_keyword}, {background_value}, {nodata_value}, {onebit_to_eightbit}, &lt;STRONG&gt;{colormap_to_RGB}&lt;/STRONG&gt;, {pixel_type}, {scale_pixel_value}, &lt;STRONG&gt;{RGB_to_Colormap}&lt;/STRONG&gt;, {format}, {transform})&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;There are optional parameters there..which you might want to experiment with that deal with color.&amp;nbsp; If your raster is has a colormap already you might be able to save that with the raster since I suspect it is defaulting and not being set&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 19:12:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609979#M47613</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-06-14T19:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Export Raster with Applied Color Ramp with ArcPy</title>
      <link>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609980#M47614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There was no colormap. To create a colormap, I clicked "Unique Values" on the symbology of the raster properties, it showed the maximum limit of unique value has been reached. Thus, I can't even save it with any color map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw, after applying color ramp, the raster can manually be exported with color ramp in it. It was mainly because the RGB is forced into it. However, could not find any ArcPy so far to do that!&amp;nbsp;&lt;IMG alt="" class="image-1 j-img-centered jive-image" height="436" src="https://community.esri.com/legacyfs/online/411456_Screenshot_56.png" style="display: block; margin-left: auto; margin-right: auto;" width="525" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 20:24:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609980#M47614</guid>
      <dc:creator>Md_Abdullah_All_Sourav</dc:creator>
      <dc:date>2018-06-14T20:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Export Raster with Applied Color Ramp with ArcPy</title>
      <link>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609981#M47615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a very similar problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://gis.stackexchange.com/questions/28438/is-there-a-way-to-programatically-force-rgb-3-bands-in-a-raster-with-arcpy" title="https://gis.stackexchange.com/questions/28438/is-there-a-way-to-programatically-force-rgb-3-bands-in-a-raster-with-arcpy"&gt;dem - Is there a way to programatically force RGB (3 bands) in a raster with arcpy? - Geographic Information Systems Sta…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 20:25:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609981#M47615</guid>
      <dc:creator>Md_Abdullah_All_Sourav</dc:creator>
      <dc:date>2018-06-14T20:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Export Raster with Applied Color Ramp with ArcPy</title>
      <link>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609982#M47616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unique wouldn't work in any event.&amp;nbsp; Was your image rgb to begin with? there is that rgb_to_colormap option&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 20:29:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609982#M47616</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-06-14T20:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Export Raster with Applied Color Ramp with ArcPy</title>
      <link>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609983#M47617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it was a single band image. NDVI value ranging from -1 to 1.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 20:38:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609983#M47617</guid>
      <dc:creator>Md_Abdullah_All_Sourav</dc:creator>
      <dc:date>2018-06-14T20:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Export Raster with Applied Color Ramp with ArcPy</title>
      <link>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609984#M47618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gray scale is what I would expect given the range of values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 20:44:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609984#M47618</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-06-14T20:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Export Raster with Applied Color Ramp with ArcPy</title>
      <link>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609985#M47619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any other option at all?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 21:12:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609985#M47619</guid>
      <dc:creator>Md_Abdullah_All_Sourav</dc:creator>
      <dc:date>2018-06-14T21:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Export Raster with Applied Color Ramp with ArcPy</title>
      <link>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609986#M47620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure... an image would help&lt;/P&gt;&lt;P&gt;If you clipped/extracted ndvi image had a color scheme, then you should be able to use it... not the original, but the extracted one and there are only two options with copyraster and you indicate applysymbology from layer doesn't work (you need a layer).&lt;/P&gt;&lt;P&gt;If you can show with the extracted image done manually and what you are getting via code, then I might have a clearer picture why you need a color ramp other than b&amp;amp;w&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 21:17:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609986#M47620</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-06-14T21:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Export Raster with Applied Color Ramp with ArcPy</title>
      <link>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609987#M47621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to explain the whole scenario -&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. The shown image is the pansharpened&amp;nbsp;image which contains 4 bands (BGR and NIR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="411476" alt="" class="image-1 jive-image" height="390" src="https://community.esri.com/legacyfs/online/411476_Screenshot_59.png" width="806" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. NDVI was generated using "Image Analysis" option. The object of interest is the field no. 7N as its shapefile is also turned on (red circle.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="411477" alt="" class="image-2 jive-image" height="367" src="https://community.esri.com/legacyfs/online/411477_Screenshot_61.png" width="766" /&gt;&lt;/P&gt;&lt;P&gt;3. Here is the clipped field -using "Extracted By Mask" (Spatial Analyst) tools.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="411478" alt="" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/411478_Screenshot_62.png" /&gt;&lt;/P&gt;&lt;P&gt;4. After changing the color ramp, is it looks like this. It is better for visualization, so our team asked for the same color image. I am trying to save this file with exactly this color. If I use copy raster then the result gets&amp;nbsp;back to the image shown in no. 3 (grayscale).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="411479" class="jive-image image-4" height="379" src="https://community.esri.com/legacyfs/online/411479_pastedImage_4.png" width="719" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me is there really anyway to save the raster exactly the same [as shown in no.4] with Python (Export function can do that)?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2018 03:25:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-raster-with-applied-color-ramp-with-arcpy/m-p/609987#M47621</guid>
      <dc:creator>Md_Abdullah_All_Sourav</dc:creator>
      <dc:date>2018-06-15T03:25:42Z</dc:date>
    </item>
  </channel>
</rss>

