AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.12.22 17:15 "[Tiff] delphi libtiff application", by Marzio De Biasi
2005.12.22 18:31 "Re: [Tiff] delphi libtiff application", by Joris

2005.12.22 18:31 "Re: [Tiff] delphi libtiff application", by Joris

Marzio,

In none. A TIFF file is a linked list of IFDs (= pages, more or less). The scope of a tag is the IFD it's in. No tag is therefore allowed to make a statement about another IFD, or about the file as a whole, and therefore a number-of-pages tag is not logically possible. You can, however, scan through the list, and count as you go.

each page)?

For this too, you need to read LibTiff docs.

See http://www.remotesensing.org/libtiff/libtiff.html#Dirs and further down that page. Also recommended to make a bookmark/favorite of http://www.remotesensing.org/libtiff/man/index.html.

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html