Return-Path: <tiff-bounces@remotesensing.org>
Received: from inav006.isp.belgacom.be (inav006.isp.belgacom.be [195.238.2.75])
        by mailst035.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id i9VJiwKw026941
        for <joris.at.lebbeke@skynet.be>; Sun, 31 Oct 2004 20:44:58 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from inas007.isp.belgacom.be (localhost [127.0.0.1])
        by inav006.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id i9VJitHj004871
        for <joris.at.lebbeke@skynet.be>; Sun, 31 Oct 2004 20:44:55 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from inmx012.isp.belgacom.be (inmx012.isp.belgacom.be [195.238.3.90])
        by inas007.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id i9VJimKZ023364
        for <joris.at.lebbeke@skynet.be>; Sun, 31 Oct 2004 20:44:51 +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 inmx012.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id i9VJian3013160
        for <joris.at.lebbeke@skynet.be>; Sun, 31 Oct 2004 20:44:38 +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 E73B04304C1; Sun, 31 Oct 2004 14:44:17 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from ns3.dataware-bi.net (user-13.pl107450.fiber.net [209.90.80.13])
	by xserve.flids.com (Postfix) with ESMTP id E87B8430497
	for <tiff@remotesensing.org>; Sun, 31 Oct 2004 14:44:15 -0500 (EST)
Received: from [209.90.80.221] (user-221.pl101216.fiber.net [209.90.80.221])
	by ns3.dataware-bi.net (8.12.11/8.12.11) with ESMTP id i9VJnIxB030852; 
	Sun, 31 Oct 2004 17:49:22 -0200
Message-ID: <41853FEB.9090408@antunes.eti.br>
Date: Sun, 31 Oct 2004 12:41:31 -0700
From: "C.F. Scheidecker Antunes" <nando@antunes.eti.br>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803
X-Accept-Language: pt-br, en-us, en
MIME-Version: 1.0
To: Gerben Vos <Gerben@ZyLAB.COM>
Subject: Re: [Tiff] Help with tiff file
References: <E576857BCF49794A91D55F1964FD862344EEC2@zynlms01.ZyLAB.WAN>
In-Reply-To: <E576857BCF49794A91D55F1964FD862344EEC2@zynlms01.ZyLAB.WAN>
X-yoursite-MailScanner-Information: Please contact the ISP for more information
X-yoursite-MailScanner: Found to be clean
X-yoursite-MailScanner-SpamCheck: not spam (whitelisted),
	SpamAssassin (score=-4.361, required 6, BAYES_00 -4.90,
	HTML_MESSAGE 0.10, HTML_TITLE_EMPTY 0.12, MIME_HTML_ONLY 0.32)
X-MailScanner-From: nando@antunes.eti.br
Cc: tiff@remotesensing.org
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="===============45637585377188061=="
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: ade5f0f57d80f366fe9a6ab94dc9c8b9

--===============45637585377188061==
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks Gerben,<br>
<br>
What would be a good hex editor for this task under Unix/Linux?<br>
<br>
<br>
<br>
Gerben Vos wrote:
<blockquote
 cite="midE576857BCF49794A91D55F1964FD862344EEC2@zynlms01.ZyLAB.WAN"
 type="cite">
  <pre wrap="">C.F.,

  </pre>
  <blockquote type="cite">
    <pre wrap="">Yes, this is the complet tiffinfo.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Hmm... maybe the images were put together in one file in a non-standard
way. Just an idea (a pretty wild guess, really): you could try to load
the file into a binary editor and search if the TIFF file signature
is present elsewhere in the file. The TIFF file signature is either
"II" followed by 2A 00 hexadecimal, or "MM" followed by 00 2A
hexadecimal. This is then followed by 4 bytes containing a file
offset to a TIFF directory (probably to the very next byte).
You can then use "tiffinfo -o offset" to view that TIFF directory.

If my guess is right and this is indeed the case, you would need
to write special tool to decode this file. Maybe there is an index
somewhere indicating at which offsets the TIFFs start.

  </pre>
  <blockquote type="cite">
    <pre wrap="">What I want to be sue is wether a 2748x2028 TIFF can be of 
size 150mb.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
No way. Even uncompressed it would only be 700K, but G4-compressed like
your image it would probably be something like 50K.

  </pre>
  <blockquote type="cite">
    <pre wrap="">How can I be sure of the number of pages in a TIFF file?
That is, how can I know for sure that it only has one page?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
tiffinfo (which you used) and tiffdump do this very well. I'm not sure
if they list subdirectories (via the SubIFD tag), though. Hmm... looking
at the source, for tiffinfo this depends on whether you have compiled
libtiff with SUBIFD_SUPPORT or not. tiffdump should always list them.

Cheers,
					Gerben Vos.
_______________________________________________
Tiff mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Tiff@remotesensing.org">Tiff@remotesensing.org</a>
<a class="moz-txt-link-freetext" href="http://xserve.flids.com/mailman/listinfo/tiff">http://xserve.flids.com/mailman/listinfo/tiff</a>




  </pre>
</blockquote>
</body>
</html>

--===============45637585377188061==
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

--===============45637585377188061==--
