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.
What is the problem?