24.11.2016, 18:01, Even Rouault kirjoitti:
Could be worth fixing that if that cause issues (apparently in your use case at least), but I'd be interested by information of what is the standard/recommanded/best-practice-in-the-industry/etc... formulas to use for the mapping between the [0,255] and [0,65535] ranges.
At least in the GTK circles it seems to be a standard practice to use the 257 as the scaling factor. See for example
http://gtk2-perl.sourceforge.net/doc/pod/Gtk2/Gdk/Color.html Ari
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
