[GRASS5] NVIZ TIFF output (rotated 180 degree)

Markus Neteler neteler at itc.it
Thu Mar 7 08:25:03 EST 2002


On Thu, Mar 07, 2002 at 09:20:18AM -0400, Bob Covill wrote:
> Markus,
> 
> I had noticed that in the past. The place to look for this problem is in 
> the ogsf library, in gsd_img_tif.c. This file contains the TIFF header 
> info. Probably something in the header is wrong or the actaul image is 
> being written wrong (rows / columns).
> 
> Hopefully it is something simple.

Probably 
    TIFFSetField(out, TIFFTAG_ORIENTATION, ORIENTATION_BOTLEFT); 
is not correct in that file or not sufficient?

Hi TIFF experts... :-)

 Markus
 
> 
> 
> Markus Neteler wrote:
> 
> > Hi developers,
> > 
> > it seems that the TIFF output of NVIZ is sometimes rotated 180 degree
> > depending on the display tool.
> > 
> > xv: ok.
> > display (image magick): upside down (rotated 180 degree)
> > gimp: upside down (rotated 180 degree)
> > 
> > Is there anything we can change in NVIZ to stabilize the
> > image orientation of the stored TIFF file?
> > 
> > Thanks,
> > 
> >  Markus
> > _______________________________________________
> > grass5 mailing list
> > grass5 at grass.itc.it
> > http://grass.itc.it/mailman/listinfo/grass5
> > 
> > .
> > 
> > 
> 
> 
> -- 
> Bob Covill
> 
> Tekmap Consulting
> P.O. Box 2016 Fall River, N.S.
> B2T 1K6
> Canada
> 
> E-Mail: bcovill at tekmap.ns.ca
> Phone: 902-860-1496
> Fax: 902-860-1498



More information about the grass-dev mailing list