[gdal-dev] What happens to pixel values > src_max under -scale?

Sean Gillies sean at mapbox.com
Fri Feb 14 14:37:53 PST 2014


Hi all,

It seems that when gdal_translate scales e.g. -scale 0 6000 0 255, the 
values above 6000 also get set to 255. Can anyone confirm this for me? I 
don't see the destiny of those pixels explained in 
http://www.gdal.org/gdal_translate.html.

Thanks,

-- 
Sean Gillies
sean at mapbox.com


More information about the gdal-dev mailing list