Gives R, G and B the channels bands names (0 = R, 1 = G, 2 = B, 3 = A) of
an 8-bit RGBA image: [2, 1, 0] swaps red and blue, [1, 1, 1] shows the
green channel in gray. Alpha is kept. For rasters with more bands, use
selectBands or the select of rasterToImageData.
Gives R, G and B the channels
bandsnames (0 = R, 1 = G, 2 = B, 3 = A) of an 8-bit RGBA image:[2, 1, 0]swaps red and blue,[1, 1, 1]shows the green channel in gray. Alpha is kept. For rasters with more bands, use selectBands or theselectofrasterToImageData.