AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

1993.08.20 01:22 "help on TIFFReadRGBAImage", by Yip Chi Lap
1993.08.20 09:40 "Re: help on TIFFReadRGBAImage", by Karsten Spang
1993.08.21 01:08 "Re: help on TIFFReadRGBAImage", by Sam Leffler
1993.08.21 02:03 "Re: help on TIFFReadRGBAImage", by Yip Chi Lap
1993.08.22 18:02 "Re: help on TIFFReadRGBAImage", by Sam Leffler
1993.08.22 20:07 "Re: help on TIFFReadRGBAImage", by Sam Leffler
1993.08.23 08:07 "help on TIFFReadRGBAImage", by Oliver Trepte
1993.08.23 04:08 "Re: help on TIFFReadRGBAImage", by Yip Chi Lap
1993.08.23 10:58 "help on TIFFReadRGBAImage", by Oliver Trepte

1993.08.22 20:07 "Re: help on TIFFReadRGBAImage", by Sam Leffler

So the "(x,y)" in the sentence "Note that the raster is assume to be organized such that the pixel at location (x,y) is raster[y*width+x]" in the man page of TIFFReadRGBAImage refers to the 'normal' cartesian coordinates but not the (row,col) coordinate relative to the image, I suppose?

On rereading this I now understand the confusion. There is no mention of where the returned raster's origin is; it's in the lower-left hand corner. This call was designed for use with the SGI graphics library call lrectwrite.

Sam