TIFFFieldTag.3tiff - Man Page

get TIFF field tag value from field information

Synopsis

#include <tiffio.h>

uint32_t TIFFFieldTag(const TIFFField *fip)

Description

TIFFFieldTag() returns the numeric tag value for a TIFF field. This can be compared to various constants exported by the libtiff header files, such as TIFFTAG_IMAGEWIDTH.

fip is a field information pointer previously returned by TIFFFindField(), TIFFFieldWithTag(), or TIFFFieldWithName().

Return Values

TIFFFieldTag() returns an integer tag value.

See Also

TIFFFieldDataType (3tiff), TIFFFieldName (3tiff), TIFFFieldPassCount (3tiff), TIFFFieldQuery (3tiff), TIFFFieldReadCount (3tiff), TIFFFieldWriteCount (3tiff), libtiff (3tiff)

Author

LibTIFF contributors

Info

Sep 08, 2023 4.6 LibTIFF