1TIFFFieldReadCount(3TIFF)                            TIFFFieldReadCount(3TIFF)
2
3
4

NAME

6       TIFFFieldReadCount - Get number of values to be read from field
7

SYNOPSIS

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

DESCRIPTION

14       TIFFFieldReadCount  returns  the  number of values available to be read
15       from the specified TIFF field; that is, the number  of  arguments  that
16       should  be  supplied  to  TIFFGetField.  For most field types this is a
17       small positive integer, typically 1 or 2, but there  are  some  special
18       values:
19       TIFF_VARIABLE  indicates  that a variable number of values is possible;
20       then, a uint16_t count argument and a pointer  data  argument  must  be
21       supplied to TIFFGetField.
22       TIFF_VARIABLE2 is the same as TIFF_VARIABLE except that the count argu‐
23       ment must have type uint32_t.
24       TIFF_SPP indicates that the number of arguments is equal to the image's
25       number of samples per pixel.
26
27       fip  is  a  field  information pointer previously returned by TIFFFind‐
28       Field, TIFFFieldWithTag, or TIFFFieldWithName.
29

RETURN VALUES

31       TIFFFieldReadCount returns an integer.
32

SEE ALSO

34       libtiff(3TIFF),
35
36       Libtiff library home page: http://www.simplesystems.org/libtiff/
37
38
39
40libtiff                          July 26, 2012       TIFFFieldReadCount(3TIFF)
Impressum