Return-Path: <tiff-bounces@remotesensing.org>
Received: from inav002.isp.belgacom.be (inav002.isp.belgacom.be [195.238.3.145])
        by mailst034.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id i9L5K7dJ024353
        for <joris.at.lebbeke@skynet.be>; Thu, 21 Oct 2004 07:20:07 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from inas013.isp.belgacom.be (localhost [127.0.0.1])
        by inav002.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id i9L5JxZ8004025
        for <joris.at.lebbeke@skynet.be>; Thu, 21 Oct 2004 07:19:59 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from inmx009.isp.belgacom.be (inmx009.isp.belgacom.be [195.238.3.146])
        by inas013.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id i9L5JmTd019382
        for <joris.at.lebbeke@skynet.be>; Thu, 21 Oct 2004 07:19:57 +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 i9L5Jedc024890
        for <joris.at.lebbeke@skynet.be>; Thu, 21 Oct 2004 07:19:42 +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 0E25C3DA22B; Thu, 21 Oct 2004 01:19:28 -0400 (EDT)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from hornet.wiznet.ca (hornet.wiznet.ca [216.138.223.229])
	by xserve.flids.com (Postfix) with ESMTP id 67CFF3DA208
	for <tiff@remotesensing.org>; Thu, 21 Oct 2004 01:19:26 -0400 (EDT)
Received: from [192.168.2.6] (H156.C195.tor.velocet.net [216.138.195.156])
	by hornet.wiznet.ca (Postfix) with ESMTP
	id C85F5323BD6; Thu, 21 Oct 2004 01:02:52 -0400 (EDT)
Message-ID: <4177433F.7030307@pobox.com>
Date: Thu, 21 Oct 2004 01:03:59 -0400
From: Frank Warmerdam <warmerdam@pobox.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Sachin Garg <schngrg@gmail.com>
Subject: Re: [Tiff] the BitsPerSymbol tag
References: <b35303704102011401c1217fa@mail.gmail.com>	<4176C1C8.6090406@pobox.com>
	<b353037041020214388b9985@mail.gmail.com>
In-Reply-To: <b353037041020214388b9985@mail.gmail.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Tiff mailing list <tiff@remotesensing.org>
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
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: 8b21d3900e35cc4a305df3f1d96bf714

Sachin Garg wrote:
> I am actually using the read/write buffer routines from tiffcp.
> Do these routines return a padded version of image data as described
> by you above (with pad size determinable from single td_bitspersample
> value)?

Sachin,

If you try to process a TIFF file with mixed sample sizes, I believe
any libtiff tool will just fall over dramatically.  I'm not sure, i don't
think I have any examples of such files.

Based on that, I don't think there is a meaningful answer for the rest
of your questions, but feel free to repose them if I have missed your
point.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
