I think both commands are ok in this case. Then you will save the raster as 8bit (r.out.gdal)
giovanni 2015-07-01 11:54 GMT+02:00 Andrea Peri <[email protected]>: > Hi, > I have an image 1-band with 16bit values, > and need to convert to a 1-band with 8bit values. > > I like to have a linear conversion. > To have this is right the use of the > > r.rescale command with to parameter "to=0,255" > > Or should instead use however the r.recode command even if the > convertion is linear ? > > Thx, > > > -- > ----------------- > Andrea Peri > . . . . . . . . . > qwerty àèìòù > ----------------- > _______________________________________________ > grass-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-user -- Giovanni Allegri http://about.me/giovanniallegri Gis3W - http://gis3w.it Ikare - http://ikare.it Twitter: https://twitter.com/_giohappy_ blog: http://blog.spaziogis.it GEO+ geomatica in Italia http://bit.ly/GEOplus
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
