<?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 Geotiff alpha channel transparency in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/geotiff-alpha-channel-transparency/m-p/1245536#M11580</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;How do you use the alpha channel from a geotiff in a raster function?&lt;BR /&gt;&lt;BR /&gt;We've managed to load a Geotiff file as a raster, and after a bit of playing around we managed to get the nodata to not display as black using a Render mask:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;private const string JsonFunction =
			@"{
		    ""raster_function"":{""type"":""Mask_function""},
		    ""raster_function_arguments"":
		    {
		        ""nodata_values"":{""double_array"":[0],""type"":""Raster_function_variable""},
		        ""nodata_interpretation"":{""nodata_interpretation"":""all"",""type"":""Raster_function_variable""},
		        ""raster"":{""name"":""raster"",""is_raster"":true,""type"":""Raster_function_variable""},
		        ""type"":""Raster_function_arguments""
		    },
		    ""type"":""Raster_function_template""}";&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;But, this still doesn't take account of the alpha channel, we need to modify the transparency of some of the pixels based on the alpha channel values.&amp;nbsp;&lt;BR /&gt;Is there anyone who can help?&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As a bonus, If anyone knows if there are different blending options for Raster overlays and how we would do that, that would also be great&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jan 2023 08:50:43 GMT</pubDate>
    <dc:creator>PatrickG</dc:creator>
    <dc:date>2023-01-05T08:50:43Z</dc:date>
    <item>
      <title>Geotiff alpha channel transparency</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/geotiff-alpha-channel-transparency/m-p/1245536#M11580</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;How do you use the alpha channel from a geotiff in a raster function?&lt;BR /&gt;&lt;BR /&gt;We've managed to load a Geotiff file as a raster, and after a bit of playing around we managed to get the nodata to not display as black using a Render mask:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;private const string JsonFunction =
			@"{
		    ""raster_function"":{""type"":""Mask_function""},
		    ""raster_function_arguments"":
		    {
		        ""nodata_values"":{""double_array"":[0],""type"":""Raster_function_variable""},
		        ""nodata_interpretation"":{""nodata_interpretation"":""all"",""type"":""Raster_function_variable""},
		        ""raster"":{""name"":""raster"",""is_raster"":true,""type"":""Raster_function_variable""},
		        ""type"":""Raster_function_arguments""
		    },
		    ""type"":""Raster_function_template""}";&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;But, this still doesn't take account of the alpha channel, we need to modify the transparency of some of the pixels based on the alpha channel values.&amp;nbsp;&lt;BR /&gt;Is there anyone who can help?&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As a bonus, If anyone knows if there are different blending options for Raster overlays and how we would do that, that would also be great&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 08:50:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/geotiff-alpha-channel-transparency/m-p/1245536#M11580</guid>
      <dc:creator>PatrickG</dc:creator>
      <dc:date>2023-01-05T08:50:43Z</dc:date>
    </item>
  </channel>
</rss>

