Qusetion about Arcpy Copy Raster

by Richard   Last Updated July 11, 2018 23:22 PM

I am trying to convert 16 unsigned bit tifs to 8 unsigned bit BMPs. When I used the export raster in arcgis, it works well. But when I used arcpy arcpy.CopyRaster_management(each, "E:/HutDetection/17.bmp","DEFAULTS", "","","","","8_BIT_UNSIGNED","","","BMP","") the output images is too bright and its pixel value is not the same as the one got from arcgis. I have changed the parameters a lot of times but I cant get the result I want. Can anyone give me some help? Thanks result from arcpy

result from arcgis

Related Questions

sequence in raster layer values arcgis

Updated January 04, 2018 14:22 PM

Raster to point in batch mode using Python

Updated August 31, 2018 06:22 AM

Valid input for ArcPy raster to polygon in 10.1?

Updated May 17, 2015 08:09 AM