Re: [gdal-dev] Gdal_translate and -scale with non-Byte output

2019-06-28 Thread Even Rouault
On vendredi 28 juin 2019 10:42:06 CEST Rahkonen Jukka (MML) wrote: > Hi, > > I was reading > https://gis.stackexchange.com/questions/247767/performing-histogram-strechi > ng-using-gdal-translate and made some tests and now I feel that > gdal_translate with -scale does not handle well some use case

[gdal-dev] Gdal_translate and -scale with non-Byte output

2019-06-28 Thread Rahkonen Jukka (MML)
Hi, I was reading https://gis.stackexchange.com/questions/247767/performing-histogram-streching-using-gdal-translate and made some tests and now I feel that gdal_translate with -scale does not handle well some use cases with non-Byte output. The syntax is -scale [src_min src_max [dst_min dst_m