2005.06.21 09:17 "[Tiff] Tiff-Tags and Delphi7 / X and Y RESOLUTION / PHOTOMETRIC", by Matthias Lach

2005.07.21 16:13 "Re: [Tiff] question of understanding / D7 and Var-Types", by Joris Van Damme

Chris,

is there a place where i can get the list of tags supported by LibTiff and the parameters (types and count) that TIFFGetField and TIFFSetField expect?

what Frank writes below makes me think that looking at tiff_dir.c and checking what the va_arg calls pull off the stack isn't going to be 100% accurate.

You are of course aware of

http://www.remotesensing.org/libtiff/man/TIFFGetField.3tiff.html

http://www.remotesensing.org/libtiff/man/TIFFSetField.3tiff.html

Those contain lists of tags and arguments. If I understand Frank correctly (but I'm not sure I do), then, being a C programmer, those lists should be accurate. Delphi programmers need to supply a variable of type Double to TIFFSetField whenever the list says 'float', but, bearing that in mind, the list on that page should be useful for them too.

Or am I still not understanding correctly?

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