Received: from [192.48.153.1] by phillip.cerious.com (NTMail 3.03.0017/7.aaxh) with ESMTP id pcrews for <pcrews@cerious.com>; Thu, 30 Jul 1998 01:22:31 -0400
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) 
	by sgi.sgi.com (980309.SGI.8.8.8-aspam-6.2/980304.SGI-aspam:
       SGI does not authorize the use of its proprietary
       systems or networks for unsolicited or bulk email
       from the Internet.) 
	via ESMTP id WAA20394; Wed, 29 Jul 1998 22:21:33 -0700 (PDT)
	mail_from (owner-tiff@sgi.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id VAA72607
	for tiff-list;
	Wed, 29 Jul 1998 21:51:29 -0700 (PDT)
	mail_from (owner-tiff@sgi.sgi.com)
Received: from sgi.sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id VAA85682
	for <tiff-relay@cthulhu.engr.sgi.com>;
	Wed, 29 Jul 1998 21:51:28 -0700 (PDT)
	mail_from (owner-tiff@sgi.sgi.com)
Received: from hsi.handmadesw.com (hsi.handmadesw.com [207.20.58.2]) 
	by sgi.sgi.com (980309.SGI.8.8.8-aspam-6.2/980304.SGI-aspam:
       SGI does not authorize the use of its proprietary
       systems or networks for unsolicited or bulk email
       from the Internet.) 
	via SMTP id VAA13705
	for <tiff@sgi.com>; Wed, 29 Jul 1998 21:51:27 -0700 (PDT)
	mail_from (marcos@handmadesw.com)
Received: from localhost (997 bytes) by hsi.handmadesw.com
	via sendmail with P:stdio/R:inet_hosts/T:smtp
	(sender: <marcos>) (ident <marcos> using unix)
	id <m0z1kg9-002x8wC@hsi.handmadesw.com>
	for <tiff@sgi.com>; Wed, 29 Jul 1998 21:51:01 -0700 (PDT)
	(Smail-3.2.0.101 1997-Dec-17 #2 built 1998-Apr-13)
Message-Id: <m0z1kg9-002x8wC@hsi.handmadesw.com>
From: marcos@handmadesw.com (Marcos H. Woehrmann)
Subject: Libtiff and Byte Order
To: tiff@sgi.com
Date: Wed, 29 Jul 1998 21:51:00 -0700 (PDT)
X-Mailer: ELM [version 2.4 PL23alpha2]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-tiff@fddi-sgi.sgi.com
Precedence: bulk


Hi,

Is it easy/difficult/impossible to get libtiff to write TIFF files 
in a non-native byte order?  

According to the libtiff v3.4beta018 documentation:

  (data is written in the native 
  order of the host CPU unless appending to an existing file, in
  which case it is written in the byte order specified in the file). 

It seems to me the ability to adapt to the byte order in an existing file
suggests that writing a specific byte order should be possible.

marcos

-- 
Marcos H. Woehrmann  |  marcos@handmadesw.com  |  http://www.zipper.com/

        "There is a big difference between larger than you can 
         possibly imagine and infinite." - Stephen Jay Gould

