Return-Path: <tiff-bounces@remotesensing.org>
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx015.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j3IKuOYQ005669
        for <joris.at.lebbeke@skynet.be>; Mon, 18 Apr 2005 22:56:25 +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 B4D2F1E8E379; Mon, 18 Apr 2005 16:56:04 -0400 (EDT)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from smtpauth06.mail.atl.earthlink.net
	(smtpauth06.mail.atl.earthlink.net [209.86.89.66])
	by xserve.flids.com (Postfix) with ESMTP id 97ADB1E8E352
	for <tiff@remotesensing.org>; Mon, 18 Apr 2005 16:56:01 -0400 (EDT)
Received: from [68.250.214.60] (helo=mindspring.com)
	by smtpauth06.mail.atl.earthlink.net with asmtp (Exim 4.34)
	id 1DNdHj-0003mE-Sk
	for tiff@remotesensing.org; Mon, 18 Apr 2005 16:56:00 -0400
Message-ID: <42641EF9.6060601@mindspring.com>
Date: Mon, 18 Apr 2005 16:56:25 -0400
From: Phillip Wiles <paw38@mindspring.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tiff@remotesensing.org
Subject: Re: [Tiff] How do I access the data once I use TIFFReadEncodedStrip?
References: <4261FE54.9000303@mindspring.com>
	<6.2.1.2.2.20050417023113.02ab0538@pop.earthlink.net>
In-Reply-To: <6.2.1.2.2.20050417023113.02ab0538@pop.earthlink.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-ELNK-Trace: a35839ba29328a75d4c20f6b8d69d88831f964467e38cbea1de64782095a62aab0423fa7922aff82350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 68.250.214.60
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: 000000000023ceae.0000010f
X-MSP-STORE: Mon, 18 Apr 2005 22:56:32 +0200
Status:   

Chris Losinger wrote:

>         buf is a void * pointer, so it isn't really addressing single 
> bytes - it's just a pointer to the start of *something*. that's the 
> "unknown size" error. if you want to print individual characters, you 
> can do something like:
>
>         char *p = (char *)buf;
>         std::cout << p[x + (height *y)];
>
>         etc 


TIFFReadEncodedStrip returns 200, 200 * 8= 1600 & 40*40=1600.
So am I right in assuming that buf is a bit vector of chars (at least in 
my case of  a 40 x40 group 3 image)?


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