Received: by whizzer.wpd.sgi.com (921026.SGI.NOSTRIP/911001.SGI)
	 id AA24146; Sat, 21 Aug 93 01:24:28 GMT
Received: from sgi.sgi.com by whizzer.wpd.sgi.com via SMTP (921026.SGI.NOSTRIP/911001.SGI)
	for /usr/people/sam/majordomo/wrapper resend -l tiff -h sgi.sgi.com -f tiff-owner -s -m "-oi -odq -om" tiff-list id AA24135; Fri, 20 Aug 93 18:24:22 -0700
Received: from ucbvax.Berkeley.EDU by sgi.sgi.com via SMTP (920330.SGI/910110.SGI)
	for tiff-relay@whizzer.wpd.sgi.com id AA14116; Fri, 20 Aug 93 18:24:19 -0700
Received: from SGI.COM by ucbvax.Berkeley.EDU (5.63/1.43)
	id AA06259; Fri, 20 Aug 93 18:24:11 -0700
Received: from relay.sgi.com by sgi.sgi.com via SMTP (920330.SGI/910110.SGI)
	for tiff@ucbvax.berkeley.edu id AA13936; Fri, 20 Aug 93 18:23:39 -0700
Received: from oxford.chez.sgi.com by relay.sgi.com via SMTP (920330.SGI/920502.SGI)
	for @sgi.sgi.com:h9118101@hkuxa.hku.hk id AA04479; Fri, 20 Aug 93 18:00:31 -0700
Received: from localhost.chez.sgi.com by oxford.chez.sgi.com via SMTP (920330.SGI/921111.SGI.AUTO)
	for @relay.sgi.com:tiff@ucbvax.berkeley.edu id AA04506; Fri, 20 Aug 93 18:08:29 -0700
Message-Id: <9308210108.AA04506@oxford.chez.sgi.com>
To: h9118101@hkuxa.hku.hk (Yip Chi Lap [Beta])
Cc: tiff@ucbvax.Berkeley.EDU (TIFF Mailing list)
Subject: Re: help on TIFFReadRGBAImage 
In-Reply-To: Your message of Fri, 20 Aug 93 14:22:45 +0700.
             <9308200622.AA16154@hkuxa.hku.hk> 
Date: Fri, 20 Aug 93 18:08:28 PDT
From: Sam Leffler <sam@oxford.chez.sgi.com>
Sender: tiff-owner@sgi.sgi.com

    To:      tiff@ucbvax.Berkeley.EDU (TIFF Mailing list)
    Subject: help on TIFFReadRGBAImage
    From:    h9118101@hkuxa.hku.hk (Yip Chi Lap [Beta])
    Date:    Fri, 20 Aug 93 14:22:45 T

    Hello,

    I have written a small program to open a TIFF file, read it using
    TIFFRGBAImage, and then dump the image out byte by byte in hex. I found
    that the scanline order seems to be reversed.  
    I scanned archive.May2593-Aug1893 and found only one reference to
    this function. I use libtiff v3.21 BETA compiled on an multiprocessor sun
    (`mach`=sparc, `arch`=sun4). The program and the pnm file used to create 
    the tiff file is attached below. Thanks for your help in advance.

I suspect that you wrote the TIFF file with the default
Orientation which is TopLeft.  You don't indicate how
you created the TIFF file.  ppm2tiff looks to force all
data to have a TopLeft origin.

	Sam





