Tag Info

New answers tagged

0

Your input grayscale band has values from 0 to 1024, but RGB only allows values from 0 to 255 for each band. You can use gdal_translate -scale [src_min src_max [dst_min dst_max]] to rescale your source file. In a second run, you can stack your three bands with gdal_merge.py and apply -co "PHOTOMETRIC=rgb".



Top 50 recent answers are included