1TIFFFieldPassCount(3TIFF)                            TIFFFieldPassCount(3TIFF)
2
3
4

NAME

6       TIFFFieldPassCount - Get whether to pass a count to TIFFGet/SetField
7

SYNOPSIS

9       #include <tiffio.h>
10
11       int TIFFFieldPassCount(const TIFFField* fip)
12

DESCRIPTION

14       TIFFFieldPassCount  returns true (nonzero) if TIFFGetField and TIFFSet‐
15       Field expect a count value to be passed before the actual data pointer.
16
17       fip is a field information pointer  previously  returned  by  TIFFFind‐
18       Field, TIFFFieldWithTag, or TIFFFieldWithName.
19
20       When  a  count is required, it will be of type uint32_t when TIFFField‐
21       ReadCount reports  TIFF_VARIABLE2,  and  of  type  uint16_t  otherwise.
22       (This distinction is critical for use of TIFFGetField, but normally not
23       so for use of TIFFSetField.)
24

RETURN VALUES

26       TIFFFieldPassCount returns an integer that is  always  1  (true)  or  0
27       (false).
28

SEE ALSO

30       libtiff(3TIFF),
31
32       Libtiff library home page: http://www.simplesystems.org/libtiff/
33
34
35
36libtiff                          July 26, 2012       TIFFFieldPassCount(3TIFF)
Impressum