table of contents
- bookworm 4.5.0-6+deb12u1
- testing 4.5.1+git230720-5
- unstable 4.5.1+git230720-5
- experimental 4.6.0-2
TIFFFIELDPASSCOUNT(3tiff) | LibTIFF | TIFFFIELDPASSCOUNT(3tiff) |
NAME¶
TIFFFieldPassCount - get whether to pass a count to TIFFGetField/TIFFSetField
SYNOPSIS¶
#include <tiffio.h>
DESCRIPTION¶
TIFFFieldPassCount() returns true (nonzero) if TIFFGetField() and TIFFSetField() expect a count value to be passed before the actual data pointer.
fip is a field information pointer previously returned by TIFFFindField(), TIFFFieldWithTag(), TIFFFieldWithName().
When a count is required, it will be of type uint32_t if TIFFFieldReadCount() reports TIFF_VARIABLE2, and of type uint16_t otherwise. (This distinction is critical for use of TIFFGetField(), but normally not so for use of TIFFSetField().)
RETURN VALUES¶
TIFFFieldPassCount() returns an integer that is always 1 (true) or 0 (false).
SEE ALSO¶
libtiff
AUTHOR¶
LibTIFF contributors
COPYRIGHT¶
1988-2023, LibTIFF contributors
November 23, 2023 | 4.5 |