[GIS] Combine multiple TIFF Files into one

geotiff-tiffmergemosaicqgisraster

I have brought in multiple TIFF (raster) files into QGIS and want to combine them into one file. I tried this by going to Raster> Misc.> Merge. When doing this the output file comes out as gray and black and I want to keep the colors of my TIFF files.

Colour topographic TIFF image of Norwich UK

Best Answer

You need to use Merge tool from Processing toolbox -> GDAL/OGR -> Miscellaneous -> Merge it has the option to Grab pseudocolor table from first layer that you need to check, as you can see below:

enter image description here

Do not forget to choose a proper Output raster type that match the raster type of the input data, or any type that is close to input raster data.

For example, I have two topographic map sheets with 8 bit unsigned integer, but I don't have the same pixel type, so I chose UInt16 which is 16 bit unsigned integer.

Input:

enter image description here

Here is the output after running the Merge tool:

enter image description here