Return-Path: <tiff-bounces@remotesensing.org>
Received: from infbav003.isp.belgacom.be (infbav003.isp.belgacom.be [195.238.2.84])
        by mailst034.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id i9IMP5GG026103
        for <joris.at.lebbeke@skynet.be>; Tue, 19 Oct 2004 00:25:05 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from inav010.isp.belgacom.be (inav010.isp.belgacom.be [195.238.3.53])
        by infbav003.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-FALLBACK-2.32) with ESMTP id i9IMO0No009467
        for <joris.at.lebbeke@skynet.be>; Tue, 19 Oct 2004 00:24:00 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from inas008.isp.belgacom.be (localhost [127.0.0.1])
        by inav010.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id i9IMNpI5023621
        for <joris.at.lebbeke@skynet.be>; Tue, 19 Oct 2004 00:23:51 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from inmx014.isp.belgacom.be (inmx014.isp.belgacom.be [195.238.2.217])
        by inas008.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id i9IMNjgl000643
        for <joris.at.lebbeke@skynet.be>; Tue, 19 Oct 2004 00:23:45 +0200
        (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 inmx014.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id i9IMNbu0024771
        for <joris.at.lebbeke@skynet.be>; Tue, 19 Oct 2004 00:23:39 +0200
        (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 BD37E3CC9FA; Mon, 18 Oct 2004 18:23:20 -0400 (EDT)
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 8B8AF3CC9D7
	for <tiff@remotesensing.org>; Mon, 18 Oct 2004 18:23:18 -0400 (EDT)
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 i9IMSBcf024863; 
	Mon, 18 Oct 2004 20:28:12 -0200
Message-ID: <417441CB.2010002@antunes.eti.br>
Date: Mon, 18 Oct 2004 16:20:59 -0600
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: Andrey Kiselev <dron@ak4719.spb.edu>, tiff@remotesensing.org
Subject: Re: [Tiff] Help with tiff file
X-Priority: 1 (Highest)
References: <41730168.3020106@antunes.eti.br>
	<20041018184845.GD11451@ak4719.spb.edu>
In-Reply-To: <20041018184845.GD11451@ak4719.spb.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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=-2.383, required 6, BAYES_00 -4.90,
	PRIORITY_NO_NAME 1.21, X_PRIORITY_HIGH 1.30)
X-MailScanner-From: nando@antunes.eti.br
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: 4b009e924490fca8725d9171d08d19a4

Hi Andrey,

Thanks for the info.

Yes, this is the complet tiffinfo.

What I want to be sue is wether a 2748x2028 TIFF can be of size 150mb. It is
a file tha contains a simple engine drawing among exploded parts one.
I've used GIMP 2.0 with my linux desktop and I do not seem to see more than
one layer.

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?

Would you know any place with sample code for libtiff?
I would like to write a C app to extract extra pages in case there are 
more than one.

Thanks,

C.F.

Andrey Kiselev wrote:

>On Sun, Oct 17, 2004 at 05:34:00PM -0600, C.F. Scheidecker Antunes wrote:
>  
>
>>I have an old CDrom with a database and a parts catalog from the
>>company I work with. This CD has a file called ilustrac.dat which has
>>aproximately 150 megabytes (it is big) and it seems to be a multipage
>>tiif file. If I try to open it with gimp or any other image viewer I
>>can only see one image.
>>    
>>
>
>GIMP is able to read multipage TIFFs. Pages will be shown as a layers.
>
>  
>
>>Off course, this image which is simply parts drawings cannot take 150
>>megabytes. I cannot see the other images. I wonder how could I access
>>the other images and save them separately.
>>    
>>
>
>libtiff contains the tiffsplit utility. It does exactly what you want:
>makes a bunch of single pages form the big multipage file.
>
>  
>
>>If I run identify within Linux I get:
>>
>>identify ilustrac.dat
>>ilustrac.dat TIFF 2748x2028+0+0 PseudoClass 2c 8-bit 150.5mb 0.170u 0:01
>>
>>Tiff info gives me:
>>
>>TIFF Directory at offset 0x8
>>Subfile Type: (0 = 0x0)
>>Image Width: 2748 Image Length: 2028
>>Resolution: 200, 200 pixels/inch
>>Bits/Sample: 1
>>Compression Scheme: CCITT Group 4
>>Photometric Interpretation: min-is-white
>>FillOrder: lsb-to-msb
>>Artist: "1992 ACCUSOFT INC, ALL RIGHTS RESERVED"
>>Date & Time: "11-24-1992"
>>Orientation: row 0 top, col 0 lhs
>>Samples/Pixel: 1
>>Rows/Strip: 2028
>>Planar Configuration: single image plane
>>    
>>
>
>Is it complete tiffinfo output? tiffinfo should print such report for
>each directory (page) in the TIFF.
>
>						Andrey
>
>  
>
_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
