[gdal-dev] HEIF format driver

2021-01-26 Thread Jesus via gdal-dev
Hello! Im trying to install the HEIF driver from https://gdal.org/drivers/raster/heif.html to be able to export a geotiff into HEIF format but the steps given there are a bit simple and have no success with the installation. Have someone ever install this lib and want to give me any piece of a

Re: [gdal-dev] JPEG/PNG 12 bits GDAL python

2021-01-22 Thread Jesus via gdal-dev
Hi, It work for me too like this!! The -ot uint16 was the key! Thank you a lot Jukka. Im still trying to find the way to do this in python though. Jesús Maria Morán Rosado Project Engineer Av. Cerro del Águila, 3, 28703 S.S. de los Reyes, Madrid CONFIDENTIALITY: This e-mail and any attachmen

[gdal-dev] JPEG/PNG 12 bits GDAL python

2021-01-22 Thread Jesus via gdal-dev
Hello and thank you in advance, Im trying to generate png and jpeg 12 bits images from a GTiff single band file with no success. I know is there a way to generate 12 bits images in the GDAL command line as I have seen in some examples (“gdal_translate mandril_rgb.tif -co COMPRESS=JPEG -co PHOTO