Newsgroups: sci.image.processing
From: Steve@dstrip.demon.co.uk (Steve Rencontre)
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!news.mathworks.com!usenet.eel.ufl.edu!news-feed-1.peachnet.edu!gatech!howland.reston.ans.net!news.sprintlink.net!peernews.demon.co.uk!dstrip.demon.co.uk!Steve
Subject: Re: THe 'libtiff' library & Intel TIFF support
References: <oleaD4H5M2.F69@netcom.com> <sbrogden.30.000C21FB@derwent.co.uk> <331159955wnr@dstrip.demon.co.uk> <377583093wnr@dstrip.demon.co.uk> <oleaD4J9yC.8Bw@netcom.com>
Organization: Datastrip Limited
Reply-To: Steve@dstrip.demon.co.uk
X-Newsreader: Newswin Alpha 0.7
Lines:  28
X-Posting-Host: dstrip.demon.co.uk
Date: Mon, 27 Feb 1995 16:03:09 +0000
Message-ID: <27911818wnr@dstrip.demon.co.uk>
Sender: usenet@demon.co.uk

In article: <oleaD4J9yC.8Bw@netcom.com>  olea@netcom.com (Michael Olea) writes:
> Steve@dstrip.demon.co.uk (Steve Rencontre) writes:
> >In article: <oleaD4H5M2.F69@netcom.com>  olea@netcom.com (Michael Olea) writes:
> >> Steve@dstrip.demon.co.uk (Steve Rencontre) writes:

..This N-level quoting has gone far enough - anyone who's lost the originals 
probably isn't interested anyway :-)

On reflection, you may be right - I've only been working with 8 bits/sample in colour
or greyscale, so wider pixels hadn't occurred to me. 

HOWEVER... 

Without looking up the spec, I'm reasonably sure that all of the publicly defined
TIFF compression algorithms are byte- or bit-stream oriented. Certainly, packbits, 
LZW and the CCITT variations are. In this case, the compressed data will not be 
affected by file/processor endian. 

I think, therefore, that with *uncompressed* >8-bit pixel data, you do have to
look at and interpret the bitsPerSample tag, but this is probably a member of
a small set of exceptions to the general rule.

-----------------------------------------------------------------------
Steve Rencontre               |  steve@dstrip.demon.co.uk (business) 
If it works, it's obsolete.   |  steveren@cix.compulink.co.uk (private)
-----------------------------------------------------------------------

