Return-Path: <tiff-bounces@remotesensing.org>
Received: from infbmx001.isp.belgacom.be (infbmx001.isp.belgacom.be [195.238.3.180])
        by mailst035.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id j1F9i8CG003289
        for <joris.at.lebbeke@skynet.be>; Tue, 15 Feb 2005 10:44:08 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from inmx016.isp.belgacom.be (inmx016.isp.belgacom.be [195.238.2.219])
        by infbmx001.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-FALLBACK-2.32) with ESMTP id j1F9KSSB013021
        for <joris.at.lebbeke@skynet.be>; Tue, 15 Feb 2005 10:20:28 +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 inmx016.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j1F9KCgh018741
        for <joris.at.lebbeke@skynet.be>; Tue, 15 Feb 2005 10:20:14 +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 2A67E7B2746; Tue, 15 Feb 2005 04:19:55 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from outmx013.isp.belgacom.be (outmx013.isp.belgacom.be
	[195.238.3.64])
	by xserve.flids.com (Postfix) with ESMTP id 304B77B2721
	for <tiff@remotesensing.org>; Tue, 15 Feb 2005 04:19:53 -0500 (EST)
Received: from outmx013.isp.belgacom.be (localhost [127.0.0.1])
	by outmx013.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with
	ESMTP id j1F9Jkhl019509
	for <tiff@remotesensing.org>; Tue, 15 Feb 2005 10:19:47 +0100
	(envelope-from <joris.at.lebbeke@skynet.be>)
Received: from dfgrrxsknr4e (162-170.245.81.adsl.skynet.be [81.245.170.162])
	by outmx013.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with SMTP
	id j1F9Je3r019469; Tue, 15 Feb 2005 10:19:40 +0100
	(envelope-from <joris.at.lebbeke@skynet.be>)
Message-ID: <003301c5133f$7b930ff0$a2aaf551@dfgrrxsknr4e>
From: "Joris" <joris.at.lebbeke@skynet.be>
To: "Chinku Miandad M, Noida" <chinkum@noida.hcltech.com>,
        <tiff@remotesensing.org>
References: <267988DEACEC5A4D86D5FCD780313FBB04750DA4@exch-03.noida.hcltech.com>
Subject: Re: [Tiff] Regarding the decoding of RGB TIFF images.
Date: Tue, 15 Feb 2005 10:19:41 +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.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
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: dec688c949304654370945e79abca05a

Chinku,

> This means that the image data is stored in the chunky format, i.e. RGB RGB
> RGB RGB RGB.............right????

That's right.

> But I am not able to get the decoded image properly. I am sure that I am
> reading the correct values from the file. is there any necessity of some
> kind of swapping????

Perhaps a description of what you are incorrectly getting might help. Access
violation? Weird data? R-B swapped data? Some corrupted lines?

> I am getting the correct decoded image in the case of little endian files
> having the same properties. What could be the reason???

And a code snippet might also help us to spot the problem.

Would you be using the TIFF file format if a) your neighbour wasn't able to read
it properly and b) on top of that, wasted 10 bytes or so for every 8bit color
value? This is exactly the situation with the HTML mail you post. Its format is
horrible, it doesn't work very well for everyone, and it's this incredibly
bloat. A plain text version is an included MIME part, but that part is
**different** from the HTML part, in that it contains doubled newlines. Please
post only plain text messages to mailing lists.


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
