In QGIS 3.16.8 I have a raster image in TIFF format which has 17 bands. I need to extract different band combinations as separate image files. Some of the combinations consist of images with single band only.
Is there a way in QGIS, where we can export a single band or combination of multiple bands as a image.
The gdal command cell input where I tried to translate raster layer and get the output is not working for me. I have attached the image for your reference.
Best Answer
Here is a trick to solve your problem.
From the top menu, go to Raster>Conversion>Translate.
Then, in the Translate window, perform the following tasks:
For example (To extract the first band):
For example (To extract the first two bands):
In this way, you can extract different bands and their combinations from an input image.
For more description, visit the documentation.