[GRASS-dev] Re: i.rgb.his/i.his.rgb and 16bit images

Georg Kaspar georg at muenster.de
Wed Sep 30 10:53:09 EDT 2009


Georg Kaspar wrote:
> this could be corrected by replacing the constant 255 with a variable 
> according to the encoding of the image.
> i'm not quite shure how to do this (only did some scripting so far) - 
> can somebody help?

to be more precise: how can i read-out the encoding of a raster file (or 
the maximum value) in c? I already took a look at the programmer's 
manual but didn't find what i'm looking for (i'm accustomed to javadoc...).



More information about the grass-dev mailing list