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
- http://www.libtiff.org/libtiff.html#Version
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.
Regards
Pete
Memphis Team
Tel: (020 756)7 2449
Chat: suggitpe