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 V. Kiselev
Home phone: +7 812 5274898 ICQ# 26871517