[GRASS-user] Converting a color to NULL

Brad Douglas rez at touchofmadness.com
Wed Jul 11 04:12:38 EDT 2007


On Wed, 2007-07-11 at 08:25 +0200, Jannis Achstetter wrote:
> The problem is: where "no data" should be, white is displayed, instead
> of NULL. How do I change that? I tried using r.colors but it seems only
> to work the other way round (set a color where NULL (nv) was), not
> deleting one specific color.

r.null setnull=<value> map=<raster_map>

value is probably 255, but you can use d.what.rast to make sure.


-- 
73, de Brad KB8UYR/6 <rez touchofmadness com>




More information about the grass-user mailing list