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 j1F7LWtv000720
        for <joris.at.lebbeke@skynet.be>; Tue, 15 Feb 2005 08:21:32 +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 j1F7L9It029430
        for <joris.at.lebbeke@skynet.be>; Tue, 15 Feb 2005 08:21:13 +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 BA18A7B1FAF; Tue, 15 Feb 2005 02:20:34 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from ngate.noida.hcltech.com (unknown [202.54.110.230])
	by xserve.flids.com (Postfix) with ESMTP id D1FB27B1F83
	for <tiff@remotesensing.org>; Tue, 15 Feb 2005 02:20:30 -0500 (EST)
Received: from exch-03.noida.hcltech.com ([204.160.254.29])
	by ngate.noida.hcltech.com (8.12.5/8.12.5) with ESMTP id j1F7Vpte003937
	for <tiff@remotesensing.org>; Tue, 15 Feb 2005 13:02:19 +0530
Received: by exch-03.noida.hcltech.com with Internet Mail Service (5.5.2653.19)
	id <1VM5XNA2>; Tue, 15 Feb 2005 12:47:04 +0530
Message-ID: <267988DEACEC5A4D86D5FCD780313FBB04750DA4@exch-03.noida.hcltech.com>
From: "Chinku Miandad M, Noida" <chinkum@noida.hcltech.com>
To: tiff@remotesensing.org
Date: Tue, 15 Feb 2005 12:46:54 +0530
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Subject: [Tiff] Regarding the decoding of RGB TIFF images.
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>
Content-Type: multipart/mixed; boundary="===============44188592848537978=="
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: 8ae477dcdeab432fc79cbb903c9d146d

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--===============44188592848537978==
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C5132E.53C4870E"

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C5132E.53C4870E
Content-Type: text/plain

Hi all,

           

           I am doing the decoding of uncompressed RGB TIFF images. 

        

             The image is of a big endian type. The value of the
"SamplesPerPixel" tag is 3 and the "BitsPerSample" value is 8, 8, 8. The
value of the "Planar Configuration" tag is also 1. 

 

This means that the image data is stored in the chunky format, i.e. RGB RGB
RGB RGB RGB.............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???? 

 

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

 

 

 

with regards,

 

Chinku Miandad M

Member Technical Staff

HCL technologies

A-5, Sector 24

Noida, Uttar Pradesh - 201301

 <http://www.hcltechnologies.com> http://www.hcltechnologies.com

Office Phone: +91-120-2411502, Ext.: 2341

mobile - 9871340518

 

 


------_=_NextPart_001_01C5132E.53C4870E
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hi all,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;I
am doing the decoding of uncompressed RGB TIFF images. =
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;
The image is of a big endian type. The value of the
&#8220;SamplesPerPixel&#8221; tag is 3 and the =
&#8220;BitsPerSample&#8221;
value is 8, 8, 8. The value of the &#8220;Planar Configuration&#8221; =
tag is
also 1. <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>This means that the image data is stored in the =
chunky
format, i.e. RGB RGB RGB RGB RGB&#8230;&#8230;&#8230;&#8230;.right???? =
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>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???? <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;I am getting the correct decoded image in the =
case of
little endian files having the same properties. What could be the =
reason???<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><b><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial;font-weight:bold'>with regards,<o:p></o:p></span></fon=
t></b></p>

<p class=3DMsoNormal><b><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial;font-weight:bold'>&nbsp;<o:p></o:p></span></font></b><=
/p>

<p class=3DMsoNormal><b><font size=3D3 color=3Dblack face=3DArial><span
style=3D'font-size:12.0pt;font-family:Arial;color:black;font-weight:bold=
'>Chinku
Miandad M<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal><b><font size=3D3 color=3Dblack face=3DArial><span
style=3D'font-size:12.0pt;font-family:Arial;color:black;font-weight:bold=
'>Member
Technical Staff<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal><b><font size=3D3 color=3Dblack face=3DArial><span
style=3D'font-size:12.0pt;font-family:Arial;color:black;font-weight:bold=
'>HCL
technologies<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal><b><font size=3D3 color=3Dblack face=3DArial><span
style=3D'font-size:12.0pt;font-family:Arial;color:black;font-weight:bold=
'>A-5,
Sector 24<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal><b><font size=3D3 color=3Dblack face=3DArial><span
style=3D'font-size:12.0pt;font-family:Arial;color:black;font-weight:bold=
'>Noida,
Uttar Pradesh - 201301<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal><b><font size=3D3 color=3Dblack face=3DArial><span
style=3D'font-size:12.0pt;font-family:Arial;color:black;font-weight:bold=
'><a
href=3D"http://www.hcltechnologies.com"><font color=3Dblack><span =
style=3D'color:
black'>http://www.hcltechnologies.com</span></font></a><o:p></o:p></span=
></font></b></p>

<p class=3DMsoNormal><b><font size=3D3 color=3Dblack face=3DArial><span
style=3D'font-size:12.0pt;font-family:Arial;color:black;font-weight:bold=
'>Office
Phone: +91-120-2411502, Ext.: 2341<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal><b><font size=3D3 color=3Dblack face=3DArial><span
style=3D'font-size:12.0pt;font-family:Arial;color:black;font-weight:bold=
'>mobile
- 9871340518<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal><b><i><font size=3D3 color=3Dblack face=3D"Times =
New Roman"><span
style=3D'font-size:12.0pt;color:black;font-weight:bold;font-style:italic=
'>&nbsp;<o:p></o:p></span></font></i></b></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C5132E.53C4870E--

--===============44188592848537978==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============44188592848537978==--
