Return-Path: <tiff-bounces@remotesensing.org>
Received: from inav013.isp.belgacom.be (inav013.isp.belgacom.be [195.238.2.245])
        by mailst034.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id i9KIfipo024726
        for <joris.at.lebbeke@skynet.be>; Wed, 20 Oct 2004 20:41:50 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from inas001.isp.belgacom.be (localhost [127.0.0.1])
        by inav013.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id i9KIfKnt004528
        for <joris.at.lebbeke@skynet.be>; Wed, 20 Oct 2004 20:41:23 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from inmx009.isp.belgacom.be (inmx009.isp.belgacom.be [195.238.3.146])
        by inas001.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id i9KIf77J013799
        for <joris.at.lebbeke@skynet.be>; Wed, 20 Oct 2004 20:41:16 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx009.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id i9KIeufK009442
        for <joris.at.lebbeke@skynet.be>; Wed, 20 Oct 2004 20:40:58 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id 0FCD93D76D0; Wed, 20 Oct 2004 14:40:42 -0400 (EDT)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.192])
	by xserve.flids.com (Postfix) with ESMTP id B256E3D769C
	for <tiff@remotesensing.org>; Wed, 20 Oct 2004 14:40:29 -0400 (EDT)
Received: by mproxy.gmail.com with SMTP id 73so522586rnk
	for <tiff@remotesensing.org>; Wed, 20 Oct 2004 11:40:21 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding;
	b=mNYK5XkuDGx/rrHQ/izGbVzEvvIGYdqRp8t/Pj3zU4xCrn6n2WTpWWQmDfQj+b5t+L9mtjW2MD0NFJBTw/7zsVtpsYfdKIpdpDk1+laxh9mIk9JRYxHFdBYEHyiAkaZy5V7Av5qJBh9mrmDUoacgu4DUHviTClYA1vDS+d1deIg
Received: by 10.38.72.80 with SMTP id u80mr2666587rna;
	Wed, 20 Oct 2004 11:40:21 -0700 (PDT)
Received: by 10.38.86.41 with HTTP; Wed, 20 Oct 2004 11:40:21 -0700 (PDT)
Message-ID: <b35303704102011401c1217fa@mail.gmail.com>
Date: Thu, 21 Oct 2004 00:10:21 +0530
From: Sachin Garg <schngrg@gmail.com>
To: Tiff mailing list <tiff@remotesensing.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: [Tiff] the BitsPerSymbol tag
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: Sachin Garg <schngrg@gmail.com>
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: a432b5022d273ae1a9a729ee47032536

>From the Tiff6 documentation, it seems that a tiff image is supposed
to have a BitsPerSymbol value for each sample in the image.

But from TiffDirectory implementation, it seems that we hold  a single
"uint16 td_bitspersample" value for all samples.

Is it that all samples always have same bit-depth? it doesnt seems
that way for documentation, for example it says that a 16-bit image
usally has 5/6/5 bits per sample.

I also noticed a "uint16* td_sampleinfo;" in TiffDirectory, is it
something related to this?

-- 
Sachin Garg [India]
http://www.geocities.com/schngrg
_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
