From: dron@ak4719.spb.edu (Andrey Kiselev)
Date: Wed, 10 Sep 2003 11:03:02 +0400
Subject: [Tiff] read in whole tiff file
In-Reply-To: <MJEBIBGMCDKIGEHPDECCMEAKCBAA.pushkar@erc.msstate.edu>
References: <MJEBIBGMCDKIGEHPDECCMEAKCBAA.pushkar@erc.msstate.edu>
Message-ID: <20030910070302.GB15325@ak4719.spb.edu>

On Tue, Sep 09, 2003 at 09:25:56PM -0500, Pushkar Pradhan wrote:
> Is there a way to read in the complete TIFF file in one READ call? I
> need to do this. Thanks,

It is impossible, because image stored as a collection of separate
stripes (or tiles) and we have a table of stripe offsets in the header. One read
will be suitable in the case of one big stripe only, but this is rare
case and used for small images.

Also you can read the whole file in memory and start parsing after that.
In this case you need to play with TIFFClientOpen() function.

						Andrey

-- 
Andrey V. Kiselev
Home phone:  +7 812 5274898  ICQ# 26871517

