[GRASS-dev] any way to know color assigned to a cell?
glynn at gclements.plus.com
Wed Apr 18 20:23:01 EDT 2007
Glynn Clements wrote:
> > I have a version of r.what that I modified to optionally output RGB
> > color. If interested I could commit to CVS?
> It may be useful to have that feature in r.what, although there would
> still be some use for a module which looks up the colour for a
> user-supplied value (e.g. d.rast.edit.tcl needs to be able to
> determine the colour for new values which don't yet exist in the map).
I have added such a module, name r.what.color.
Values can be passed either on the command line or on stdin, and the
corresponding colours are written on stdout.
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev