Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx007.isp.belgacom.be (inmx007.isp.belgacom.be [195.238.3.89])
        by mailst035.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id iB7BmbMO021096
        for <joris.at.lebbeke@skynet.be>; Tue, 7 Dec 2004 12:48:37 +0100
        (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 inmx007.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id iB7BmOaJ015838
        for <joris.at.lebbeke@skynet.be>; Tue, 7 Dec 2004 12:48:26 +0100
        (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 DCF694DFE14; Tue,  7 Dec 2004 06:48:10 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from outmx002.isp.belgacom.be (outmx002.isp.belgacom.be
	[195.238.3.52])
	by xserve.flids.com (Postfix) with ESMTP id 546924DFDF0
	for <tiff@remotesensing.org>; Tue,  7 Dec 2004 06:48:08 -0500 (EST)
Received: from outmx002.isp.belgacom.be (localhost [127.0.0.1])
	by outmx002.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with
	ESMTP id iB7Bm4mD022416
	for <tiff@remotesensing.org>; Tue, 7 Dec 2004 12:48:04 +0100
	(envelope-from <joris.at.lebbeke@skynet.be>)
Received: from dfgrrxsknr4e (221-175.245.81.adsl.skynet.be [81.245.175.221])
	by outmx002.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with SMTP
	id iB7BluDd022371; Tue, 7 Dec 2004 12:47:56 +0100
	(envelope-from <joris.at.lebbeke@skynet.be>)
Message-ID: <000b01c4dc52$ad0e21b0$ddaff551@dfgrrxsknr4e>
From: "Joris" <joris.at.lebbeke@skynet.be>
To: "Dan Field" <dof@llgc.org.uk>, <tiff@remotesensing.org>
References: <41B5A137.1030103@llgc.org.uk><000701c4dc50$6d6c6050$ddaff551@dfgrrxsknr4e>
	<41B5A448.9070609@llgc.org.uk>
Subject: Re: [Tiff] Fetching pixel data from 4bit tiff
Date: Tue, 7 Dec 2004 12:48:29 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Cc: 
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: ab65b7daaa5a7032b009a582d502e3ff

> Ah, excelent. I was starting to doubt my data. So if it converts from
> greyscale to RGBA, surely the R, G, B values would all be the same? eg
>
> R=45
> G=45
> B=45
>
> The data I'm pulling out doesn't fit this pattern at all:
>
> eg:
>
> R       G        B
>
> 71      202     94
> 14      209     94
> 213     215     94
> 156     222     94
> 99      229     94

I'm not using the stuff myself, but it should indeed return R=G=B if the source
is indeed grayscale. Perhaps we can see what's going on if you post a tagdump of
the source tiff, and a code snippet. (A tagdump can be made with a tool included
in LibTiff, tiffinfo, or by the tag viewer pointed to in my signature if you're
a windows user.)



Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html

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