[GRASSLIST:256] Re: How can I change the 16bit TIFF file to 8bit TIFF file?

Markus Neteler neteler at itc.it
Fri May 30 04:23:46 EDT 2003


On Fri, May 30, 2003 at 09:32:26AM +0900, Alip.Yasin wrote:
> > > Please tell me, how can I change a 16 bit TIFF file to 8 bit TIFF file
> when
> > > I am trying to import a TIFF file into the GRASS using [ r.in.tiff]
> command?
> > It may be better to use 'r.in.gdal' instead of 'r.in.tiff'.
> 
> Hi, Markus
> Thank you very much for your advise.
> I use photoshop to converted 16bit channel tiff to 8bit channel.
> But the problem is, I am also tried 'r.in.gdal' with the converted 8bit
> channel TIFF and the origin data of JPEG, and there was an error message
> which says to '20020726.tif':
>          < Warning 1: 20020726.tif: wrong data type 1 for "XMLPacket"; tag
> ignored

XMLPacket? This looks very unusual for a TIFF file.
What does

file 20020726.tif
say? ('file' is a unix command which tells you about the file type).

Markus




More information about the grass-user mailing list