Get tiff data type from field information
#include <tiffio.h>
TIFFDataType TIFFFieldDataType(const TIFFField* fip)
TIFFFieldDataType returns the data type stored in a TIFF field.
fip is a field information pointer previously returned by TIFFFindField, TIFFFieldWithTag, or TIFFFieldWithName.
TIFFFieldDataType returns a member of the enum type TIFFDataType.
libtiff(3TIFF),
Libtiff library home page: http://www.remotesensing.org/libtiff/