iwfm.gis.img_swap_bands¶ iwfm.gis.img_swap_bands(infile, outfile, band1=1, band2=2)[source]¶ Read a TIFF file, swaps two bands, and saves it. Parameters: infile (str) – input image file name outfile (str) – output image file name band1 (int) – bands to be swapped band2 (int) – bands to be swapped Return type: nothing