Hi team,
I'm trying to use arcpy.ia.Colormap function to change the color of Tiff file that is reclassified by arply.sas.Reclassify function.
After I execute the function, it doesn't show the error but when I tried to save by save method of Raster object, it gives an error back.
recolored.save(save_path)
RuntimeError: Unspecified error
but when I use the code below to the Tiff dataset, it can be recolored with no errors.
arcpy.management.AddColormap(save_path, "#", colormap)
I have attached Tiff image as zip file that supposed to be pointed at save_path
Solved! Go to Solution.
did you try
Copy Raster (Data Management)—ArcGIS Pro | Documentation
and experiment with the Colormap to RGB parameter
did you try
Copy Raster (Data Management)—ArcGIS Pro | Documentation
and experiment with the Colormap to RGB parameter
Thanks for the comment!