I have 3 separate *.tif image files as grayscale. They are representing data acquired with a scanner. Each of them is a separate band of the scanner; red, green, and blue. I would like to reassemble them in a single RGB *.tif image file.
Using gdal_merge.py -o RGB.tif -co PHOTOMETRIC=RGB red.tif green.tif blue.tif
doesn't work; I end up with a single grayscale image which size is the sum of all individual images. How to achieve this simple operation?
(They are not geotiff, just simple tif files; there is no tfw)
-separate: Place each input file into a separate band.
gdal.org/gdal_merge.html