import tifffile def convert_gtiff_to_8bit(src): img = tifffile.imread(src) return img