AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.09.05 18:14 "[Tiff] read in whole tiff file", by Pushkar Pradhan
2003.09.10 02:25 "[Tiff] read in whole tiff file", by Pushkar Pradhan
2003.09.10 07:03 "[Tiff] read in whole tiff file", by Andrey Kiselev
2003.09.10 13:04 "[Tiff] read in whole tiff file", by Frank Warmerdam
2003.09.10 13:20 "[Tiff] read in whole tiff file", by Tom Kacvinsky
2003.09.10 17:51 "[Tiff] read in whole tiff file", by Pushkar Pradhan
2003.09.10 18:36 "[Tiff] read in whole tiff file", by Phillip Crews

2003.09.10 07:03 "[Tiff] read in whole tiff file", by Andrey Kiselev

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