Add new comment

TIFF creation: compression and band ordering


I was wondering if its possible to activate the tiff lossless compression and change the order of the bands. Right now we are interested to have the created tiff in BGR order instead or RGB. So the metadata of tiff would have to be changed as well.
We can of course change the order by exchanging the blue and red channel before the tiff creation but the tiff metadata is not changed accordingly obviously. Is there any way of doing that by activating a flag or something ?
This is useful for us for our remote sensing application since we want the bands to appear from the shortest to the highest wavelength.

Thanks in advance.