2002.07.30 08:28 "RE: How to read number of pages for multipage TIFF", by Pete Suggitt
There is a nice idiom on lbtiff website
This scrols through the directories, not the most efficient way of doing it
Or you could grab the TIFF header and read all the offsets in it which will tell you the number of pages in the TIFF.
Tel: (020 756)7 2449