[GRASSLIST:1076] r.in.tiff and r.composite

Hi again,

I whould like to understand the logic of have two commands for import a tiff image in a single GRASS file?

Because r.in.tiff generate 3 files (r,g,b), I whould like to know if the ideia of the programmer, was permit that the user could adjust (1-256) each color with r.composite?
if not why? and why not 2 commands in one, if we have programs like Gimp to do this before importing?

Thanks

Luis Gonçalves Seco

Luis Goncalves Seco wrote:

I whould like to understand the logic of have two commands
for import a tiff image in a single GRASS file?

Because r.in.tiff generate 3 files (r,g,b), I whould like
to know if the ideia of the programmer, was permit that
the user could adjust (1-256) each color with
r.composite?
if not why? and why not 2 commands in one, if we have
programs like Gimp to do this before importing?

An RGB image has three values per cell (pixel): red, green and blue.
GRASS raster maps only have one value per cell, so you need to create
three maps to hold all of the information.

--
Glynn Clements <glynn.clements@virgin.net>