2006.09.28 14:08 "Re: [Tiff] Is libtiff Handles EXIF IFD??", by Joris Van Damme
Some functionality got added to LibTiff not too long ago, that could help you do that. Unfortunately, it is not yet documented. If I remember correctly, Andrey did one or two posts about it in this mailing list, and I think one had an example code snippet attached to it.
But I can't seem to find it.
But I did. It's only when I saw your message in plain text after sending my reply that I noted you mentioning "TIFFReadCustomDirectory" (that's what you get from posting incredibly ugly HTML - you're overloading my visual processor with non-uniform, non-standard, multiple-font badly formatted uglyness and I can't be bothered to actually read), and that of course is the ultimate search term. There's a source code snippet here:
Joris Van Damme
Download your free TIFF tag viewer for windows here: