Sponsor:

Your company here, and a link to your site. Click to find out more.

TIFFFieldWriteCount.3tiff - Man Page

get number of values to be written to field

Synopsis

#include <tiffio.h>

int TIFFFieldWriteCount(const TIFFField *fip)

Description

TIFFFieldWriteCount() returns the number of values to be written into the specified TIFF field; that is, the number of arguments that should be supplied to TIFFSetField(). For most field types this is a small positive integer, typically 1 or 2, but there are some special values:

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

For most field types, TIFFFieldWriteCount() returns the same value as TIFFFieldReadCount(), but there are some exceptions.

Return Values

TIFFFieldWriteCount() returns an integer.

See Also

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

Author

LibTIFF contributors

Info

Sep 08, 2023 4.6 LibTIFF