Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-k.b-one.net (mx-k.one.com [91.198.169.58])
	by mail9.b-one.net (Postfix) with ESMTP id C720740013D
	for <info@awaresystems.be>; Wed, 17 Jun 2009 00:14:21 +0200 (CEST)
X-Virus-Scanned: by one.com
X-Spam-Score: 0.001
X-Spam-Level: 
X-Spam-Status: No, score=0.001 tagged_above=0 required=6
	tests=[HTML_MESSAGE=0.001]
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-k.b-one.net (Postfix) with ESMTP id 32252C220B1
	for <info@awaresystems.be>; Wed, 17 Jun 2009 00:14:20 +0200 (CEST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 5495D1D18E897;
	Tue, 16 Jun 2009 17:13:02 -0500 (EST)
Received: from web111813.mail.gq1.yahoo.com (web111813.mail.gq1.yahoo.com
	[67.195.23.122])
	by lists.maptools.org (Postfix) with SMTP id 0635B1D18B13A
	for <tiff@lists.maptools.org>; Tue, 16 Jun 2009 16:50:58 -0500 (EST)
Received: (qmail 93674 invoked by uid 60001); 16 Jun 2009 21:50:57 -0000
Message-ID: <229053.91718.qm@web111813.mail.gq1.yahoo.com>
X-YMail-OSG: YJT7_h0VM1mpJEfe.2X..UhAEJkGA13LscHurA0ZW9KvVhtzmH2Z7p4Uo6FPdMkYNfMDymyHKgVSMHOeei0H.Jx56p1ODi546bPqeg_UF0ZnRf_ubt9h4SYWL7XbRQiWit40ht8iY5ga7Dw8NTcIaCjwQYa6dQ4SxWJwsWyGNmUzaAFb3Ns59zxCJ1xomSfKzIZP6xCO.Al9tpqkvfXtGBqYrCADYenZRFkcc8W_5.S.xOrSCjDhbEdB6FRdRh190B676DYDn1cFG5smGA--
Received: from [87.155.152.2] by web111813.mail.gq1.yahoo.com via HTTP;
	Tue, 16 Jun 2009 14:50:56 PDT
X-Mailer: YahooMailClassic/5.4.12 YahooMailWebService/0.7.289.15
Date: Tue, 16 Jun 2009 14:50:56 -0700 (PDT)
From: Keshab Neupane <neupane.keshab@yahoo.com>
To: TIFF <tiff@lists.maptools.org>, Chris Cox <ccox@adobe.com>
MIME-Version: 1.0
Subject: Re: [Tiff] Tiff 16 bit and 32 bit images + some more questions
	about tiff file format
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0817132105=="
Mime-version: 1.0
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org


--===============0817132105==
Content-Type: multipart/alternative; boundary="0-829717620-1245189056=:91718"


--0-829717620-1245189056=:91718
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi,

=0A=0ABilevel images only need 1 bit per pixel.
=0ALarger values make no sense for bilevel images =E2=80=93 I think you hav=
e made a mistake in parsing those files.=C2=A0Here, what I get from tiffinf=
o...please note that these are not normal tiff images but geotiff images...=
.
=0A
=0ATIFF Directory at offset 0x8 (8)
=0A=C2=A0 Image Width: 2160 Image Length: 900
=0A=C2=A0 Bits/Sample: 16
=0A=C2=A0 Sample Format: unsigned integer
=0A=C2=A0 Compression Scheme: None
=0A=C2=A0 Photometric Interpretation: min-is-black
=0A=C2=A0 Samples/Pixel: 1
=0A=C2=A0 Rows/Strip: 1
=0A=C2=A0 Planar Configuration: single image plane=20
=0A=3D=3D> bps =3D 16, but bi-level images ??
=0A
=0A=C2=A0TIFF Directory at offset 0x8 (8)
=0A=C2=A0 Image Width: 2160 Image Length: 900
=0A=C2=A0 Bits/Sample: 16
=0A=C2=A0 Sample Format: signed integer
=0A=C2=A0 Compression Scheme: None
=0A=C2=A0 Photometric Interpretation: min-is-black
=0A=C2=A0 Samples/Pixel: 1
=0A=C2=A0 Rows/Strip: 1
=0A=C2=A0 Planar Configuration: single image plane=20
=0A=3D=3D> bps =3D 16, but signed integer sample format, and bi-level image=
s ??

=0ATIFF Directory at offset 0xac074 (704628) (why the offset isn't at 8)
=C2=A0Image Width: 719 Image Length: 245
=0A=C2=A0 Bits/Sample: 32
=0A=C2=A0 Sample Format: IEEE floating point
=0A=C2=A0 Compression Scheme: None
=0A=C2=A0 Photometric Interpretation: min-is-black
=0A=C2=A0 Samples/Pixel: 1
=0A=C2=A0 Rows/Strip: 2
=0A=C2=A0 Planar Configuration: single image plane=20
=0A=3D=3D> bps =3D 32, but bi-level-images and floating point sample format
=0A
This is what made me confused. Thanks to Chris and Bob for your support.
I just started playing with tiff files, definitely a long way to go. :)

Cheers,
Keshab
=0A=0A=0A      
--0-829717620-1245189056=:91718
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<table cellspacing=3D"0" cellpadding=3D"0" border=3D"0" ><tr><td valign=3D"=
top" style=3D"font: inherit;">Hi,<br><br>=0A<div class=3D"gmail_quote"><blo=
ckquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204,=
 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><font face=3D"My=
riad Pro"><span style=3D"font-size: 10pt;">=0ABilevel images only need 1 bi=
t per pixel.<br>=0ALarger values make no sense for bilevel images =E2=80=93=
 I think you have made a mistake in parsing those files.</span></font></div=
></blockquote><div>&nbsp;</div><div>Here, what I get from tiffinfo...please=
 note that these are not normal tiff images but geotiff images....<br>=0A<b=
r>=0ATIFF Directory at offset 0x8 (8)<br>=0A&nbsp; Image Width: 2160 Image =
Length: 900<br>=0A<b>&nbsp; Bits/Sample: 16</b><br>=0A&nbsp; Sample Format:=
 unsigned integer<br>=0A&nbsp; Compression Scheme: None<br>=0A&nbsp;<b> Pho=
tometric Interpretation: min-is-black</b><br>=0A&nbsp; Samples/Pixel: 1<br>=
=0A&nbsp; Rows/Strip: 1<br>=0A&nbsp; Planar Configuration: single image pla=
ne <br>=0A=3D=3D&gt; bps =3D 16, but bi-level images ??<br>=0A<br>=0A&nbsp;=
TIFF Directory at offset 0x8 (8)<br>=0A&nbsp; Image Width: 2160 Image Lengt=
h: 900<br>=0A<b>&nbsp; Bits/Sample: 16</b><br>=0A<b>&nbsp; Sample Format: s=
igned integer</b><br>=0A&nbsp; Compression Scheme: None<br>=0A&nbsp;<b> Pho=
tometric Interpretation: min-is-black</b><br>=0A&nbsp; Samples/Pixel: 1<br>=
=0A&nbsp; Rows/Strip: 1<br>=0A&nbsp; Planar Configuration: single image pla=
ne <br>=0A=3D=3D&gt; bps =3D 16, but signed integer sample format, and bi-l=
evel images ??<br><br>=0ATIFF Directory at offset 0xac074 (704628) (why the=
 offset isn't at 8)<br>&nbsp;Image Width: 719 Image Length: 245<br>=0A<b>&n=
bsp; Bits/Sample: 32</b><br>=0A<b>&nbsp; Sample Format: IEEE floating point=
</b><br>=0A&nbsp; Compression Scheme: None<br>=0A<b>&nbsp; Photometric Inte=
rpretation: min-is-black</b><br>=0A&nbsp; Samples/Pixel: 1<br>=0A&nbsp; Row=
s/Strip: 2<br>=0A&nbsp; Planar Configuration: single image plane <br>=0A=3D=
=3D&gt; bps =3D 32, but bi-level-images and floating point sample format<br=
>=0A<br>This is what made me confused. Thanks to Chris and Bob for your sup=
port.<br>I just started playing with tiff files, definitely a long way to g=
o. :)<br><br>Cheers,<br>Keshab<br></div></div></td></tr></table><br>=0A=0A =
     
--0-829717620-1245189056=:91718--

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

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
--===============0817132105==--
