2 .\" Copyright (c) 2012, Tom Lane <tgl@sss.pgh.pa.us>
4 .\" Permission to use, copy, modify, distribute, and sell this software and
5 .\" its documentation for any purpose is hereby granted without fee, provided
6 .\" that (i) the above copyright notices and this permission notice appear in
7 .\" all copies of the software and related documentation, and (ii) the names of
8 .\" Sam Leffler and Silicon Graphics may not be used in any advertising or
9 .\" publicity relating to the software without the specific, prior written
10 .\" permission of Sam Leffler and Silicon Graphics.
12 .\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
13 .\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
14 .\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
16 .\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
17 .\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
18 .\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
19 .\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
20 .\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
24 .TH TIFFFieldReadCount 3TIFF "July 26, 2012" "libtiff"
26 TIFFFieldReadCount \- Get number of values to be read from field
28 .B "#include <tiffio.h>"
30 .BI "int TIFFFieldReadCount(const TIFFField* " fip ")"
32 .BR TIFFFieldReadCount
33 returns the number of values available to be read from the specified
34 TIFF field; that is, the number of arguments that should be supplied to
36 For most field types this is a small positive integer, typically 1 or 2,
37 but there are some special values:
40 indicates that a variable number of values is possible; then, a
43 argument and a pointer
45 argument must be supplied to
53 argument must have type
57 indicates that the number of arguments is equal to the image's
58 number of samples per pixel.
61 is a field information pointer previously returned by
63 .BR TIFFFieldWithTag ,
65 .BR TIFFFieldWithName .
69 .BR TIFFFieldReadCount
75 Libtiff library home page:
76 .BR http://www.remotesensing.org/libtiff/