Relative Content

Tag Archive for pythontiffrasterio

Color of a tif image is changed when loaded and saved

I am loading a tif file with rasterio to cut it to pieces and save the pieces. However, the saved pieces look different from the loaded file. The file is ortho photo map shot from a plane and has 4 layers – R, G, B, NIR. The input file is a high resolution raster with some 15×15 cm per pixel, see sample image: