<?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: colorizing a black and white Imagery Layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1032455#M71916</link>
    <description>&lt;P&gt;Check out all of the available &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryTileLayer.html#renderer" target="_self"&gt;renderers&lt;/A&gt; and yes, maybe the &lt;SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-RasterColormapRenderer.html" target="_self"&gt;RasterColormapRenderer&lt;/A&gt;&amp;nbsp;or &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-RasterShadedReliefRenderer.html" target="_self"&gt;RasterShadedReliefRenderer&lt;/A&gt; might be better fits for what you need.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Mar 2021 16:01:03 GMT</pubDate>
    <dc:creator>JohnGrayson</dc:creator>
    <dc:date>2021-03-03T16:01:03Z</dc:date>
    <item>
      <title>colorizing a black and white Imagery Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1031608#M71889</link>
      <description>&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;I am using the terrain elevation layer wich is black and white but I'd like to give it some color for more user friendly look.&lt;/P&gt;&lt;P&gt;For instance black to blue grey to green and white to red or more steps .. is there a built in library for this ?&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 18:53:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1031608#M71889</guid>
      <dc:creator>roch</dc:creator>
      <dc:date>2021-03-01T18:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: colorizing a black and white Imagery Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1031617#M71890</link>
      <description>&lt;P&gt;Can you please share a simple CodePen showing us what you've tried so far?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 19:16:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1031617#M71890</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2021-03-01T19:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: colorizing a black and white Imagery Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1031639#M71891</link>
      <description>&lt;P&gt;use blend modes:&amp;nbsp;&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/intro-blendmode-layer/" target="_blank"&gt;Intro to layer blending | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 19:57:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1031639#M71891</guid>
      <dc:creator>johnbrosowsky</dc:creator>
      <dc:date>2021-03-01T19:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: colorizing a black and white Imagery Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1031710#M71894</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/11373"&gt;@JohnGrayson&lt;/a&gt;&amp;nbsp;well right now I'm gathering informations on how to do this so I have nothing to show. I just made a map with markers yet ...&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/11373"&gt;@JohnGrayson&lt;/a&gt;&amp;nbsp;thank you for your answer but , as I understand how blending work from photo editing , It could be part of the answer If I could blend only specific parts of the grayscale one at a time(black to red, gray to green and white to red), wich would also seem very coslty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to end up with something like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="roch_1-1614637690196.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7233iF13C001596AD012E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="roch_1-1614637690196.png" alt="roch_1-1614637690196.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 22:28:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1031710#M71894</guid>
      <dc:creator>roch</dc:creator>
      <dc:date>2021-03-01T22:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: colorizing a black and white Imagery Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1031713#M71895</link>
      <description>&lt;P&gt;example where you can define a color ramp to apply:&amp;nbsp;&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=layers-imagery-renderer" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=layers-imagery-renderer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 22:30:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1031713#M71895</guid>
      <dc:creator>johnbrosowsky</dc:creator>
      <dc:date>2021-03-01T22:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: colorizing a black and white Imagery Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1031832#M71899</link>
      <description>&lt;P&gt;wow ! I did bot now about RasterShadedReliefRenderers, it's really cool thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I think indeed the color ramp is what I was looking for&amp;nbsp; ! thanks a lot&lt;/P&gt;&lt;P&gt;last question though : colorrange remaps&amp;nbsp; the grayscale of the whole terrain map to the given colors, is it possible to make the color range refine to a zoomed-in region min and max altitude&amp;nbsp; ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 10:16:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1031832#M71899</guid>
      <dc:creator>calimucho</dc:creator>
      <dc:date>2021-03-02T10:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: colorizing a black and white Imagery Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1031845#M71900</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16875"&gt;@johnbrosowsky&lt;/a&gt;&amp;nbsp;could I not use RasterColorMapRenderer then ? I made this but does not seem to work ...&amp;nbsp;&lt;A href="https://codepen.io/ebkgne/pen/mdOLLep" target="_blank"&gt;https://codepen.io/ebkgne/pen/mdOLLep&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 10:51:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1031845#M71900</guid>
      <dc:creator>calimucho</dc:creator>
      <dc:date>2021-03-02T10:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: colorizing a black and white Imagery Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1032192#M71903</link>
      <description>&lt;P&gt;The &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-RasterColormapRenderer.html" target="_self"&gt;doc&lt;/A&gt; says "&lt;EM&gt;The RasterColormapRenderer is only available if a&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/services-reference/colormap.htm" target="_blank" rel="noopener"&gt;color map&lt;/A&gt;&amp;nbsp;is present in an&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html" target="_blank"&gt;ImageryLayer&lt;/A&gt;&amp;nbsp;or&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryTileLayer.html" target="_blank"&gt;ImageryTileLayer&lt;/A&gt;.&lt;/EM&gt;" but the service you are trying to use doesn't&amp;nbsp;have a color map defined.&amp;nbsp; Instead, you can use a&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html" target="_self"&gt;ClassBreaksRenderer&lt;/A&gt; to achieve what you'd like; check out this CodePen:&amp;nbsp;&lt;A href="https://codepen.io/john-grayson/pen/RwoJbPq" target="_blank"&gt;https://codepen.io/john-grayson/pen/RwoJbPq&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 21:26:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1032192#M71903</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2021-03-02T21:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: colorizing a black and white Imagery Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1032356#M71910</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/11373"&gt;@JohnGrayson&lt;/a&gt;&amp;nbsp;hey ! well I did not get how classBreakRenerer worked before, I'm learnig a lot on this thread thanks ! Do you think it'd be very costly / overkill to put let say a 100 &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-support-ClassBreakInfo.html" target="_blank"&gt;ClassBreakInfo&lt;/A&gt;&amp;nbsp;for a gradient like colorizing ? and alternative question, with the&amp;nbsp;&lt;SPAN&gt;RasterShadedReliefRenderers, would it be less costly (still quite overkill) to play with duplicating first and last values&amp;nbsp;in the&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-MultipartColorRamp.html" target="_blank"&gt;MultipartColorRamp&lt;/A&gt;&amp;nbsp;to achieve a similar render. hope I made myself clear ... thx !&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 10:43:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1032356#M71910</guid>
      <dc:creator>calimucho</dc:creator>
      <dc:date>2021-03-03T10:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: colorizing a black and white Imagery Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1032414#M71912</link>
      <description>&lt;P&gt;well I kinda got where I want, here is the codepen&amp;nbsp;&lt;A href="https://codepen.io/ebkgne/pen/xxRzrPN" target="_blank"&gt;https://codepen.io/ebkgne/pen/xxRzrPN&lt;/A&gt;&amp;nbsp;, I went with the first solution, my only question then is why it's not updating ... i'm doing exactly like&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16875"&gt;@johnbrosowsky&lt;/a&gt;&amp;nbsp;example, cloning renderer, editing, re assigning on event trigger ...&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 14:32:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1032414#M71912</guid>
      <dc:creator>calimucho</dc:creator>
      <dc:date>2021-03-03T14:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: colorizing a black and white Imagery Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1032455#M71916</link>
      <description>&lt;P&gt;Check out all of the available &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryTileLayer.html#renderer" target="_self"&gt;renderers&lt;/A&gt; and yes, maybe the &lt;SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-RasterColormapRenderer.html" target="_self"&gt;RasterColormapRenderer&lt;/A&gt;&amp;nbsp;or &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-RasterShadedReliefRenderer.html" target="_self"&gt;RasterShadedReliefRenderer&lt;/A&gt; might be better fits for what you need.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 16:01:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1032455#M71916</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2021-03-03T16:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: colorizing a black and white Imagery Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1138357#M76151</link>
      <description>&lt;P&gt;ok so .... couple month later ^^&lt;/P&gt;&lt;P&gt;on the last codepen, about not updating, problem was, I was not using ArcGIS event system ..., I updated the sources. but it's quite a slow solution,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I came up with way faster solution using&amp;nbsp;&lt;SPAN&gt;RasterShadedReliefRenderer colorRamp (like previously suggested actually ^^) , see here :&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://codepen.io/ebkgne/pen/eYeNPyw" target="_blank" rel="noopener"&gt;https://codepen.io/ebkgne/pen/eYeNPyw&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 14:59:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/colorizing-a-black-and-white-imagery-layer/m-p/1138357#M76151</guid>
      <dc:creator>calimucho</dc:creator>
      <dc:date>2022-01-28T14:59:26Z</dc:date>
    </item>
  </channel>
</rss>

