I would like to convert a GEOTIFF to a normal TIFF with python. I'm trying to use gdal but cannot if more than one page..
How can I do it please ?
Thanks for help
You can use gdal.Translate
for this. more info
snippet:
from osgeo import gdal
options_list = [
'-ot Byte',
'-of JPEG',
'-b 1',
'-scale'
]
options_string = " ".join(options_list)
gdal.Translate(
'save_image_path.jpg',
'image_path.tif',
options=options_string
)