I'm using Qt 5 C++ / Desktop_Qt_5_15_2_MSVC2019_64bit and ArcGIS SDK 100.13 to build my app.
When I add a raster to the map, I have a trouble creating a white (or black) background on a tiff image.
I want the white part to be transparent so the background can be seen.
Thank for help!
Hello,
While I don't have specific SDK experience perhaps https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/mosaic.htm might help. Specifically the comment of "For file-based rasters, Ignore Background Value must be set to the same value as NoData for the background value to be ignored."
Regards,
Tom
Thank for your suggestion. But the main reason is I programmatically create the application independently with ArcGIS Pro. I haven't found any APIs that support it yet.
The Raster Function capability may solve the problem - for more info see Solved: Re: RasterLayer Alpha Channel? - Esri Community