1TIFFFieldPassCount(3TIFF) TIFFFieldPassCount(3TIFF)
2
3
4
6 TIFFFieldPassCount - Get whether to pass a count to TIFFGet/SetField
7
9 #include <tiffio.h>
10
11 int TIFFFieldPassCount(const TIFFField* fip)
12
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 when TIFFFieldRead‐
21 Count reports TIFF_VARIABLE2, and of type uint16 otherwise. (This dis‐
22 tinction is critical for use of TIFFGetField, but normally not so for
23 use of TIFFSetField.)
24
26 TIFFFieldPassCount returns an integer that is always 1 (true) or 0
27 (false).
28
30 libtiff(3TIFF),
31
32 Libtiff library home page: http://www.simplesystems.org/libtiff/
33
34
35
36libtiff July 26, 2012 TIFFFieldPassCount(3TIFF)