How can I split an 4 channel rgb pic in qgis? With the value tool I can see 4 channel. I tried to use the RGB to PCT tool but I always get an error (File "C:\PROGRA~1\QGISBR~1\bin\pct2rgb.py", line 125, in
ct_size = ct.GetCount()
AttributeError: 'NoneType' object has no attribute 'GetCount' )
[GIS] Open and split a 4 channel RGB picture
gdalqgisrasterrgb
Best Answer
gdal_translate is able to extract single bands:
Raster -> Conversion -> Translate
will create a gdal_translate command line, which you can edit to specify the band you want.This also works with multiple
-b
flags:This will produce an
out.tif
with three channels.