AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2002.07.29 18:58 "How to read number of pages for multipage TIFF", by Eugene Feiguelman
2002.07.30 08:28 "RE: How to read number of pages for multipage TIFF", by Pete Suggitt
2002.08.16 07:39 "Re: How to read number of pages for multipage TIFF", by Andreas R. Kleinert

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