Return-Path: <tiff-bounces@remotesensing.org>
Received: from inav012.isp.belgacom.be (inav012.isp.belgacom.be [195.238.3.55])
        by mailst034.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id i9JAYhpt027726
        for <joris.at.lebbeke@skynet.be>; Tue, 19 Oct 2004 12:34:43 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from inas006.isp.belgacom.be (localhost [127.0.0.1])
        by inav012.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id i9JAYM1B012272
        for <joris.at.lebbeke@skynet.be>; Tue, 19 Oct 2004 12:34:22 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from inmx011.isp.belgacom.be (inmx011.isp.belgacom.be [195.238.3.50])
        by inas006.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id i9JAYF8X028533
        for <joris.at.lebbeke@skynet.be>; Tue, 19 Oct 2004 12:34:20 +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 inmx011.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id i9JAY9oC000818
        for <joris.at.lebbeke@skynet.be>; Tue, 19 Oct 2004 12:34:10 +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 488533CF35A; Tue, 19 Oct 2004 06:33:49 -0400 (EDT)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from wip-ectls-mx3.wipro.com (wip-ectls-mx3.wipro.com
	[164.164.31.23])
	by xserve.flids.com (Postfix) with ESMTP id C26C33CF334
	for <tiff@remotesensing.org>; Tue, 19 Oct 2004 06:33:45 -0400 (EDT)
Received: from wip-ectls-mx3.wipro.com (localhost.localdomain [127.0.0.1])
	by localhost (Postfix) with ESMTP id C39B922416D;
	Tue, 19 Oct 2004 16:03:42 +0530 (IST)
Received: from blr-ec-bh2.wipro.com (blr-ec-bh2.wipro.com [10.200.50.92])
	by wip-ectls-mx3.wipro.com (Postfix) with ESMTP id B5FDF22415C;
	Tue, 19 Oct 2004 16:03:42 +0530 (IST)
Received: from blr-ec-msg02.wipro.com ([10.200.51.99]) by blr-ec-bh2.wipro.com
	with Microsoft SMTPSVC(5.0.2195.6713); 
	Tue, 19 Oct 2004 16:02:39 +0530
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [Tiff] Help with tiff file
Date: Tue, 19 Oct 2004 16:02:38 +0530
Message-ID: <BDEF0AEADC16304F937C39A2E830E12EDC1743@blr-ec-msg02.wipro.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Tiff] Help with tiff file
Thread-Index: AcS1YR12aXgi9GAFTb+g7qPFWa7ypAAZhbaQ
From: <vipin.aravind@wipro.com>
To: <nando@antunes.eti.br>, <tiff@remotesensing.org>
X-OriginalArrivalTime: 19 Oct 2004 10:32:39.0024 (UTC)
	FILETIME=[F4E86700:01C4B5C6]
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: ce0217bea0463dcc2dbaac3d90d0eec8



What compression is used in tiff matters the size? Is it no compression?


-----Original Message-----
From: tiff-bounces@remotesensing.org
[mailto:tiff-bounces@remotesensing.org] On Behalf Of C.F. Scheidecker
Antunes
Sent: Tuesday, October 19, 2004 3:51 AM
To: Andrey Kiselev; tiff@remotesensing.org
Subject: Re: [Tiff] Help with tiff file
Importance: High


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=0D
more than one.

Thanks,

C.F.

Andrey Kiselev wrote:

>On Sun, Oct 17, 2004 at 05:34:00PM -0600, C.F. Scheidecker Antunes=0D
>wrote:
> =0D
>
>>I have an old CDrom with a database and a parts catalog from the=0D
>>company I work with. This CD has a file called ilustrac.dat which has=0D
>>aproximately 150 megabytes (it is big) and it seems to be a multipage=0D
>>tiif file. If I try to open it with gimp or any other image viewer I=0D
>>can only see one image.
>>   =0D
>>
>
>GIMP is able to read multipage TIFFs. Pages will be shown as a layers.
>
> =0D
>
>>Off course, this image which is simply parts drawings cannot take 150=0D
>>megabytes. I cannot see the other images. I wonder how could I access=0D
>>the other images and save them separately.
>>   =0D
>>
>
>libtiff contains the tiffsplit utility. It does exactly what you want:=0D
>makes a bunch of single pages form the big multipage file.
>
> =0D
>
>>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=0D
>>0:01
>>
>>Tiff info gives me:
>>
>>TIFF Directory at offset 0x8
>>Subfile Type: (0 =3D 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
>>   =0D
>>
>
>Is it complete tiffinfo output? tiffinfo should print such report for=0D
>each directory (page) in the TIFF.
>
>						Andrey
>
> =0D
>
_______________________________________________
Tiff mailing list
Tiff@remotesensing.org http://xserve.flids.com/mailman/listinfo/tiff



Confidentiality Notice=0D

The information contained in this electronic message and any attachments to=
 this message are intended
for the exclusive use of the addressee(s) and may contain confidential or=
 privileged information. If
you are not the intended recipient, please notify the sender at Wipro or=
 Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.
_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
